DescriptionFix for 300ms scroll lag on 2013 Mac Pros once idle for 10seconds
The 2013 Mac Pros have a dual discrete GPU setup. If the GPU process is
idle for 10 seconds or more, OSX transfers the OpenGL context on to the
second, "offline" GPU. This means when we try to use it again to display
on a real display, OSX must first switch the context back. This would
trigger a ~300ms delay on the first glFlush() call to occur after the
idle threshold was reached.
To fix, detect a dual, discrete GPU setup and never set the
kCGLPFAAllowOfflineRenderers flag in the pixel format for this case.
BUG=380026
Patch Set 1 #Patch Set 2 : Use GPU workaround #Patch Set 3 : remove tracing #
Messages
Total messages: 8 (2 generated)
|