Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f878301fffa7b5ec870e60c44cd59d893f92408f
https://github.com/WebKit/WebKit/commit/f878301fffa7b5ec870e60c44cd59d893f92408f
Author: Alejandro G. Castro <[email protected]>
Date: 2026-08-02 (Sun, 02 Aug 2026)
Changed paths:
M Source/WebCore/platform/graphics/skia/SkiaCompositingLayer.cpp
Log Message:
-----------
[WPE][GTK] Skia compositor blends opaque contents buffers, wasting memory
bandwidth
https://bugs.webkit.org/show_bug.cgi?id=320745
Reviewed by Carlos Garcia Campos and Nikolas Zimmermann.
m_contentsOpaque only describes what the layer paints into its own tiles, so a
layer whose contents come from an opaque buffer like a WebGL canvas created with
alpha:false, an opaque video frame or an opaque image, are composited with
source-over and read the destination for every pixel adding read bandwidth
usage.
TextureMapper gets the same decision off the buffer flags.
Consider those flags too, restricted to layers with no backing store of their
own, since the flag says nothing about the opacity of the layer's own tiles.
* Source/WebCore/platform/graphics/skia/SkiaCompositingLayer.cpp:
(WebCore::SkiaCompositingLayer::paintContents):
Canonical link: https://commits.webkit.org/318402@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications