Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 68a8f633acf15a1f3324965dc57d5f00ba63dcfe
      
https://github.com/WebKit/WebKit/commit/68a8f633acf15a1f3324965dc57d5f00ba63dcfe
  Author: Carlos Garcia Campos <[email protected]>
  Date:   2026-08-26 (Wed, 26 Aug 2026)

  Changed paths:
    M Source/WebCore/platform/graphics/skia/SkiaBackingStore.cpp

  Log Message:
  -----------
  [GTK][WPE] Skia compositor: tile cached SkImage should be re-created for 
every update
https://bugs.webkit.org/show_bug.cgi?id=322587

Reviewed by Nikolas Zimmermann.

We create a new SkImage every time the tile texture is created, but
SkImage is supposed to be immutable, in particular the
SkImages::BorrowTextureFrom documentations says: "The backend texture
must stay valid and unchanged until textureReleaseProc is called". So,
even if the texture id is the same, every time the contents are updated
we should reset the cached image to be regenerated. We should also use a
textureReleaseProc to ensure the texture is valid.

* Source/WebCore/platform/graphics/skia/SkiaBackingStore.cpp:
(WebCore::SkiaBackingStore::Tile::ensureTexture):
(WebCore::SkiaBackingStore::Tile::image const):

Canonical link: https://commits.webkit.org/319866@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to