Make remote CoreAnimation GPU-switching aware
commit0707401c21b531d870f924c715949a2aca53394f
authorccameron <ccameron@chromium.org>
Fri, 10 Oct 2014 22:34:19 +0000 (10 15:34 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 10 Oct 2014 22:34:36 +0000 (10 22:34 +0000)
treeb31bdd8100668502c222c3fb254f32d8ae5526b4
parentdc1615b4060ed2a879ee74e0a7c8c4a811b22ec6
Make remote CoreAnimation GPU-switching aware

Send the CGL renderer ID for the context being used by the
CAOpenGLLayer.

Tested with WebGL apps, gfxCardStatus switching.

BUG=312462

Review URL: https://codereview.chromium.org/647053002

Cr-Commit-Position: refs/heads/master@{#299204}
content/common/gpu/image_transport_surface_calayer_mac.mm
content/common/gpu/image_transport_surface_fbo_mac.h
content/common/gpu/image_transport_surface_fbo_mac.mm