[webkit-changes] [WebKit/WebKit] c69700: [CoordinatedGraphics] Update backing store after l...
Carlos Garcia Campos
noreply at github.com
Mon Jan 20 01:12:17 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c697001dea589dc476c36ddf19275ddd378fb5ab
https://github.com/WebKit/WebKit/commit/c697001dea589dc476c36ddf19275ddd378fb5ab
Author: Carlos Garcia Campos <cgarcia at igalia.com>
Date: 2025-01-20 (Mon, 20 Jan 2025)
Changed paths:
M Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayer.cpp
M Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayer.h
M Source/WebCore/platform/graphics/texmap/coordinated/GraphicsLayerCoordinated.cpp
M Source/WebCore/platform/graphics/texmap/coordinated/GraphicsLayerCoordinated.h
Log Message:
-----------
[CoordinatedGraphics] Update backing store after layer flush
https://bugs.webkit.org/show_bug.cgi?id=286141
Reviewed by Miguel Gomez.
In 287731 at main I moved the update backing store to be done during the
layer flush with the idea of starting earlier and avoid another
iteration fo the layers, but it has the side effects of invert the order
in which the layers are painted. This patch splits updateContents()
again so that backing store is created during layer flush and updated
right after.
* Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayer.cpp:
(WebCore::CoordinatedPlatformLayer::updateBackingStore):
(WebCore::CoordinatedPlatformLayer::updateContents):
* Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayer.h:
* Source/WebCore/platform/graphics/texmap/coordinated/GraphicsLayerCoordinated.cpp:
(WebCore::GraphicsLayerCoordinated::flushCompositingState):
(WebCore::GraphicsLayerCoordinated::flushCompositingStateForThisLayerOnly):
(WebCore::GraphicsLayerCoordinated::commitLayerChanges):
(WebCore::GraphicsLayerCoordinated::recursiveCommitChanges):
(WebCore::GraphicsLayerCoordinated::updateBackingStoresIfNeeded):
(WebCore::GraphicsLayerCoordinated::updateBackingStoreIfNeeded):
(WebCore::GraphicsLayerCoordinated::updateContents): Deleted.
* Source/WebCore/platform/graphics/texmap/coordinated/GraphicsLayerCoordinated.h:
Canonical link: https://commits.webkit.org/289145@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