Adds tone mapping parameters to the WebGPU canvas configuration, and adds options of "standard" (the current behavior of restricting content to the SDR range of the display) as the default, and "extended" (not imposing this restriction) as a new behavior. This allows WebGPU content to use the full range of a display.
None. This feature has been developed with and reviewed by representatives of Mozilla and WebKit, and maps to mature APIs present on all platforms (except ChromeOS, where support is coming soon).
This maps directly to the platform APIs that are used for HDR video and image rendering, and should require almost no additional work to support. On some platforms, this maps directly to the exact underlying API, while on other platforms some conversion is required.
This can be used immediately by developers.
This introduces no new security or privacy issues.
Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?
None. WebView does not current support this (because it does not support HDR images), but the support for both features will come simultaneously.
None
ChromeOS platform support for HDR images (and canvas) has not been completed.
Issues with testing the rendering of HDR (images, video, and now also canvas) is discussed at: https://github.com/web-platform-tests/wpt/issues/44320
Shipping on desktop | 128 |
Shipping on Android | 128 |
Shipping on WebView | 128 |
Hello blink-dev! This is the first feature from HDR canvas work that is ready to ship. It has been split off and reduced in scope from this wider feature.
Hello blink-dev! This is the first feature from HDR canvas work that is ready to ship. It has been split off and reduced in scope from this wider feature.
Contact emails
ccam...@chromium.orgExplainer
NoneSpecification
https://www.w3.org/TR/webgpu/#gpucanvastonemappingmode
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAGnfxj_Pss5f2sXWHB%2BaxcqTfxxRBJctZ18xrv2Gd0Q-BaDGvg%40mail.gmail.com.
This looks like a nice straightforward feature. Just one potential spec issue...On Tue, Jul 16, 2024 at 11:19 PM 'Christopher Cameron' via blink-dev <blin...@chromium.org> wrote:Hello blink-dev! This is the first feature from HDR canvas work that is ready to ship. It has been split off and reduced in scope from this wider feature.
Contact emails
ccam...@chromium.orgExplainer
NoneSpecification
https://www.w3.org/TR/webgpu/#gpucanvastonemappingmodeI found the spec for the toneMapping member a bit confusing. I filed https://github.com/gpuweb/gpuweb/issues/4756 to ask questions about potentially getting it clarified.
This looks like a nice straightforward feature. Just one potential spec issue...
On Tue, Jul 16, 2024 at 11:19 PM 'Christopher Cameron' via blink-dev <blin...@chromium.org> wrote:
Hello blink-dev! This is the first feature from HDR canvas work that is ready to ship. It has been split off and reduced in scope from this wider feature.
Contact emailsccam...@chromium.org
ExplainerNone
I found the spec for the toneMapping member a bit confusing. I filed https://github.com/gpuweb/gpuweb/issues/4756 to ask questions about potentially getting it clarified.
Design docs
https://github.com/ccameron-chromium/webgpu-hdr/blob/main/EXPLAINER.md
SummaryAdds tone mapping parameters to the WebGPU canvas configuration, and adds options of "standard" (the current behavior of restricting content to the SDR range of the display) as the default, and "extended" (not imposing this restriction) as a new behavior. This allows WebGPU content to use the full range of a display.
Blink componentBlink>WebGPU
Search tagsWebGPU, HDR, Canvas
TAG reviewNone
TAG review statusNot applicable
Adoption expectationFeature is currently being used by specific partners in prototypes. It is also used in internal features.
Sample links
https://ccameron-chromium.github.io/webgpu-hdr/example.html
Estimated milestonesShipping on desktop128Shipping on Android128Shipping on WebView128
Anticipated spec changesThis was split off from a larger "HDR for all HTMLCanvasElement" spec. This feature is planned to be added to WebGL soon. Additional tone mapping modes are planned to be added as they are published.
Link to entry on the Chrome Platform Statushttps://chromestatus.com/feature/6196313866895360?gate=6588754021318656
Links to previous Intent discussionsIntent to prototype: https://groups.google.com/a/chromium.org/g/blink-dev/c/S609KGTkSSk/m/1EW4CWn3BgAJ
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/af37791a-9371-4db3-9be9-ebfa65dab8abn%40chromium.org.
LGTM3
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CADsXd2MLxMbeDavHOyn9iHPWb9N8C3-cesqMRgZAo9D0Vj8grw%40mail.gmail.com.