Revert of Mac Overlays: Make ImageTransportSurfaceOverlayMac observe GPU switches...
commitc5a90b73f387bfc1da0d4ce0464187984ef6531a
authorcbiesinger <cbiesinger@chromium.org>
Fri, 14 Aug 2015 01:46:15 +0000 (13 18:46 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 14 Aug 2015 01:46:43 +0000 (14 01:46 +0000)
tree9075efc16b1a7152bce8139003e9873abfaf122a
parent3292c773b65324ae627fb788c5dac23ea00251b4
Revert of Mac Overlays: Make ImageTransportSurfaceOverlayMac observe GPU switches (patchset #1 id:1 of https://codereview.chromium.org/1291703002/ )

Reason for revert:
Broke compile. http://build.chromium.org/p/chromium.webkit/builders/WebKit%20Mac10.9%20%28retina%29/builds/4403

Original issue's description:
> Mac Overlays: Make ImageTransportSurfaceOverlayMac observe GPU switches
>
> When the GPU switches, create a new OpenGL context, to see which GL
> renderer it uses. Whenever a context is made current to the surface,
> ensure that the context is using the appropriate renderer.
>
> Ideally, the GpuSwitchingManager should be able to tell the observers
> which GL renderer to use, but that is not currently wired up.
>
> BUG=519097
>
> Committed: https://crrev.com/0009e1ea4154c5a20fffa3cf47b0b29c23a6f7e2
> Cr-Commit-Position: refs/heads/master@{#343277}

TBR=tapted@chromium.org,ccameron@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=519097

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

Cr-Commit-Position: refs/heads/master@{#343315}
content/common/gpu/image_transport_surface_overlay_mac.h
content/common/gpu/image_transport_surface_overlay_mac.mm
ui/accelerated_widget_mac/io_surface_context.h