[webkit-changes] [WebKit/WebKit] 32763a: [CoordinatedGraphics] Do not force a repaint on th...
Carlos Garcia Campos
noreply at github.com
Fri Nov 3 07:19:14 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 32763a54190152c7428233c865ccf7dd82ad965b
https://github.com/WebKit/WebKit/commit/32763a54190152c7428233c865ccf7dd82ad965b
Author: Carlos Garcia Campos <cgarcia at igalia.com>
Date: 2023-11-03 (Fri, 03 Nov 2023)
Changed paths:
M Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.cpp
M Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.h
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
M Source/WebKit/WebProcess/WebPage/DrawingArea.h
Log Message:
-----------
[CoordinatedGraphics] Do not force a repaint on the first layer flush
https://bugs.webkit.org/show_bug.cgi?id=264150
Reviewed by Alejandro G. Castro.
LayerTreeHost::setShouldNotifyAfterNextScheduledLayerFlush() was used to
send the enter accelerated compositing message after the first layer
flush. But now that we are always sending the message right after the
drawing area is created we no longer need it.
* Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.cpp:
(WebKit::DrawingAreaCoordinatedGraphics::forceRepaint):
(WebKit::DrawingAreaCoordinatedGraphics::setRootCompositingLayer):
(WebKit::DrawingAreaCoordinatedGraphics::enterAcceleratedCompositingMode):
(WebKit::DrawingAreaCoordinatedGraphics::layerHostDidFlushLayers): Deleted.
* Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.h:
* Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.cpp:
(WebKit::LayerTreeHost::layerFlushTimerFired):
(WebKit::LayerTreeHost::setShouldNotifyAfterNextScheduledLayerFlush): Deleted.
* Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.h:
(WebKit::LayerTreeHost::setLayerFlushSchedulingEnabled):
(WebKit::LayerTreeHost::setShouldNotifyAfterNextScheduledLayerFlush): Deleted.
* Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHostTextureMapper.cpp:
(WebKit::LayerTreeHost::layerFlushTimerFired):
(WebKit::LayerTreeHost::setShouldNotifyAfterNextScheduledLayerFlush): Deleted.
* Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHostTextureMapper.h:
* Source/WebKit/WebProcess/WebPage/DrawingArea.h:
(WebKit::DrawingArea::layerHostDidFlushLayers): Deleted.
Canonical link: https://commits.webkit.org/270172@main
More information about the webkit-changes
mailing list