Revert of Simplify IOSurface CoreAnimation code: Part 2 (patchset #13 id:240001 of...
commit9cde44e2ac2ae2933ab67cbfef13bc75dfa16502
authoraiolos <aiolos@chromium.org>
Wed, 3 Sep 2014 18:19:42 +0000 (3 11:19 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 3 Sep 2014 18:39:45 +0000 (3 18:39 +0000)
tree04af74369cfaeb6cacdf99a89665af1742db00bf
parent2955e423a8d8c0c25af89585ff21394fc77ccb9e
Revert of Simplify IOSurface CoreAnimation code: Part 2 (patchset #13 id:240001 of https://codereview.chromium.org/490393002/)

Reason for revert:
crbug.com/410360 (Browser crashing on IOSurfaceLayer release in tab_switching.typical_25)

Original issue's description:
> Simplify IOSurface CoreAnimation code: Part 2
>
> It isn't necessary to mess around with sharing CGLContextObjs anymore,
> they were necessary only to share data between the frame subscriber
> and the RenderWidgetHostViewMac. Just give each IOSurfaceLayer its
> own CGLContextObj, and draw using immediate mode (using shaders
> resulted in an increase in startup time).
>
> BUG=314190
> TBR=pfeldman@chromium.org
> R=kbr@chromium.org
>
> Committed: https://chromium.googlesource.com/chromium/src/+/a83898264f64ad83bb98139e5e0dcb2c77db1997

TBR=kbr@chromium.org,ccameron@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=314190

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

Cr-Commit-Position: refs/heads/master@{#293174}
content/browser/compositor/browser_compositor_view_private_mac.mm
content/browser/compositor/io_surface_layer_mac.h
content/browser/compositor/io_surface_layer_mac.mm
content/browser/devtools/renderer_overrides_handler_browsertest.cc