Bug 252382

Summary: Add the method GraphicsContext::colorSpace()
Product: WebKit Reporter: Said Abou-Hallawa <sabouhallawa>
Component: Layout and RenderingAssignee: Said Abou-Hallawa <sabouhallawa>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=252629
Bug Depends on:    
Bug Blocks: 245858    

Description Said Abou-Hallawa 2023-02-16 00:25:26 PST
This function has to deal with:

1. Accelerated IOSurface based GraphicsContext
2. Unaccelerated GraphicsContext 
3. CGBitmapContext based context
4. DisplayRecorder based GraphicsContext

We need to get the correct colorSpace() in all these cases. This is work towards bug 245858.
Comment 1 Said Abou-Hallawa 2023-02-16 00:25:52 PST
rdar://105525603
Comment 2 Said Abou-Hallawa 2023-02-16 00:51:41 PST
Pull request: https://github.com/WebKit/WebKit/pull/10194
Comment 3 EWS 2023-02-17 14:43:53 PST
Committed 260471@main (5170cf0d951e): <https://commits.webkit.org/260471@main>

Reviewed commits have been landed. Closing PR #10194 and removing active labels.