[webkit-changes] [WebKit/WebKit] 468a86: [CoordinatedGraphics] Do not destroy the backing s...
Carlos Garcia Campos
noreply at github.com
Wed Oct 23 22:45:26 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 468a86ceb5af63cc342558d9fdf23a2acf037b92
https://github.com/WebKit/WebKit/commit/468a86ceb5af63cc342558d9fdf23a2acf037b92
Author: Carlos Garcia Campos <cgarcia at igalia.com>
Date: 2024-10-23 (Wed, 23 Oct 2024)
Changed paths:
M Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedBackingStoreProxy.cpp
M Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedBackingStoreProxy.h
M Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp
Log Message:
-----------
[CoordinatedGraphics] Do not destroy the backing store proxy when scale changes
https://bugs.webkit.org/show_bug.cgi?id=281972
Reviewed by Miguel Gomez.
We can just set the new scale in the existing proxy and reset the geometry state.
* Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedBackingStoreProxy.cpp:
(WebCore::CoordinatedBackingStoreProxy::setContentsScale):
* Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedBackingStoreProxy.h:
* Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp:
(WebCore::CoordinatedGraphicsLayer::updateContentBuffers):
Canonical link: https://commits.webkit.org/285639@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