Bug 225237

Summary: Make destination color space enumeration match supported destination color spaces for the port
Product: WebKit Reporter: Sam Weinig <sam>
Component: PlatformAssignee: Sam Weinig <sam>
Status: RESOLVED FIXED    
Severity: Normal CC: benjamin, cdumez, changseok, cmarcelo, darin, dino, esprehn+autocc, ews-watchlist, fmalita, glenn, gyuyoung.kim, kondapallykalyan, pdr, sabouhallawa, sam, schenney, sergio, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 225140    
Attachments:
Description Flags
WIP
none
Patch none

Sam Weinig
Reported 2021-04-30 10:33:05 PDT
Currently, the destination color space enumeration doesn't match the supported destination color spaces for the port it is compiling on at least in the one case of CoreGraphics + Windows which does not support linear-srgb. We should be constrain the types to the supported set to make it clear what is happening at all call sites and prepare for world with more predefined destination color spaces that is coming soon.
Attachments
WIP (19.57 KB, patch)
2021-04-30 10:39 PDT, Sam Weinig
no flags
Patch (21.25 KB, patch)
2021-04-30 18:23 PDT, Sam Weinig
no flags
Sam Weinig
Comment 1 2021-04-30 10:39:20 PDT Comment hidden (obsolete)
Sam Weinig
Comment 2 2021-04-30 18:23:37 PDT
Simon Fraser (smfr)
Comment 3 2021-05-01 10:29:16 PDT
Comment on attachment 427478 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=427478&action=review > Source/WebCore/ChangeLog:13 > + the Apple Windows port. Now, the callers are responisble for dealing with a responisble
EWS
Comment 4 2021-05-01 11:06:16 PDT
Committed r276875 (237221@main): <https://commits.webkit.org/237221@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 427478 [details].
Radar WebKit Bug Importer
Comment 5 2021-05-01 11:07:15 PDT
Note You need to log in before you can comment on or make changes to this bug.