DescriptionMac: Fix janky YouTube animations
Based on experimentation, it appears that calling setNeedsDisplay or
displayIfNeeded on a CAOpenGLLayer which has the isAsynchronous
property set, will result in the animation getting screwed up. In
particular, calls to canDrawInCGLContext stop occurring.
This was working in M35 and M36 because, entirely accidentally, we
were calling setAsynchronous:NO before most instances of
setNeedsDisplay and displayIfNeeded. In r272469, these calls were
removed, and resulting in the janky animation.
Add calls to setAsynchronous:NO before all instances of calling
displayIfNeeded, and almost all instances of calling setNeedsDisplay.
BUG=395827
TEST=manual, automated tests in progress
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284916
Patch Set 1 #
Total comments: 4
Messages
Total messages: 6 (0 generated)
|