Branch: refs/heads/webkitglib/2.54
Home: https://github.com/WebKit/WebKit
Commit: 05dbe2ff3d9a207f0cae4169d844969b8919ac78
https://github.com/WebKit/WebKit/commit/05dbe2ff3d9a207f0cae4169d844969b8919ac78
Author: Carlos Garcia Campos <[email protected]>
Date: 2026-09-01 (Tue, 01 Sep 2026)
Changed paths:
M
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferRGB.cpp
M
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferVideo.cpp
Log Message:
-----------
Cherry-pick 320152@main (8c5edc89f9e9).
https://bugs.webkit.org/show_bug.cgi?id=322981
[GTK][WPE] Skia compositor: non accelerated videos have the RB colors
swapped
https://bugs.webkit.org/show_bug.cgi?id=322981
Reviewed by Nikolas Zimmermann.
We need to set the BitmapTexture::Flags::UseBGRALayout when allocating
the BitmapTexture and handle it in
CoordinatedPlatformLayerBufferRGB::skiaImage() like we do for the tiles.
*
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferRGB.cpp:
(WebCore::CoordinatedPlatformLayerBufferRGB::skiaImage):
*
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferVideo.cpp:
(WebCore::CoordinatedPlatformLayerBufferVideo::createBufferFromMappedFrameIfNeeded):
Canonical link: https://commits.webkit.org/320152@main
Canonical link: https://commits.webkit.org/317695.175@webkitglib/2.54
Commit: db1c24a7c00eee54f72568e4d9383fd364f28003
https://github.com/WebKit/WebKit/commit/db1c24a7c00eee54f72568e4d9383fd364f28003
Author: Carlos Garcia Campos <[email protected]>
Date: 2026-09-01 (Tue, 01 Sep 2026)
Changed paths:
M LayoutTests/TestExpectations
A LayoutTests/media/content/video-with-alpha-red.webm
A LayoutTests/media/video-with-alpha-premultiplied-expected.html
A LayoutTests/media/video-with-alpha-premultiplied.html
M LayoutTests/platform/glib/TestExpectations
M
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferRGB.cpp
Log Message:
-----------
Cherry-pick 320233@main (60cae7a061f9).
https://bugs.webkit.org/show_bug.cgi?id=322986
[GTK][WPE] Skia compositor: CoordinatedPlatformLayerBufferRGB should handle
TextureMapperFlags::ShouldPremultiply
https://bugs.webkit.org/show_bug.cgi?id=322986
Reviewed by Nikolas Zimmermann.
We are currently assuming that texture is always premultiplied. Use
kUnpremul_SkAlphaType when TextureMapperFlags::ShouldPremultiply is
present.
*
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferRGB.cpp:
(WebCore::CoordinatedPlatformLayerBufferRGB::skiaImage):
* LayoutTests/media/content/video-with-alpha-red.webm: Added.
* LayoutTests/media/video-with-alpha-premultiplied-expected.html: Added.
* LayoutTests/media/video-with-alpha-premultiplied.html: Added.
* LayoutTests/TestExpectations:
* LayoutTests/platform/glib/TestExpectations:
Canonical link: https://commits.webkit.org/320233@main
Canonical link: https://commits.webkit.org/317695.176@webkitglib/2.54
Compare: https://github.com/WebKit/WebKit/compare/fc46dd1d12b3...db1c24a7c00e
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications