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

  Changed paths:
    M Source/WebCore/platform/graphics/skia/SkiaCompositingLayer.cpp
    M Source/WebCore/platform/graphics/skia/SkiaCompositingLayer.h
    M 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayer.cpp

  Log Message:
  -----------
  [GTK][WPE] Skia compositor: do not early release hole punch buffers on layer 
invalidation
https://bugs.webkit.org/show_bug.cgi?id=320888

Reviewed by Nikolas Zimmermann.

We only do it for texture mapper. With skia compositor the committed
buffer is owned by SkiaCompositingLayer that is also going to be
destroyed on invalidate, so we need to transfer the ownership of the
hole punch buffer to CoordinatedPlatformLayer.

* Source/WebCore/platform/graphics/skia/SkiaCompositingLayer.h:
* 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayer.cpp:
(WebCore::CoordinatedPlatformLayer::invalidateTarget):
(WebCore::shouldReleaseBuffer):
* Source/WebCore/platform/graphics/skia/SkiaCompositingLayer.cpp:
(WebCore::SkiaCompositingLayer::takeContentsBuffer):

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



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

Reply via email to