summaryrefslogtreecommitdiffstats
path: root/dom/webidl/WebGLRenderingContext.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'dom/webidl/WebGLRenderingContext.webidl')
-rw-r--r--dom/webidl/WebGLRenderingContext.webidl5
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();