Ensure that CAOpenGLLayer uses the dGPU when appropriate.
It is necessary that the context created by copyCGLContextForPixelFormat have a pixel format compatible with the one created by copyCGLPixelFormatForDisplayMask. In particular, make copyCGLPixelFormatForDisplayMask create the CGL equivalent of the pixel format created in CompositingIOSurfaceContext. BUG=338925 Review URL: https://codereview.chromium.org/142413008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247925 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment