Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: bb9d048ddb6ccce717ab32f383bf3060a6b4d640
https://github.com/WebKit/WebKit/commit/bb9d048ddb6ccce717ab32f383bf3060a6b4d640
Author: Carlos Garcia Campos <[email protected]>
Date: 2025-01-17 (Fri, 17 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
Log Message:
-----------
[CoordinatedGraphics] Swap contents buffer earlier when flushing layers
https://bugs.webkit.org/show_bug.cgi?id=286137
Reviewed by Miguel Gomez.
We currently update the contents buffer after all layers have committed
changes, but we can do it earlier, when the contents are set or marked
for display.
*
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayer.cpp:
(WebCore::CoordinatedPlatformLayer::setContentsBuffer):
(WebCore::CoordinatedPlatformLayer::setContentsBufferNeedsDisplay):
(WebCore::CoordinatedPlatformLayer::updateContents):
*
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayer.h:
*
Source/WebCore/platform/graphics/texmap/coordinated/GraphicsLayerCoordinated.cpp:
(WebCore::GraphicsLayerCoordinated::setContentsNeedsDisplay):
(WebCore::GraphicsLayerCoordinated::setContentsToPlatformLayer):
(WebCore::GraphicsLayerCoordinated::commitLayerChanges):
Canonical link: https://commits.webkit.org/289052@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes