From 599148e32dd70c419b4f88b6c257d3ce0aabc8e3 Mon Sep 17 00:00:00 2001 From: Kelsey G Date: Thu, 5 Sep 2024 19:03:47 -0700 Subject: [PATCH] Restrict to TexImageSource. (exclude e.g. ArrayBufferViews) --- specs/latest/1.0/index.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/specs/latest/1.0/index.html b/specs/latest/1.0/index.html index 75cee7441..5e8d8bfba 100644 --- a/specs/latest/1.0/index.html +++ b/specs/latest/1.0/index.html @@ -4125,8 +4125,10 @@

Pixel Storage Parameters

UNPACK_COLORSPACE_CONVERSION_WEBGL of type unsigned long
If set to BROWSER_DEFAULT_WEBGL, then the browser's default colorspace conversion -is applied during subsequent texImage2D and texSubImage2D calls. -(For example, converting a display-p3 image to srgb) +(e.g. converting a display-p3 image to srgb) +is applied during subsequent texture data upload calls +(e.g. texImage2D and texSubImage2D) that take an argument of TexImageSource. + The precise conversions may be specific to both the browser and file type. If set to NONE, no colorspace conversion is applied, other than conversion to RGBA. (For example, a rec709 YUV video is still converted to rec709 RGB data, but not then converted to e.g. srgb RGB data)