Bug 1372438 - STENCIL_INDEX is not a WebGL constant - r=jgilbert,qdot
authorSamuel Vargas <svargas@mozilla.com>
Mon, 12 Jun 2017 17:16:43 -0700
changeset 414145 08c7a5fcad2cf680e598a6785e6b79f018188381
parent 414144 5e412fb0840382e1234c86ad4cb238122c5d4017
child 414146 cbeb4bc60daa798c60102102c15e51a5af94265a
push id7566
push usermtabara@mozilla.com
push dateWed, 02 Aug 2017 08:25:16 +0000
treeherdermozilla-beta@86913f512c3c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjgilbert, qdot
bugs1372438
milestone56.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1372438 - STENCIL_INDEX is not a WebGL constant - r=jgilbert,qdot
dom/canvas/test/webgl-conf/checkout/conformance/context/constants-and-properties.html
dom/canvas/test/webgl-conf/checkout/conformance/more/conformance/constants.html
dom/canvas/test/webgl-conf/checkout/conformance2/context/constants-and-properties-2.html
dom/webidl/WebGLRenderingContext.webidl
--- a/dom/canvas/test/webgl-conf/checkout/conformance/context/constants-and-properties.html
+++ b/dom/canvas/test/webgl-conf/checkout/conformance/context/constants-and-properties.html
@@ -411,17 +411,16 @@ HIGH_INT                       : 0x8DF5,
     /* Framebuffer Object. */
 FRAMEBUFFER                    : 0x8D40,
 RENDERBUFFER                   : 0x8D41,
 
 RGBA4                          : 0x8056,
 RGB5_A1                        : 0x8057,
 RGB565                         : 0x8D62,
 DEPTH_COMPONENT16              : 0x81A5,
-STENCIL_INDEX                  : 0x1901,
 STENCIL_INDEX8                 : 0x8D48,
 DEPTH_STENCIL                  : 0x84F9,
 
 RENDERBUFFER_WIDTH             : 0x8D42,
 RENDERBUFFER_HEIGHT            : 0x8D43,
 RENDERBUFFER_INTERNAL_FORMAT   : 0x8D44,
 RENDERBUFFER_RED_SIZE          : 0x8D50,
 RENDERBUFFER_GREEN_SIZE        : 0x8D51,
@@ -468,16 +467,17 @@ drawingBufferWidth  : "number",
 drawingBufferHeight : "number",
 canvas              : "implementation-dependent"
 };
 
 // Properties to be ignored (as a list of strings) because they were
 // added in versions of the spec that are backward-compatible with
 // this version
 var ignoredProperties = [
+   'STENCIL_INDEX'
 ];
 
 // Constants removed from the WebGL spec compared to ES 2.0
 var removedConstants = {
 NUM_COMPRESSED_TEXTURE_FORMATS : 0x86A2,
 FIXED                          : 0x140C,
 ACTIVE_UNIFORM_MAX_LENGTH      : 0x8B87,
 ACTIVE_ATTRIBUTE_MAX_LENGTH    : 0x8B8A,
--- a/dom/canvas/test/webgl-conf/checkout/conformance/more/conformance/constants.html
+++ b/dom/canvas/test/webgl-conf/checkout/conformance/more/conformance/constants.html
@@ -299,17 +299,16 @@ LOW_INT : 0x8DF3,
 MEDIUM_INT : 0x8DF4,
 HIGH_INT : 0x8DF5,
 FRAMEBUFFER : 0x8D40,
 RENDERBUFFER : 0x8D41,
 RGBA4 : 0x8056,
 RGB5_A1 : 0x8057,
 RGB565 : 0x8D62,
 DEPTH_COMPONENT16 : 0x81A5,
-STENCIL_INDEX : 0x1901,
 STENCIL_INDEX8 : 0x8D48,
 DEPTH_STENCIL : 0x84F9,
 RENDERBUFFER_WIDTH : 0x8D42,
 RENDERBUFFER_HEIGHT : 0x8D43,
 RENDERBUFFER_INTERNAL_FORMAT : 0x8D44,
 RENDERBUFFER_RED_SIZE : 0x8D50,
 RENDERBUFFER_GREEN_SIZE : 0x8D51,
 RENDERBUFFER_BLUE_SIZE : 0x8D52,
--- a/dom/canvas/test/webgl-conf/checkout/conformance2/context/constants-and-properties-2.html
+++ b/dom/canvas/test/webgl-conf/checkout/conformance2/context/constants-and-properties-2.html
@@ -407,17 +407,16 @@ HIGH_INT                       : 0x8DF5,
     /* Framebuffer Object. */
 FRAMEBUFFER                    : 0x8D40,
 RENDERBUFFER                   : 0x8D41,
 
 RGBA4                          : 0x8056,
 RGB5_A1                        : 0x8057,
 RGB565                         : 0x8D62,
 DEPTH_COMPONENT16              : 0x81A5,
-STENCIL_INDEX                  : 0x1901,
 STENCIL_INDEX8                 : 0x8D48,
 DEPTH_STENCIL                  : 0x84F9,
 
 RENDERBUFFER_WIDTH             : 0x8D42,
 RENDERBUFFER_HEIGHT            : 0x8D43,
 RENDERBUFFER_INTERNAL_FORMAT   : 0x8D44,
 RENDERBUFFER_RED_SIZE          : 0x8D50,
 RENDERBUFFER_GREEN_SIZE        : 0x8D51,
@@ -734,16 +733,17 @@ drawingBufferWidth  : "number",
 drawingBufferHeight : "number",
 canvas              : "implementation-dependent"
 };
 
 // Properties to be ignored (as a list of strings) because they were
 // added in versions of the spec that are backward-compatible with
 // this version
 var ignoredProperties = [
+   'STENCIL_INDEX'
 ];
 
 // Constants removed from the WebGL spec compared to ES 3.0
 var removedConstants = {
 BUFFER_ACCESS_FLAGS                   : 0x911F,
 BUFFER_MAP_LENGTH                     : 0x9120,
 BUFFER_MAP_OFFSET                     : 0x9121,
 NUM_COMPRESSED_TEXTURE_FORMATS        : 0x86A2,
--- a/dom/webidl/WebGLRenderingContext.webidl
+++ b/dom/webidl/WebGLRenderingContext.webidl
@@ -477,17 +477,16 @@ interface WebGLRenderingContextBase {
     /* Framebuffer Object. */
     const GLenum FRAMEBUFFER                    = 0x8D40;
     const GLenum RENDERBUFFER                   = 0x8D41;
 
     const GLenum RGBA4                          = 0x8056;
     const GLenum RGB5_A1                        = 0x8057;
     const GLenum RGB565                         = 0x8D62;
     const GLenum DEPTH_COMPONENT16              = 0x81A5;
-    const GLenum STENCIL_INDEX                  = 0x1901;
     const GLenum STENCIL_INDEX8                 = 0x8D48;
     const GLenum DEPTH_STENCIL                  = 0x84F9;
 
     const GLenum RENDERBUFFER_WIDTH             = 0x8D42;
     const GLenum RENDERBUFFER_HEIGHT            = 0x8D43;
     const GLenum RENDERBUFFER_INTERNAL_FORMAT   = 0x8D44;
     const GLenum RENDERBUFFER_RED_SIZE          = 0x8D50;
     const GLenum RENDERBUFFER_GREEN_SIZE        = 0x8D51;