Chromium Code Reviews
DescriptionMac: Only allow NSOpenGLContext displaying on the main display
Perhaps indicating that we're entering a losing struggle, using an layer
backed NSOpenGLContext with IOSurfaces on a non-primary display results
in terrible jank (it appears to be due to paging the IOSurface ... where
to and from is unclear).
Add support to dynamically switch between this and the CAOpenGLLayer
with IOSurface mode (which doesn't exhibit this problem).
Also add support for querying the current CGLRendererID (since I was
hoping this to solve the problem ... it didn't).
BUG=496484
Committed: https://crrev.com/347a77b6fac3ce9d1aa2d2b86bb4ce14583aa7a1
Cr-Commit-Position: refs/heads/master@{#333824}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Add GPU switch #
Messages
Total messages: 9 (3 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||