Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 3deb4217571cff34029b6f4bf3f8eaf3e2e3a58d https://github.com/WebKit/WebKit/commit/3deb4217571cff34029b6f4bf3f8eaf3e2e3a58d Author: Carlos Garcia Campos <cgar...@igalia.com> Date: 2024-06-10 (Mon, 10 Jun 2024)
Changed paths: M Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp Log Message: ----------- [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