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
HDR Canvas support
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Mike Wyrzykowski
radar://128164668
mdrejhon
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
Being resolved by 280864
*** This bug has been marked as a duplicate of bug 280864 ***
Mike Wyrzykowski
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
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
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