Bug 309888

Summary: [GTK][WPE] Non-composited mode renders more than 1 frame per vblank
Product: WebKit Reporter: Pawel Lampe <plampe>
Component: WPE WebKitAssignee: Pawel Lampe <plampe>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs-noreply
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Pawel Lampe
Reported 2026-03-13 03:57:42 PDT
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
Pawel Lampe
Comment 1 2026-03-13 04:10:30 PDT
EWS
Comment 2 2026-03-13 05:23:19 PDT
Committed 309199@main (24e3f79f3812): <https://commits.webkit.org/309199@main> Reviewed commits have been landed. Closing PR #60551 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.