| Summary: | [WPE] Some frames are dropped when using rAF to animate an element | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Miguel Gomez <magomez> | ||||||
| Component: | WPE WebKit | Assignee: | Miguel Gomez <magomez> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | bugs-noreply, calvaris, commit-queue, zan | ||||||
| Priority: | P2 | ||||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
Created attachment 343910 [details]
Patch
Comment on attachment 343910 [details] Patch Clearing flags on attachment: 343910 Committed r233353: <https://trac.webkit.org/changeset/233353> All reviewed patches have been landed. Closing bug. |
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.