[webkit-changes] [WebKit/WebKit] 8702d7: [CoordinatedGraphics] The layer backing store migh...
Carlos Garcia Campos
noreply at github.com
Fri Jan 31 01:20:33 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8702d7ebc9db4a191a88db87e679f62b4cb33438
https://github.com/WebKit/WebKit/commit/8702d7ebc9db4a191a88db87e679f62b4cb33438
Author: Carlos Garcia Campos <cgarcia at igalia.com>
Date: 2025-01-31 (Fri, 31 Jan 2025)
Changed paths:
M Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayer.cpp
M Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayer.h
Log Message:
-----------
[CoordinatedGraphics] The layer backing store might not change after being set to nullptr
https://bugs.webkit.org/show_bug.cgi?id=286742
Reviewed by Miguel Gomez.
This is because CoordinatedPlatformLayer::flushCompositingState returns
early if there aren't pending changes and m_backingStoreProxy is
nullptr. So, if backing store is reset and nothing else changes we don't
change the target layer. Add BackingStore change to make sure there are
always pending changes when the backing store changes.
* Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayer.cpp:
(WebCore::CoordinatedPlatformLayer::updateContents):
(WebCore::CoordinatedPlatformLayer::flushCompositingState):
* Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayer.h:
Canonical link: https://commits.webkit.org/289602@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