diff options
Diffstat (limited to 'dom/webidl/WebGLRenderingContext.webidl')
-rw-r--r-- | dom/webidl/WebGLRenderingContext.webidl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dom/webidl/WebGLRenderingContext.webidl b/dom/webidl/WebGLRenderingContext.webidl index 00585a06bf..15cf4ee7a8 100644 --- a/dom/webidl/WebGLRenderingContext.webidl +++ b/dom/webidl/WebGLRenderingContext.webidl @@ -546,6 +546,11 @@ interface mixin WebGLRenderingContextBase { readonly attribute GLsizei drawingBufferWidth; readonly attribute GLsizei drawingBufferHeight; + /* Upon context creation, drawingBufferColorSpace and unpackColorSpace both + default to the value "srgb". */ + attribute PredefinedColorSpace drawingBufferColorSpace; + //attribute PredefinedColorSpace unpackColorSpace; + [WebGLHandlesContextLoss] WebGLContextAttributes? getContextAttributes(); [WebGLHandlesContextLoss] boolean isContextLost(); |