Revert of Mac: Add layer-backed NSView+NSOpenGLContext rendering path (patchset #3 id:40001 of https://codereview.chromium.org/
1154903007/)
Reason for revert:
Broke the GPU Mac FYI build:
http://build.chromium.org/p/chromium.gpu.fyi/builders/GPU%20Mac%20Builder/builds/32453
Original issue's description:
> Mac: Add layer-backed NSView+NSOpenGLContext rendering path
>
> An undocumented feature of CAOpenGLLayer is that it will drain your
> battery. Add a path that renders content via a NSOpenGLContext (which
> has an undocumented feature of not draining your battery as much).
>
> Keep all of this behind a --enable-ns-gl-surfaces flag.
>
> Because a NSOpenGLContext needs to be attached to an NSView, this
> implies that we will have to use the cross-process IOSurface currently
> in use by 10.6 through 10.8.
>
> For the moment, have one NSOpenGLContext per window, and disable
> eviction of IOSurfaces in this mode to keep the implementation simple.
>
> This version is enough to employ for reliable perf testing. It still needs
> robustness work (how and when to do eviction, recycling and context
> sharing if needed, etc).
>
> BUG=496484
>
> Committed: https://crrev.com/
8bed35093799d2c9b9156c0ef83edc6c8f0b03c1
> Cr-Commit-Position: refs/heads/master@{#332843}
TBR=avi@chromium.org,ccameron@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=496484
Review URL: https://codereview.chromium.org/
1162113006
Cr-Commit-Position: refs/heads/master@{#332852}