RESOLVED FIXED 187175
[WPE] Some frames are dropped when using rAF to animate an element
https://bugs.webkit.org/show_bug.cgi?id=187175
Summary [WPE] Some frames are dropped when using rAF to animate an element
Miguel Gomez
Reported 2018-06-29 05:00:26 PDT
Created attachment 343907 [details] testcase There's a certain situation using rAF to animate an alement where the sequence of frames rendered is not the right, which causes the animation to be flickery. I'm attaching a testcase where the problem can be reproduced. The problem is that instead of rendering the frames in the appropriate order 1-2-3-4-5-6 we're rendering 1-1-2-4-4-5-7-7 and this happens because we're triggering schedules in the ThreadedCompositor that should wait for a pending layerFlush and it's not.
Attachments
testcase (1.14 KB, text/html)
2018-06-29 05:00 PDT, Miguel Gomez
no flags
Patch (2.92 KB, patch)
2018-06-29 05:43 PDT, Miguel Gomez
no flags
Miguel Gomez
Comment 1 2018-06-29 05:43:17 PDT
WebKit Commit Bot
Comment 2 2018-06-29 06:52:30 PDT
Comment on attachment 343910 [details] Patch Clearing flags on attachment: 343910 Committed r233353: <https://trac.webkit.org/changeset/233353>
WebKit Commit Bot
Comment 3 2018-06-29 06:52:32 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.