DescriptionFix assorted issues with remote CoreAnimation
These issues came up while running for a few days with the
flag --enable-remote-core-animation.
Fix flashes of old frames by hooking up the DiscardBackbuffer (which
happens when being made non-visible) to re-set the CAContext and
CALayer (so the browser gets a new one with new content for the next
frame).
Add support for disabling vsync by using setNeedsDisplay and
displayIfNeeded pairs to draw.
Add a timeout to un-block the command buffer if the display callback
for a frame never happens, to prevent hangs (we have to do the same
hack for the non-remote CALayer in the browser process, for the
IOSurface path).
Add a ScopedSetGLToRealGLApi structure to ensure that we are talking
to the real GL API while in the CoreAnimation callback.
BUG=312462
Patch Set 1 #Patch Set 2 : Rename vars & fix GL API issue #
Total comments: 2
Patch Set 3 : Space #Patch Set 4 : Clean up timer logic #Messages
Total messages: 8 (0 generated)
|