You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* The tone mapping determines how the content of textures returned by
758
758
* {@link GPUCanvasContext#getCurrentTexture} are to be displayed.
759
-
* Note: If an implementation doesn't support HDR WebGPU canvases, it should also not expose this member, to allow for feature detection. See {@link GPUCanvasContext#getConfiguration}.
759
+
* <div class=note heading>
760
+
* This is a required feature, but user agents might not yet implement it,
761
+
* effectively supporting only the default {@link GPUCanvasToneMapping}.
762
+
* In such implementations, this member **should not** exist in its implementation of
763
+
* {@link GPUCanvasConfiguration}, to make feature detection possible using
764
+
* {@link GPUCanvasContext#getConfiguration}.
765
+
* This is especially important in implementations which otherwise have HDR capabilities
766
+
* (where a <l>'@media/dynamic-range'</l> of <l>''@media/dynamic-range/high''</l> would be
767
+
* exposed).
768
+
* If an implementation exposes this member and a `high` dynamic range, it **should** render the
769
+
* canvas as an HDR element, not clamp values to the SDR range of the HDR display.
0 commit comments