Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GTK][WPE] AsyncScrolling: notify scrolling tree about display refres…
…h through ThreadedCompositor client https://bugs.webkit.org/show_bug.cgi?id=246940 Reviewed by Žan Doberšek. The threaded compositor is already attached to a WebPage so we can notify the associated scrolling tree directly instead of iterating all scrolling trees in the process. Also accessing the WebProcess and EventDipatcher from ThreadedCompositor was a layering violation. * Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp: (WebKit::ThreadedCompositor::sceneUpdateFinished): * Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.h: * Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.cpp: (WebKit::LayerTreeHost::displayDidRefresh): * Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.h: Canonical link: https://commits.webkit.org/255913@main
- Loading branch information
1 parent
1610fc7
commit 8bc5773
Showing
4 changed files
with
20 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters