diff --git a/specs/latest/1.0/index.html b/specs/latest/1.0/index.html index 5e8d8bfba..4b9a89bed 100644 --- a/specs/latest/1.0/index.html +++ b/specs/latest/1.0/index.html @@ -839,12 +839,29 @@

Context creation parameters

premultipliedAlpha
+

If the value is true the page compositor will assume the drawing buffer contains colors with premultiplied alpha. If the value is false the page compositor will assume that colors in the drawing buffer are not premultiplied. This flag is ignored - if the alpha flag is - false. See Premultiplied Alpha for more + if the alpha flag is false. +

+

+ With premultipliedAlpha:true, any pixels sent to the page + compositor shall have color values less-than-or-equal-to their alpha value, + otherwise the colors resulting from compositing such out-of-range pixel values + are undefined. +

+ For example, with premultipliedAlpha:true + vec4(1.0, 0.0, 0.0, 0.5) might display as green + instead of red, possibly due to optimized packed compositing math overflows. + This is left undefined due to the intractible performance impact of requiring + consistent behavior. +
+

+

+ See Premultiplied Alpha for more information on the effects of the premultipliedAlpha flag. +

preserveDrawingBuffer