[webkit-changes] [WebKit/WebKit] 966f0c: [CoordinatedGraphics] Do not pause the threaded co...
Carlos Garcia Campos
noreply at github.com
Fri Jan 10 02:43:54 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 966f0cc786c07cfca5adf38eb7e5481d58f5eaab
https://github.com/WebKit/WebKit/commit/966f0cc786c07cfca5adf38eb7e5481d58f5eaab
Author: Carlos Garcia Campos <cgarcia at igalia.com>
Date: 2025-01-10 (Fri, 10 Jan 2025)
Changed paths:
M Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.cpp
M Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.cpp
M Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.h
M Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHostTextureMapper.cpp
M Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHostTextureMapper.h
Log Message:
-----------
[CoordinatedGraphics] Do not pause the threaded compositor when the layer tree state is frozen
https://bugs.webkit.org/show_bug.cgi?id=285586
Reviewed by Alejandro G. Castro.
We should only make sure we don't flush layers while the tree state is
frozen. Also rename LayerTreeHost::setLayerFlushSchedulingEnabled() as
LayerTreeHost::setLayerTreeStateIsFrozen() to make clear that we only
disable layer flush when the layer tree state is frozen.
* Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.cpp:
(WebKit::DrawingAreaCoordinatedGraphics::setLayerTreeStateIsFrozen):
(WebKit::DrawingAreaCoordinatedGraphics::enterAcceleratedCompositingMode):
* Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.cpp:
(WebKit::LayerTreeHost::setLayerTreeStateIsFrozen):
(WebKit::LayerTreeHost::scheduleLayerFlush):
(WebKit::LayerTreeHost::flushLayers):
(WebKit::LayerTreeHost::setLayerFlushSchedulingEnabled): Deleted.
* Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.h:
* Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHostTextureMapper.cpp:
(WebKit::LayerTreeHost::setLayerTreeStateIsFrozen):
(WebKit::LayerTreeHost::setLayerFlushSchedulingEnabled): Deleted.
* Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHostTextureMapper.h:
Canonical link: https://commits.webkit.org/288691@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list