Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 61fbfd476eb45e4b035cde5841ed697644b4ae51
https://github.com/WebKit/WebKit/commit/61fbfd476eb45e4b035cde5841ed697644b4ae51
Author: Fujii Hironori <[email protected]>
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
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes