[webkit-changes] [WebKit/WebKit] 61fbfd: [Skia] convertImagePixels: PixelFormat::BGRX8 support
Fujii Hironori
noreply at github.com
Mon Feb 3 11:54:03 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 61fbfd476eb45e4b035cde5841ed697644b4ae51
https://github.com/WebKit/WebKit/commit/61fbfd476eb45e4b035cde5841ed697644b4ae51
Author: Fujii Hironori <Hironori.Fujii at sony.com>
Date: 2025-02-03 (Mon, 03 Feb 2025)
Changed paths:
M Source/WebCore/platform/graphics/PixelBufferConversion.cpp
M Tools/TestWebKitAPI/Tests/WebCore/PixelBufferConversionTests.cpp
Log Message:
-----------
[Skia] convertImagePixels: PixelFormat::BGRX8 support
https://bugs.webkit.org/show_bug.cgi?id=286899
Reviewed by Carlos Garcia Campos and Sam Weinig.
convertImagePixels didn't support BGRX8 only for Skia port because
convertImagePixelsSkia doesn't support BGRX8. Added BGRX8 support to
Skia port by falling back to the common CPU code path.
"#if HAVE(IOSURFACE_RGB10)" guard in convertImagePixelsSkia was
useless because it's only for iOS family. Removed.
* Source/WebCore/platform/graphics/PixelBufferConversion.cpp:
(WebCore::convertImagePixels):
* Tools/TestWebKitAPI/Tests/WebCore/PixelBufferConversionTests.cpp:
(TestWebKitAPI::TEST(PixelBufferConversionTests, convertImagePixels)):
Canonical link: https://commits.webkit.org/289747@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list