Bug 247165

Summary: P3 colorspace support for WebGL canvas on macOS
Product: WebKit Reporter: Gerald Squelart <g_squelart>
Component: WebGLAssignee: Gerald Squelart <g_squelart>
Status: RESOLVED FIXED    
Severity: Normal CC: dino, g_squelart, kbr, kkinnunen, rackler, rniwa, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=248083
Bug Depends on:    
Bug Blocks: 247166    

Description Gerald Squelart 2022-10-27 20:51:07 PDT
Implementation of the new `WebGLRenderingContext` attribute `drawingBufferColorSpace`.
https://registry.khronos.org/webgl/specs/latest/1.0/#5.14.1

This is currently restricted to macOS, and the two acceptable `PredefinedColorSpace` values are `"srgb"` and `"display-p3"`.
Comment 1 Radar WebKit Bug Importer 2022-10-27 20:51:21 PDT
<rdar://problem/101663516>
Comment 2 Gerald Squelart 2022-10-27 21:10:14 PDT
Pull request: https://github.com/WebKit/WebKit/pull/5613
Comment 3 EWS 2022-11-01 18:02:13 PDT
Committed 256208@main (0dfb608af54f): <https://commits.webkit.org/256208@main>

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