Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 73ff41556bf5839fed2782dafd0248007737f117
https://github.com/WebKit/WebKit/commit/73ff41556bf5839fed2782dafd0248007737f117
Author: Carlos Garcia Campos <[email protected]>
Date: 2025-12-09 (Tue, 09 Dec 2025)
Changed paths:
M Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.cpp
Log Message:
-----------
[GTK][WPE] Always use run loop observer to schedule rendering updates
https://bugs.webkit.org/show_bug.cgi?id=303834
Reviewed by Nikolas Zimmermann.
Now that we use a run loop observer for the did composite notification,
we can just schedule the rendering update from didComposite, instead of
directly calling updateRendering(). This ensures update renderings are
always scheduled the same way. This optimization was important when we
used timers, because scheduling another timer from did composite meant
that the rendering update could happen after other previous scheudled
tasks or timers. With the run loop observer we know for sure that the
rendering update will be the next thing to be called, so the only
difference is that now we wake up the loop again.
Canonical link: https://commits.webkit.org/304174@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications