Branch: refs/heads/webkitglib/2.42 Home: https://github.com/WebKit/WebKit Commit: 54eb108128256d04616cf518d19285a45a0515a9 https://github.com/WebKit/WebKit/commit/54eb108128256d04616cf518d19285a45a0515a9 Author: Miguel Gomez <mago...@igalia.com> Date: 2023-12-14 (Thu, 14 Dec 2023)
Changed paths: M Source/WebCore/platform/graphics/cairo/CairoUtilities.cpp M Source/WebCore/platform/graphics/cairo/CairoUtilities.h M Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp M Source/WebCore/platform/image-decoders/cairo/ImageBackingStoreCairo.cpp Log Message: ----------- Cherry-pick 272009@main (fcd69249c493). https://bugs.webkit.org/show_bug.cgi?id=265990 [GTK][WPE] Random incorrect image displayed as the background of a div https://bugs.webkit.org/show_bug.cgi?id=265990 Reviewed by Žan Doberšek. Add an unique ID to cairo surfaces created in ImageBackingStoreCairo. This unique ID allows us to differentiate when the cairo surface that's backing an image has changed, so we are sure that we're not using an incorrect value cached inside some ImageBackingStore. * Source/WebCore/platform/graphics/cairo/CairoUtilities.cpp: (WebCore::attachSurfaceUniqueID): (WebCore::getSurfaceUniqueID): * Source/WebCore/platform/graphics/cairo/CairoUtilities.h: * Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp: (WebCore::CoordinatedGraphicsLayer::flushCompositingStateForThisLayerOnly): * Source/WebCore/platform/image-decoders/cairo/ImageBackingStoreCairo.cpp: (WebCore::ImageBackingStore::image const): Canonical link: https://commits.webkit.org/272009@main Canonical link: https://commits.webkit.org/266719.202@webkitglib/2.42 _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes