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}