Branch: refs/heads/webkitglib/2.44 Home: https://github.com/WebKit/WebKit Commit: c213fe24b9ac216d0937de3a40b7dc2c25aa7cbe https://github.com/WebKit/WebKit/commit/c213fe24b9ac216d0937de3a40b7dc2c25aa7cbe Author: Carlos Garcia Campos <cgar...@igalia.com> Date: 2024-08-13 (Tue, 13 Aug 2024)
Changed paths: M Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp Log Message: ----------- Cherry-pick 279898@main (3deb4217571c). https://bugs.webkit.org/show_bug.cgi?id=260455 [Nicosia] Images with translate-Z get unloaded when out of view https://bugs.webkit.org/show_bug.cgi?id=271379 Reviewed by Miguel Gomez. We pass a nullptr image backing store to the compositor to indicate to use the current image when the layer is visible. When the layer becomes invisible, the layer contents is set to nullptr, but when it becomes visible again, we don't update the image backing store in the update, because the native image didn't change. When the layer becomes visible we always need to set the image backing store again to make sure the compositor updates the layer contents. * Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp: (WebCore::CoordinatedGraphicsLayer::flushCompositingStateForThisLayerOnly): Canonical link: https://commits.webkit.org/279898@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes