Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(173)

Issue 142413008: Ensure that CAOpenGLLayer uses the dGPU when appropriate. (Closed)

Created:
6 years, 10 months ago by ccameron
Modified:
6 years, 10 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, miu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@ca_1_nobackingstore
Visibility:
Public.

Description

Ensure that CAOpenGLLayer uses the dGPU when appropriate. It is necessary that the context created by copyCGLContextForPixelFormat have a pixel format compatible with the one created by copyCGLPixelFormatForDisplayMask. In particular, make copyCGLPixelFormatForDisplayMask create the CGL equivalent of the pixel format created in CompositingIOSurfaceContext. BUG=338925 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=247925

Patch Set 1 #

Patch Set 2 : Less whitespace #

Total comments: 2

Patch Set 3 : Fix variable name #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -2 lines) Patch
M content/browser/renderer_host/compositing_iosurface_layer_mac.mm View 1 2 2 chunks +32 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
ccameron
ptal. Thanks for the idea of looking at the WebKit source.
6 years, 10 months ago (2014-01-29 09:31:29 UTC) #1
ccameron
Adding thakis (kbr is OOO for a while).
6 years, 10 months ago (2014-01-30 00:28:09 UTC) #2
Nico
lgtm! https://codereview.chromium.org/142413008/diff/20001/content/browser/renderer_host/compositing_iosurface_layer_mac.mm File content/browser/renderer_host/compositing_iosurface_layer_mac.mm (right): https://codereview.chromium.org/142413008/diff/20001/content/browser/renderer_host/compositing_iosurface_layer_mac.mm#newcode76 content/browser/renderer_host/compositing_iosurface_layer_mac.mm:76: GLint npix = 0; nit: npix isn't very ...
6 years, 10 months ago (2014-01-30 01:56:23 UTC) #3
ccameron
Thanks! https://codereview.chromium.org/142413008/diff/20001/content/browser/renderer_host/compositing_iosurface_layer_mac.mm File content/browser/renderer_host/compositing_iosurface_layer_mac.mm (right): https://codereview.chromium.org/142413008/diff/20001/content/browser/renderer_host/compositing_iosurface_layer_mac.mm#newcode76 content/browser/renderer_host/compositing_iosurface_layer_mac.mm:76: GLint npix = 0; On 2014/01/30 01:56:23, Nico ...
6 years, 10 months ago (2014-01-30 06:37:29 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ccameron@chromium.org/142413008/40001
6 years, 10 months ago (2014-01-30 06:42:00 UTC) #5
commit-bot: I haz the power
Retried try job too often on android_dbg for step(s) slave_steps http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=android_dbg&number=144597
6 years, 10 months ago (2014-01-30 08:05:28 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ccameron@chromium.org/142413008/40001
6 years, 10 months ago (2014-01-30 08:08:38 UTC) #7
commit-bot: I haz the power
6 years, 10 months ago (2014-01-30 10:34:45 UTC) #8
Message was sent while issue was closed.
Change committed as 247925

Powered by Google App Engine
This is Rietveld 408576698