Bug 276502

Summary: HDR Canvas support
Product: WebKit Reporter: Mike Wyrzykowski <mwyrzykowski>
Component: WebKit Misc.Assignee: Nobody <webkit-unassigned>
Status: REOPENED    
Severity: Normal CC: adixon, mark, possum.bracing0v, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 279816, 280864    
Bug Blocks:    

Mike Wyrzykowski
Reported 2024-07-11 12:57:49 PDT
HDR Canvas support
Attachments
Mike Wyrzykowski
Comment 1 2024-07-11 12:58:08 PDT
mdrejhon
Comment 2 2024-08-21 10:16:30 PDT
Chrome has HDR canvas support via chrome://flags -> "Experimental Web Platform Features" = Enabled TestUFO has been updated to support HDR, and is being used internally, the public website will launch shortly (End of August).
Mike Wyrzykowski
Comment 3 2024-10-03 19:39:07 PDT
Being resolved by 280864 *** This bug has been marked as a duplicate of bug 280864 ***
Mike Wyrzykowski
Comment 4 2024-10-03 19:40:24 PDT
My apologies, this now tracks HDR support across all canvases, not just WebGPU. WebGPU HDR support is tracked by https://bugs.webkit.org/show_bug.cgi?id=280864
mdrejhon
Comment 5 2025-03-20 18:09:57 PDT
So as I understand it, for the various canvases: Canvas 2D: HDR not supported yet Canvas WebGL: HDR not supported yet Canvas WebGPU: HDR SUPPORTED Note; Canvas2D test case: www.testufo.com/hdr
Mike Wyrzykowski
Comment 6 2025-03-21 08:30:08 PDT
Canvas WebGPU HDR is supported in Safari Technology Preview but not enabled by default, see UnifiedWebPrefrences.yaml WebGPUHDREnabled: type: bool status: Webgpuhdr_feature_status #if defined(ENABLE_WEBGPU_BY_DEFAULT) && ENABLE_WEBGPU_BY_DEFAULT && defined(HAVE_SUPPORT_HDR_DISPLAY) && HAVE_SUPPORT_HDR_DISPLAY #define Webgpuhdr_feature_status Stable #else #define Webgpuhdr_feature_status Preview #endif HAVE_SUPPORT_HDR_DISPLAY is 1 but ENABLE_WEBGPU_BY_DEFAULT is 0
Note You need to log in before you can comment on or make changes to this bug.