Bug 309888
| Summary: | [GTK][WPE] Non-composited mode renders more than 1 frame per vblank | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Pawel Lampe <plampe> |
| Component: | WPE WebKit | Assignee: | Pawel Lampe <plampe> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bugs-noreply |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Pawel Lampe
When main loop is busy for at least few vblanks, once it unblocks, it's possible that Non-composited frame renderer will draw 2 frames between vblank notifications. This is because vblank notifications may pile up on the event loop in web process and won't get drained immediately as non-composited renderer may immediately start rendering instead - just after processing a first vblank notification from the queue.
See: https://scony.github.io/web-examples/misc/stuttering-raf-loop.html
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Pawel Lampe
Pull request: https://github.com/WebKit/WebKit/pull/60551
EWS
Committed 309199@main (24e3f79f3812): <https://commits.webkit.org/309199@main>
Reviewed commits have been landed. Closing PR #60551 and removing active labels.