RESOLVED FIXED283281
Add CanvasRenderingContext2DSettings.pixelFormat to support higher bit depths
https://bugs.webkit.org/show_bug.cgi?id=283281
Summary Add CanvasRenderingContext2DSettings.pixelFormat to support higher bit depths
Gerald Squelart
Reported 2024-11-17 23:41:54 PST
Start supporting HDR in 2D canvas, as per https://github.com/w3c/ColorWeb-CG/blob/main/hdr_html_canvas_element.md This will add CanvasRenderingContext2DSettings.dataType of type CanvasDataType, which can be "unorm8" (default) or "float16" for now. (The property will have no effects yet, but can be set and queried.)
Attachments
Radar WebKit Bug Importer
Comment 1 2024-11-17 23:42:02 PST
Gerald Squelart
Comment 2 2024-11-17 23:45:18 PST
EWS
Comment 3 2024-11-21 16:13:39 PST
Committed 286934@main (e9af57b86e4d): <https://commits.webkit.org/286934@main> Reviewed commits have been landed. Closing PR #36785 and removing active labels.
Gerald Squelart
Comment 4 2024-11-21 17:24:37 PST
Switched from `dataType` to `pixelFormat`, to match another experimental implementation; names still subject to change anyway, but it's easier to test&compare by using the same names.
Note You need to log in before you can comment on or make changes to this bug.