KhronosGroup/WebGL

WebGL specification should specify what UNPACK_COLORSPACE_CONVERSION_WEBGL = BROWSER_DEFAULT_WEBGL means

Opened this issue · 3 comments

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.

Related issues:

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

We should spec that it converts to sRGB colorspace.