[webkit-changes] [WebKit/WebKit] fcd692: [GTK][WPE] Random incorrect image displayed as the...
Miguel Gómez
noreply at github.com
Wed Dec 13 15:37:52 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: fcd69249c4936e186feea896bdfe27d9be97faab
https://github.com/WebKit/WebKit/commit/fcd69249c4936e186feea896bdfe27d9be97faab
Author: Miguel Gomez <magomez at igalia.com>
Date: 2023-12-13 (Wed, 13 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:
-----------
[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
More information about the webkit-changes
mailing list