Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e0bbc340f0fb92ac80122e58ddf2effccac12775
https://github.com/WebKit/WebKit/commit/e0bbc340f0fb92ac80122e58ddf2effccac12775
Author: Mike Wyrzykowski <[email protected]>
Date: 2026-01-21 (Wed, 21 Jan 2026)
Changed paths:
M Source/WebCore/platform/graphics/DestinationColorSpace.cpp
M Source/WebCore/platform/graphics/DestinationColorSpace.h
Log Message:
-----------
Add linear display P3 support to DestinationColorSpace
https://bugs.webkit.org/show_bug.cgi?id=305950
rdar://168597729
Reviewed by Simon Fraser.
Support for these color spaces was already added in
https://bugs.webkit.org/show_bug.cgi?id=298163
we were just missing named constants in DestinationColorSpace for
extendedLinearSRGB,
linearDisplayP3, and extendedLinearDisplayP3.
Adding the named constants allows the usage of these color spaces on
underlying IOSurfaces.
* Source/WebCore/platform/graphics/DestinationColorSpace.cpp:
(WebCore::DestinationColorSpace::ExtendedLinearSRGB):
(WebCore::DestinationColorSpace::LinearDisplayP3):
(WebCore::DestinationColorSpace::ExtendedLinearDisplayP3):
* Source/WebCore/platform/graphics/DestinationColorSpace.h:
Canonical link: https://commits.webkit.org/305978@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications