WebGL specification should specify what UNPACK_COLORSPACE_CONVERSION_WEBGL = BROWSER_DEFAULT_WEBGL means
Opened this issue · 3 comments
kkinnunen-apple commented
WebGL specification should specify what UNPACK_COLORSPACE_CONVERSION_WEBGL = BROWSER_DEFAULT_WEBGL means
This is the de-facto used mode for texture uploads. This should be a deterministic algorithm. Somewhere it should say what the algorithm is. This should be done regardless of whether all the browsers match it for all content types today.
The tests could test in best-effort manner regarding different content types.
kkinnunen-apple commented
kkinnunen-apple commented
If I understand correctly, Context2D specifies analogous issue by the means of concept of color space?
https://html.spec.whatwg.org/multipage/canvas.html#concept-canvas-color-space
kdashg commented
We should spec that it converts to sRGB colorspace.