[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Public WebGL] UNPACK_COLORSPACE_CONVERSION_WEBGL added



At the recent Khronos F2F the WebGL working group resolved to add a
new pixel storage parameter UNPACK_COLORSPACE_CONVERSION_WEBGL,
applying to texImage2D and texSubImage2D uploads. The default value is
BROWSER_DEFAULT_WEBGL, and it can be set to NONE to disable all
colorspace conversion by the browser (if applicable to the file type
being uploaded -- in particular, PNG).

The rationale is that there are certain situations in which the four
channels of RGBA textures may contain non-color information, and an
upload path preserving the original values in the texture is needed.

The WebGL spec and IDL have been updated with this change, and a bug
has been filed with the OpenGL registry to add the two new enums.
Please post any comments to the list.

-Ken
-----------------------------------------------------------
You are currently subscribed to public_webgl@khronos.org.
To unsubscribe, send an email to majordomo@khronos.org with
the following command in the body of your email: