Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: aa1cd6738768d9d77157ff02722cedf683a8330b
https://github.com/WebKit/WebKit/commit/aa1cd6738768d9d77157ff02722cedf683a8330b
Author: Carlos Garcia Campos <[email protected]>
Date: 2025-11-26 (Wed, 26 Nov 2025)
Changed paths:
M Source/WebCore/platform/graphics/skia/SkiaPaintingEngine.cpp
M Source/WebCore/platform/graphics/skia/SkiaPaintingEngine.h
M
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayer.cpp
M
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayer.h
M
Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/CoordinatedSceneState.cpp
M
Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/CoordinatedSceneState.h
M Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.cpp
M Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.h
M
Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHostPlayStation.h
M
Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/ThreadedCompositor.cpp
M Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/ThreadedCompositor.h
Log Message:
-----------
[GTK][WPE] Do not block while waiting for tiles in the threaded compositor
https://bugs.webkit.org/show_bug.cgi?id=303087
Reviewed by Nikolas Zimmermann and Miguel Gomez.
Ensure we don't schedule a composition until all pending tiles are done
instead of synchronously waiting for tiles during the composition.
CoordinatedSceneState now keeps track of the ongoing tile painting
operations. A new state WaitingForTiles is added to the compositor so
that if there are pending tiles when a rendering update composition is
requested we switch to the WaitingForTiles state. The compositor is
notified by LayerTreeHost every time the pending tiles change, so if we
were waiting for tiles and there are no more pending tiles we switch to
Schedule state and continue normally. This is the previous behavior, but
asynchronously waiting for the tiles instead. This will allow to process
other composition requests while waiting for tiles of a rendering
update request.
Canonical link: https://commits.webkit.org/303564@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications