WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
283281
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
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2024-11-17 23:42:02 PST
<
rdar://problem/140105324
>
Gerald Squelart
Comment 2
2024-11-17 23:45:18 PST
Pull request:
https://github.com/WebKit/WebKit/pull/36785
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.
Top of Page
Format For Printing
XML
Clone This Bug