Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b55ef6c140a60c2c8dde1df6294e310238fa4955
https://github.com/WebKit/WebKit/commit/b55ef6c140a60c2c8dde1df6294e310238fa4955
Author: Alejandro G. Castro <[email protected]>
Date: 2026-08-03 (Mon, 03 Aug 2026)
Changed paths:
M
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferSkiaImage.cpp
M
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferSkiaImage.h
Log Message:
-----------
[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
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications