Branch: refs/heads/webkitglib/2.54
Home: https://github.com/WebKit/WebKit
Commit: 72ac1e19ed2bbfddb188070f769c5507b8a7f2c9
https://github.com/WebKit/WebKit/commit/72ac1e19ed2bbfddb188070f769c5507b8a7f2c9
Author: Alejandro G. Castro <[email protected]>
Date: 2026-08-05 (Wed, 05 Aug 2026)
Changed paths:
M Source/WebCore/platform/graphics/skia/SkiaCompositingLayer.cpp
Log Message:
-----------
Cherry-pick 318402@main (f878301fffa7).
https://bugs.webkit.org/show_bug.cgi?id=320745
[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
Canonical link: https://commits.webkit.org/317695.50@webkitglib/2.54
Commit: f181b4623ce230bc2cf1cbf25b81b1bc9c529492
https://github.com/WebKit/WebKit/commit/f181b4623ce230bc2cf1cbf25b81b1bc9c529492
Author: Alejandro G. Castro <[email protected]>
Date: 2026-08-05 (Wed, 05 Aug 2026)
Changed paths:
M
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferSkiaImage.cpp
M
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferSkiaImage.h
Log Message:
-----------
Cherry-pick 318453@main (b55ef6c140a6).
https://bugs.webkit.org/show_bug.cgi?id=320895
[WPE][GTK] REGRESSION(318402@main): canvas and image layer contents
composited without blending
https://bugs.webkit.org/show_bug.cgi?id=320895
Reviewed by Carlos Garcia Campos.
Since 318402@main the Skia compositor decides whether a layer's contents
buffer needs blending from the buffer's TextureMapperFlags::ShouldBlend
flag. CoordinatedPlatformLayerBufferSkiaImage, the buffer type used for
accelerated 2D canvas contents and image backing stores on the Skia
compositor path, never set that flag. Set ShouldBlend from the SkImage
opacity when creating the buffer.
*
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferSkiaImage.cpp:
(WebCore::CoordinatedPlatformLayerBufferSkiaImage::create):
(WebCore::CoordinatedPlatformLayerBufferSkiaImage::CoordinatedPlatformLayerBufferSkiaImage):
*
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferSkiaImage.h:
Canonical link: https://commits.webkit.org/318453@main
Canonical link: https://commits.webkit.org/317695.51@webkitglib/2.54
Commit: a9958a534041c3aa53c17bcb8f664ec3adfa7fee
https://github.com/WebKit/WebKit/commit/a9958a534041c3aa53c17bcb8f664ec3adfa7fee
Author: Fujii Hironori <[email protected]>
Date: 2026-08-05 (Wed, 05 Aug 2026)
Changed paths:
M Source/cmake/OptionsWPE.cmake
Log Message:
-----------
Cherry-pick 318583@main (002fc6661049).
https://bugs.webkit.org/show_bug.cgi?id=320985
[CMake][WPE] Remove "find_package(Unifdef REQUIRED)" from OptionsWPE.cmake
https://bugs.webkit.org/show_bug.cgi?id=320985
Reviewed by Adrian Perez de Castro.
Even with USE_SYSTEM_UNIFDEF=0, WPE builds failed due to the missing system
`unifdef` command. 283695@main added the USE_SYSTEM_UNIFDEF option, and
moved
"find_package(Unifdef REQUIRED)" from OptionsGTK.cmake to
Source/CMakeLists.txt. Removed it from OptionsWPE.cmake too.
* Source/cmake/OptionsWPE.cmake:
Canonical link: https://commits.webkit.org/318583@main
Canonical link: https://commits.webkit.org/317695.52@webkitglib/2.54
Compare: https://github.com/WebKit/WebKit/compare/18428dc7a6d0...a9958a534041
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications