-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GTK] Remove the code to keep previous layer tree host alive
https://bugs.webkit.org/show_bug.cgi?id=261672 Reviewed by Alejandro G. Castro. This was used for the ondemand mode when we allowed to exit accelerated compositing mode, but now we force always compositing the first time we enter accelerated compositing mode. The only way to exit accelerated compositing is by setting the policy to never, in which case we don't want to keep the previous layer tree host since it's unlikely we enter it again soon. * Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.cpp: (WebKit::DrawingAreaCoordinatedGraphics::DrawingAreaCoordinatedGraphics): (WebKit::DrawingAreaCoordinatedGraphics::scroll): (WebKit::DrawingAreaCoordinatedGraphics::mainFrameContentSizeChanged): (WebKit::DrawingAreaCoordinatedGraphics::deviceOrPageScaleFactorChanged): (WebKit::DrawingAreaCoordinatedGraphics::didChangeViewportAttributes): (WebKit::DrawingAreaCoordinatedGraphics::attachViewOverlayGraphicsLayer): (WebKit::DrawingAreaCoordinatedGraphics::updateGeometry): (WebKit::DrawingAreaCoordinatedGraphics::enterAcceleratedCompositingMode): (WebKit::DrawingAreaCoordinatedGraphics::exitAcceleratedCompositingMode): (WebKit::DrawingAreaCoordinatedGraphics::discardPreviousLayerTreeHost): Deleted. * Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.h: * Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.cpp: (WebKit::LayerTreeHost::scrollNonCompositedContents): (WebKit::LayerTreeHost::sizeDidChange): (WebKit::LayerTreeHost::contentsSizeChanged): (WebKit::LayerTreeHost::didChangeViewportAttributes): (WebKit::LayerTreeHost::deviceOrPageScaleFactorChanged): (WebKit::LayerTreeHost::setIsDiscardable): Deleted. * Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.h: (WebKit::LayerTreeHost::didChangeViewportAttributes): (WebKit::LayerTreeHost::setIsDiscardable): Deleted. Canonical link: https://commits.webkit.org/269463@main
- Loading branch information
1 parent
e20b694
commit 825a7cc
Showing
4 changed files
with
16 additions
and
112 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