Bug 1229332 - Add webidl for EXT_color_buffer_float. - r=bz
authorJeff Gilbert <jgilbert@mozilla.com>
Wed, 04 May 2016 15:48:11 -0700
changeset 321160 5ed2bae2ed641e1b46b42f2fd9cd6f4dbed81272
parent 321159 d55e3bc94309324a4d946b15a965c435b9bd051f
child 321161 5268ba1f8114fb1db78f36e0c6e20fdf1c0e596d
push id9671
push userraliiev@mozilla.com
push dateMon, 06 Jun 2016 20:27:52 +0000
treeherdermozilla-aurora@cea65ca3d0bd [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbz
bugs1229332
milestone49.0a1
Bug 1229332 - Add webidl for EXT_color_buffer_float. - r=bz
dom/bindings/Bindings.conf
dom/webidl/WebGL2RenderingContext.webidl
--- a/dom/bindings/Bindings.conf
+++ b/dom/bindings/Bindings.conf
@@ -1434,16 +1434,21 @@ DOMInterfaces = {
    'headerFile': 'WebGLExtensions.h'
 },
 
 'EXT_color_buffer_half_float': {
    'nativeType': 'mozilla::WebGLExtensionColorBufferHalfFloat',
    'headerFile': 'WebGLExtensions.h'
 },
 
+'EXT_color_buffer_float': {
+   'nativeType': 'mozilla::WebGLExtensionEXTColorBufferFloat',
+   'headerFile': 'WebGLExtensions.h'
+},
+
 'WEBGL_draw_buffers': {
     'nativeType': 'mozilla::WebGLExtensionDrawBuffers',
     'headerFile': 'WebGLExtensions.h'
 },
 
 'OES_vertex_array_object': {
     'nativeType': 'mozilla::WebGLExtensionVertexArray',
     'headerFile': 'WebGLExtensions.h'
--- a/dom/webidl/WebGL2RenderingContext.webidl
+++ b/dom/webidl/WebGL2RenderingContext.webidl
@@ -483,8 +483,12 @@ interface WebGL2RenderingContext : WebGL
     void uniformBlockBinding(WebGLProgram? program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
 
     /* Vertex Array Objects */
     WebGLVertexArrayObject? createVertexArray();
     void deleteVertexArray(WebGLVertexArrayObject? vertexArray);
     [WebGLHandlesContextLoss] GLboolean isVertexArray(WebGLVertexArrayObject? vertexArray);
     void bindVertexArray(WebGLVertexArrayObject? array);
 };
+
+[NoInterfaceObject]
+interface EXT_color_buffer_float {
+};