Bug 283281
| Summary: | Add CanvasRenderingContext2DSettings.pixelFormat to support higher bit depths | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Gerald Squelart <g_squelart> |
| Component: | Canvas | Assignee: | Gerald Squelart <g_squelart> |
| Status: | RESOLVED FIXED | ||
| Severity: | Enhancement | CC: | sabouhallawa, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | |||
| Bug Blocks: | 283539 | ||
Gerald Squelart
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
<rdar://problem/140105324>
Gerald Squelart
Pull request: https://github.com/WebKit/WebKit/pull/36785
EWS
Committed 286934@main (e9af57b86e4d): <https://commits.webkit.org/286934@main>
Reviewed commits have been landed. Closing PR #36785 and removing active labels.
Gerald Squelart
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.