Bug 1316778 - Update IDL and bindings. - r=qdot draft
authorJeff Gilbert (:jgilbert) <jgilbert@mozilla.com>
Thu, 10 Nov 2016 16:37:17 -0800
changeset 437540 584ea2f590c46619862ee143aef942d6f117dda1
parent 437539 7c45a9c4a45fb02068b1fc93354bf33c3cd1baac
child 536662 291c84109a469367defaa135983ff4767c45f8b5
push id35438
push userbmo:jgilbert@mozilla.com
push dateFri, 11 Nov 2016 02:01:38 +0000
reviewersqdot
bugs1316778
milestone52.0a1
Bug 1316778 - Update IDL and bindings. - r=qdot MozReview-Commit-ID: COMYaZMv5GI
dom/bindings/Bindings.conf
dom/webidl/WebGLRenderingContext.webidl
--- a/dom/bindings/Bindings.conf
+++ b/dom/bindings/Bindings.conf
@@ -1087,23 +1087,23 @@ DOMInterfaces = {
     'headerFile': 'WebGLBuffer.h'
 },
 
 'WEBGL_compressed_texture_atc': {
     'nativeType': 'mozilla::WebGLExtensionCompressedTextureATC',
     'headerFile': 'WebGLExtensions.h'
 },
 
-'WEBGL_compressed_texture_etc1': {
-    'nativeType': 'mozilla::WebGLExtensionCompressedTextureETC1',
+'WEBGL_compressed_texture_etc': {
+    'nativeType': 'mozilla::WebGLExtensionCompressedTextureES3',
     'headerFile': 'WebGLExtensions.h'
 },
 
-'WEBGL_compressed_texture_es3': {
-    'nativeType': 'mozilla::WebGLExtensionCompressedTextureES3',
+'WEBGL_compressed_texture_etc1': {
+    'nativeType': 'mozilla::WebGLExtensionCompressedTextureETC1',
     'headerFile': 'WebGLExtensions.h'
 },
 
 'WEBGL_compressed_texture_pvrtc': {
     'nativeType': 'mozilla::WebGLExtensionCompressedTexturePVRTC',
     'headerFile': 'WebGLExtensions.h'
 },
 
--- a/dom/webidl/WebGLRenderingContext.webidl
+++ b/dom/webidl/WebGLRenderingContext.webidl
@@ -802,17 +802,17 @@ interface WEBGL_compressed_texture_s3tc
 interface WEBGL_compressed_texture_atc
 {
     const GLenum COMPRESSED_RGB_ATC_WEBGL                     = 0x8C92;
     const GLenum COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL     = 0x8C93;
     const GLenum COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL = 0x87EE;
 };
 
 [NoInterfaceObject]
-interface WEBGL_compressed_texture_es3
+interface WEBGL_compressed_texture_etc
 {
     const GLenum COMPRESSED_R11_EAC                                 = 0x9270;
     const GLenum COMPRESSED_SIGNED_R11_EAC                          = 0x9271;
     const GLenum COMPRESSED_RG11_EAC                                = 0x9272;
     const GLenum COMPRESSED_SIGNED_RG11_EAC                         = 0x9273;
     const GLenum COMPRESSED_RGB8_ETC2                               = 0x9274;
     const GLenum COMPRESSED_SRGB8_ETC2                              = 0x9275;
     const GLenum COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2           = 0x9276;