diff --git a/extensions/ANGLE_instanced_arrays/extension.xml b/extensions/ANGLE_instanced_arrays/extension.xml index bff95fdb93..58d1c999bb 100644 --- a/extensions/ANGLE_instanced_arrays/extension.xml +++ b/extensions/ANGLE_instanced_arrays/extension.xml @@ -27,12 +27,12 @@

-[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface ANGLE_instanced_arrays { +[Exposed=(Window,Worker)] +interface WebGLExtensionAngleInstancedArrays { const GLenum VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE = 0x88FE; undefined drawArraysInstancedANGLE(GLenum mode, GLint first, GLsizei count, GLsizei primcount); undefined drawElementsInstancedANGLE(GLenum mode, GLsizei count, GLenum type, GLintptr offset, GLsizei primcount); - undefined vertexAttribDivisorANGLE(GLuint index, GLuint divisor); + undefined vertexAttribDivisorANGLE(GLuint index, GLuint divisor); }; @@ -74,5 +74,8 @@ interface ANGLE_instanced_arrays { Clarified interaction with OES_vertex_array_object. + + Rename and expose prototype. + diff --git a/extensions/EXT_blend_minmax/extension.xml b/extensions/EXT_blend_minmax/extension.xml index 6c9f19a3e6..274d6793fe 100644 --- a/extensions/EXT_blend_minmax/extension.xml +++ b/extensions/EXT_blend_minmax/extension.xml @@ -31,8 +31,8 @@ -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface EXT_blend_minmax { +[Exposed=(Window,Worker)] +interface WebGLExtensionExtBlendMinmax { const GLenum MIN_EXT = 0x8007; const GLenum MAX_EXT = 0x8008; }; @@ -66,5 +66,8 @@ interface EXT_blend_minmax { Ratified by Khronos Board of Promoters. + + Rename and expose prototype. + diff --git a/extensions/EXT_clip_cull_distance/extension.xml b/extensions/EXT_clip_cull_distance/extension.xml index 2064d77ab2..dce7844fb2 100644 --- a/extensions/EXT_clip_cull_distance/extension.xml +++ b/extensions/EXT_clip_cull_distance/extension.xml @@ -41,8 +41,8 @@ - [Exposed=(Window,Worker), LegacyNoInterfaceObject] - interface EXT_clip_cull_distance { + [Exposed=(Window,Worker)] + interface WebGLExtensionExtClipCullDistance { const GLenum MAX_CLIP_DISTANCES_EXT = 0x0D32; const GLenum MAX_CULL_DISTANCES_EXT = 0x82F9; const GLenum MAX_COMBINED_CLIP_AND_CULL_DISTANCES_EXT = 0x82FA; @@ -86,5 +86,8 @@ Added addendum that allows for the number of cull planes to be 0. + + Rename and expose prototype. + diff --git a/extensions/EXT_color_buffer_float/extension.xml b/extensions/EXT_color_buffer_float/extension.xml index 8c2e212748..6797c0798b 100644 --- a/extensions/EXT_color_buffer_float/extension.xml +++ b/extensions/EXT_color_buffer_float/extension.xml @@ -72,9 +72,9 @@ -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface EXT_color_buffer_float { -}; // interface EXT_color_buffer_float +[Exposed=(Window,Worker)] +interface WebGLExtensionExtColorBufferFloat { +}; @@ -110,5 +110,9 @@ interface EXT_color_buffer_float { Allowed these float formats for CopyTexImage2D. + + + Rename and expose prototype. + diff --git a/extensions/EXT_color_buffer_half_float/extension.xml b/extensions/EXT_color_buffer_half_float/extension.xml index bdccae4993..8580dbc6e5 100644 --- a/extensions/EXT_color_buffer_half_float/extension.xml +++ b/extensions/EXT_color_buffer_half_float/extension.xml @@ -83,13 +83,13 @@ -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface EXT_color_buffer_half_float { +[Exposed=(Window,Worker)] +interface WebGLExtensionExtColorBufferHalfFloat { const GLenum RGBA16F_EXT = 0x881A; const GLenum RGB16F_EXT = 0x881B; const GLenum FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT = 0x8211; const GLenum UNSIGNED_NORMALIZED_EXT = 0x8C17; -}; // interface EXT_color_buffer_half_float +}; @@ -168,5 +168,9 @@ interface EXT_color_buffer_half_float { only to 16-bit floating point targets, and therefore can not support EXT_color_buffer_float. + + + Rename and expose prototype. + diff --git a/extensions/EXT_disjoint_timer_query/extension.xml b/extensions/EXT_disjoint_timer_query/extension.xml index 10b54baaf2..df4539cb99 100644 --- a/extensions/EXT_disjoint_timer_query/extension.xml +++ b/extensions/EXT_disjoint_timer_query/extension.xml @@ -48,12 +48,12 @@ typedef unsigned long long GLuint64EXT; -[Exposed=(Window,Worker), LegacyNoInterfaceObject] +[Exposed=(Window,Worker)] interface WebGLTimerQueryEXT : WebGLObject { }; -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface EXT_disjoint_timer_query { +[Exposed=(Window,Worker)] +interface WebGLExtensionExtDisjointTimerQuery { const GLenum QUERY_COUNTER_BITS_EXT = 0x8864; const GLenum CURRENT_QUERY_EXT = 0x8865; const GLenum QUERY_RESULT_EXT = 0x8866; @@ -402,5 +402,8 @@ interface EXT_disjoint_timer_query { Clean up query objects via deleteQueryEXT. Modernize examples' JavaScript code. + + Rename and expose prototype. + diff --git a/extensions/EXT_disjoint_timer_query_webgl2/extension.xml b/extensions/EXT_disjoint_timer_query_webgl2/extension.xml index d0b2ebb939..d1729e6bf9 100644 --- a/extensions/EXT_disjoint_timer_query_webgl2/extension.xml +++ b/extensions/EXT_disjoint_timer_query_webgl2/extension.xml @@ -40,8 +40,8 @@ -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface EXT_disjoint_timer_query_webgl2 { +[Exposed=(Window,Worker)] +interface WebGLExtensionExtDisjointTimerQueryWebgl2 { const GLenum QUERY_COUNTER_BITS_EXT = 0x8864; const GLenum TIME_ELAPSED_EXT = 0x88BF; const GLenum TIMESTAMP_EXT = 0x8E28; @@ -87,7 +87,7 @@ interface EXT_disjoint_timer_query_webgl2 { TIMESTAMP_EXTCURRENT_QUERYnull TIME_ELAPSED_EXTQUERY_COUNTER_BITS_EXTGLint TIMESTAMP_EXTQUERY_COUNTER_BITS_EXTGLint - + @@ -102,7 +102,7 @@ interface EXT_disjoint_timer_query_webgl2 { pnamereturned type TIMESTAMP_EXTGLuint64 GPU_DISJOINT_EXTboolean - + @@ -281,5 +281,8 @@ interface EXT_disjoint_timer_query_webgl2 { Clean up query objects via deleteQuery. Modernize examples' JavaScript code. + + Rename and expose prototype. + diff --git a/extensions/EXT_float_blend/extension.xml b/extensions/EXT_float_blend/extension.xml index 58fe51089c..bc3f71f788 100644 --- a/extensions/EXT_float_blend/extension.xml +++ b/extensions/EXT_float_blend/extension.xml @@ -52,9 +52,9 @@ -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface EXT_float_blend { -}; // interface EXT_float_blend +[Exposed=(Window,Worker)] +interface WebGLExtensionExtFloatBlend { +}; @@ -78,5 +78,9 @@ interface EXT_float_blend { Clarified that this extension applies to both WebGL 1.0 and 2.0 contexts. + + + Rename and expose prototype. + diff --git a/extensions/EXT_frag_depth/extension.xml b/extensions/EXT_frag_depth/extension.xml index 517da53c37..27afc7ddf6 100644 --- a/extensions/EXT_frag_depth/extension.xml +++ b/extensions/EXT_frag_depth/extension.xml @@ -34,10 +34,10 @@ - + - [Exposed=(Window,Worker), LegacyNoInterfaceObject] - interface EXT_frag_depth { + [Exposed=(Window,Worker)] + interface WebGLExtensionExtFragDepth { }; @@ -66,5 +66,8 @@ Ratified by Khronos Board of Promoters. + + Rename and expose prototype. + diff --git a/extensions/EXT_sRGB/extension.xml b/extensions/EXT_sRGB/extension.xml index 972e9ac204..cfd5a5d974 100644 --- a/extensions/EXT_sRGB/extension.xml +++ b/extensions/EXT_sRGB/extension.xml @@ -32,8 +32,8 @@ - [Exposed=(Window,Worker), LegacyNoInterfaceObject] - interface EXT_sRGB { + [Exposed=(Window,Worker)] + interface WebGLExtensionExtSrgb { const GLenum SRGB_EXT = 0x8C40; const GLenum SRGB_ALPHA_EXT = 0x8C42; const GLenum SRGB8_ALPHA8_EXT = 0x8C43; @@ -83,5 +83,8 @@ Added NoInterfaceObject extended attribute. + + Rename and expose prototype. + diff --git a/extensions/EXT_shader_texture_lod/extension.xml b/extensions/EXT_shader_texture_lod/extension.xml index 28adf62f89..8efccefe0b 100644 --- a/extensions/EXT_shader_texture_lod/extension.xml +++ b/extensions/EXT_shader_texture_lod/extension.xml @@ -79,10 +79,10 @@ - + - [Exposed=(Window,Worker), LegacyNoInterfaceObject] - interface EXT_shader_texture_lod { + [Exposed=(Window,Worker)] + interface WebGLExtensionExtShaderTextureLod { }; @@ -120,5 +120,8 @@ Ratified by Khronos Board of Promoters. + + Rename and expose prototype. + diff --git a/extensions/EXT_texture_compression_bptc/extension.xml b/extensions/EXT_texture_compression_bptc/extension.xml index 1dfb971600..8344b76742 100644 --- a/extensions/EXT_texture_compression_bptc/extension.xml +++ b/extensions/EXT_texture_compression_bptc/extension.xml @@ -75,8 +75,8 @@ -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface EXT_texture_compression_bptc { +[Exposed=(Window,Worker)] +interface WebGLExtensionExtTextureCompressionBptc { const GLenum COMPRESSED_RGBA_BPTC_UNORM_EXT = 0x8E8C; const GLenum COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT = 0x8E8D; const GLenum COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT = 0x8E8E; @@ -142,5 +142,8 @@ interface EXT_texture_compression_bptc { Clarified WebGL-specific dimensions restriction. + + Rename and expose prototype. + diff --git a/extensions/EXT_texture_compression_rgtc/extension.xml b/extensions/EXT_texture_compression_rgtc/extension.xml index 36e9604ba2..7d7f5cfc97 100644 --- a/extensions/EXT_texture_compression_rgtc/extension.xml +++ b/extensions/EXT_texture_compression_rgtc/extension.xml @@ -79,8 +79,8 @@ -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface EXT_texture_compression_rgtc { +[Exposed=(Window,Worker)] +interface WebGLExtensionExtTextureCompressionRgtc { const GLenum COMPRESSED_RED_RGTC1_EXT = 0x8DBB; const GLenum COMPRESSED_SIGNED_RED_RGTC1_EXT = 0x8DBC; const GLenum COMPRESSED_RED_GREEN_RGTC2_EXT = 0x8DBD; @@ -152,5 +152,8 @@ interface EXT_texture_compression_rgtc { Clarified WebGL-specific dimensions restriction. + + Rename and expose prototype. + diff --git a/extensions/EXT_texture_filter_anisotropic/extension.xml b/extensions/EXT_texture_filter_anisotropic/extension.xml index ff0d666ea8..e8f5b6d051 100644 --- a/extensions/EXT_texture_filter_anisotropic/extension.xml +++ b/extensions/EXT_texture_filter_anisotropic/extension.xml @@ -26,8 +26,8 @@ -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface EXT_texture_filter_anisotropic { +[Exposed=(Window,Worker)] +interface WebGLExtensionExtTextureFilterAnisotropic { const GLenum TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE; const GLenum MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF; }; @@ -48,5 +48,8 @@ interface EXT_texture_filter_anisotropic { Added NoInterfaceObject extended attribute. + + Rename and expose prototype. + diff --git a/extensions/EXT_texture_norm16/extension.xml b/extensions/EXT_texture_norm16/extension.xml index aebfeaf332..01c4a80c2d 100644 --- a/extensions/EXT_texture_norm16/extension.xml +++ b/extensions/EXT_texture_norm16/extension.xml @@ -45,8 +45,8 @@ -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface EXT_texture_norm16 { +[Exposed=(Window,Worker)] +interface WebGLExtensionExtTextureNorm16 { const GLenum R16_EXT = 0x822A; const GLenum RG16_EXT = 0x822C; const GLenum RGB16_EXT = 0x8054; @@ -76,5 +76,8 @@ interface EXT_texture_norm16 { Constrain the scope to only support ArrayBufferView. + + Rename and expose prototype. + diff --git a/extensions/KHR_parallel_shader_compile/extension.xml b/extensions/KHR_parallel_shader_compile/extension.xml index 1ff35da11b..0467158c57 100644 --- a/extensions/KHR_parallel_shader_compile/extension.xml +++ b/extensions/KHR_parallel_shader_compile/extension.xml @@ -48,8 +48,8 @@ - [Exposed=(Window,Worker), LegacyNoInterfaceObject] - interface KHR_parallel_shader_compile { + [Exposed=(Window,Worker)] + interface WebGLExtensionKhrParallelShaderCompile { const GLenum COMPLETION_STATUS_KHR = 0x91B1; }; @@ -150,5 +150,8 @@ Specify lost context behavior. + + Rename and expose prototype. + diff --git a/extensions/OES_draw_buffers_indexed/extension.xml b/extensions/OES_draw_buffers_indexed/extension.xml index 6ed29749ce..4512895310 100644 --- a/extensions/OES_draw_buffers_indexed/extension.xml +++ b/extensions/OES_draw_buffers_indexed/extension.xml @@ -39,8 +39,8 @@ -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface OES_draw_buffers_indexed { +[Exposed=(Window,Worker)] +interface WebGLExtensionOesDrawBuffersIndexed { undefined enableiOES(GLenum target, GLuint index); undefined disableiOES(GLenum target, GLuint index); @@ -228,5 +228,8 @@ interface OES_draw_buffers_indexed { Moved to community approved. + + Rename and expose prototype. + diff --git a/extensions/OES_element_index_uint/extension.xml b/extensions/OES_element_index_uint/extension.xml index eb826c647a..27913b93b3 100644 --- a/extensions/OES_element_index_uint/extension.xml +++ b/extensions/OES_element_index_uint/extension.xml @@ -23,8 +23,8 @@ -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface OES_element_index_uint { +[Exposed=(Window,Worker)] +interface WebGLExtensionOesElementIndexUint { }; @@ -46,5 +46,8 @@ interface OES_element_index_uint { Added NoInterfaceObject extended attribute. + + Rename and expose prototype. + diff --git a/extensions/OES_fbo_render_mipmap/extension.xml b/extensions/OES_fbo_render_mipmap/extension.xml index dbfc5c177d..8aca0a28f5 100644 --- a/extensions/OES_fbo_render_mipmap/extension.xml +++ b/extensions/OES_fbo_render_mipmap/extension.xml @@ -30,8 +30,8 @@ -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface OES_fbo_render_mipmap { +[Exposed=(Window,Worker)] +interface WebGLExtensionOesFboRenderMipmap { }; @@ -76,5 +76,8 @@ interface OES_fbo_render_mipmap { Moved to Community Approved. + + Rename and expose prototype. + diff --git a/extensions/OES_standard_derivatives/extension.xml b/extensions/OES_standard_derivatives/extension.xml index 00445853cd..9dafe5e35b 100644 --- a/extensions/OES_standard_derivatives/extension.xml +++ b/extensions/OES_standard_derivatives/extension.xml @@ -37,8 +37,8 @@ -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface OES_standard_derivatives { +[Exposed=(Window,Worker)] +interface WebGLExtensionOesStandardDerivatives { const GLenum FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B; }; @@ -58,5 +58,8 @@ interface OES_standard_derivatives { Added NoInterfaceObject extended attribute. + + Rename and expose prototype. + diff --git a/extensions/OES_texture_float/extension.xml b/extensions/OES_texture_float/extension.xml index fcfb7d1795..1f750157e3 100644 --- a/extensions/OES_texture_float/extension.xml +++ b/extensions/OES_texture_float/extension.xml @@ -44,8 +44,9 @@ -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface OES_texture_float { }; +[Exposed=(Window,Worker)] +interface WebGLExtensionOesTextureFloat { +}; @@ -87,5 +88,9 @@ interface OES_texture_float { }; Clarify behaviors regarding WEBGL_color_buffer_float. + + + Rename and expose prototype. + diff --git a/extensions/OES_texture_float_linear/extension.xml b/extensions/OES_texture_float_linear/extension.xml index c7f13f419a..fe254e8fef 100644 --- a/extensions/OES_texture_float_linear/extension.xml +++ b/extensions/OES_texture_float_linear/extension.xml @@ -28,8 +28,9 @@ -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface OES_texture_float_linear { }; +[Exposed=(Window,Worker)] +interface WebGLExtensionOesTextureFloatLinear { +}; @@ -47,5 +48,8 @@ interface OES_texture_float_linear { }; Ratified by Khronos Board of Promoters. + + Rename and expose prototype. + diff --git a/extensions/OES_texture_half_float/extension.xml b/extensions/OES_texture_half_float/extension.xml index 3c63336a0d..02563b1f8a 100644 --- a/extensions/OES_texture_half_float/extension.xml +++ b/extensions/OES_texture_half_float/extension.xml @@ -44,8 +44,8 @@ -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface OES_texture_half_float { +[Exposed=(Window,Worker)] +interface WebGLExtensionOesTextureHalfFloat { const GLenum HALF_FLOAT_OES = 0x8D61; }; @@ -91,5 +91,9 @@ interface OES_texture_half_float { Clarify behaviors regarding EXT_color_buffer_half_float. + + + Rename and expose prototype. + diff --git a/extensions/OES_texture_half_float_linear/extension.xml b/extensions/OES_texture_half_float_linear/extension.xml index 9f825f6d61..9e086cdc7d 100644 --- a/extensions/OES_texture_half_float_linear/extension.xml +++ b/extensions/OES_texture_half_float_linear/extension.xml @@ -29,8 +29,9 @@ -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface OES_texture_half_float_linear { }; +[Exposed=(Window,Worker)] +interface WebGLExtensionOesTextureHalfFloatLinear { +}; @@ -48,5 +49,8 @@ interface OES_texture_half_float_linear { }; Ratified by Khronos Board of Promoters. + + Rename and expose prototype. + diff --git a/extensions/OES_vertex_array_object/extension.xml b/extensions/OES_vertex_array_object/extension.xml index 7706f17a97..e1c77a3e18 100644 --- a/extensions/OES_vertex_array_object/extension.xml +++ b/extensions/OES_vertex_array_object/extension.xml @@ -17,12 +17,12 @@ -[Exposed=(Window,Worker), LegacyNoInterfaceObject] +[Exposed=(Window,Worker)] interface WebGLVertexArrayObjectOES : WebGLObject { }; -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface OES_vertex_array_object { +[Exposed=(Window,Worker)] +interface WebGLExtensionOesVertexArrayObject { const GLenum VERTEX_ARRAY_BINDING_OES = 0x85B5; WebGLVertexArrayObjectOES? createVertexArrayOES(); @@ -134,5 +134,8 @@ interface OES_vertex_array_object { Added NoInterfaceObject extended attribute to extension and WebGLVertexArrayObjectOES interface. + + Rename and expose prototype. + diff --git a/extensions/OVR_multiview2/extension.xml b/extensions/OVR_multiview2/extension.xml index 21078d0d99..036eea7786 100644 --- a/extensions/OVR_multiview2/extension.xml +++ b/extensions/OVR_multiview2/extension.xml @@ -71,8 +71,8 @@ -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface OVR_multiview2 { +[Exposed=(Window,Worker)] +interface WebGLExtensionOvrMultiview2 { const GLenum FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR = 0x9630; const GLenum FRAMEBUFFER_ATTACHMENT_TEXTURE_BASE_VIEW_INDEX_OVR = 0x9632; const GLenum MAX_VIEWS_OVR = 0x9631; @@ -248,5 +248,9 @@ interface OVR_multiview2 { s/getFramebufferStatus/checkFramebufferStatus/ + + + Rename and expose prototype. + diff --git a/extensions/WEBGL_blend_equation_advanced_coherent/extension.xml b/extensions/WEBGL_blend_equation_advanced_coherent/extension.xml index aec0575652..27c49bcf80 100644 --- a/extensions/WEBGL_blend_equation_advanced_coherent/extension.xml +++ b/extensions/WEBGL_blend_equation_advanced_coherent/extension.xml @@ -4,7 +4,7 @@ WebGL working group (public_webgl 'at' khronos.org) - + Ashley Gullen (ashley at scirra dot com) Members of the WebGL working group @@ -20,12 +20,12 @@ - +

This extension exposes the KHR_blend_equation_advanced_coherent functionality to WebGL.

CanvasRenderingContext2D provides a series of common blend functions with globalCompositeOperation, such as "multiply" and "screen". KHR_blend_equation_advanced_coherent provides, with the exception of "xor", exactly the same list of blend functions for WebGL, as detailed below:

- +
  • "multiply": MULTIPLY_KHR
  • "screen": SCREEN_KHR
  • @@ -43,9 +43,9 @@
  • "color": HSL_COLOR_KHR
  • "luminosity": HSL_LUMINOSITY_KHR
- +

These effects are useful for high-quality artistic blends. They can be implemented using shaders and rendering via an intermediate texture. However this has a high performance overhead both in draw calls and GPU bandwidth. Advanced blend modes allow a much simpler, high-performance way of implementing these blends. Using shaders rendering to an intermediate texture can be used as a fallback if this extension is not supported.

- +

Note only the coherent variant of this extension is exposed in order to eliminate the possibility of undefined behavior in KHR_blend_equation_advanced. This also simplifies the extension and removes the need to insert blend barriers during rendering.

@@ -55,8 +55,8 @@ -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface WEBGL_blend_equation_advanced_coherent { +[Exposed=(Window,Worker)] +interface WebGLExtensionWebglBlendEquationAdvancedCoherent { const GLenum MULTIPLY = 0x9294; const GLenum SCREEN = 0x9295; const GLenum OVERLAY = 0x9296; @@ -105,25 +105,29 @@ gl.getParameter(gl.BLEND_EQUATION) == ext.MULTIPLY; - + Moved to draft after WebGL F2F of September 2019 - + Forked from WEBGL_blend_equation_advanced to specify only the coherent variant - + Converted to extension XML format - - + + Revised description - - + + Original draft as a TXT file + + + Rename and expose prototype. + diff --git a/extensions/WEBGL_color_buffer_float/extension.xml b/extensions/WEBGL_color_buffer_float/extension.xml index 20f721e801..a3e3b891da 100644 --- a/extensions/WEBGL_color_buffer_float/extension.xml +++ b/extensions/WEBGL_color_buffer_float/extension.xml @@ -73,8 +73,8 @@ -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface WEBGL_color_buffer_float { +[Exposed=(Window,Worker)] +interface WebGLExtensionWebglColorBufferFloat { const GLenum RGBA32F_EXT = 0x8814; const GLenum FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT = 0x8211; const GLenum UNSIGNED_NORMALIZED_EXT = 0x8C17; @@ -141,5 +141,9 @@ interface WEBGL_color_buffer_float { Add optional RGB renderability. + + + Rename and expose prototype. + diff --git a/extensions/WEBGL_compressed_texture_astc/extension.xml b/extensions/WEBGL_compressed_texture_astc/extension.xml index dbe607ca6f..29c8ba9b00 100644 --- a/extensions/WEBGL_compressed_texture_astc/extension.xml +++ b/extensions/WEBGL_compressed_texture_astc/extension.xml @@ -15,7 +15,7 @@

- This extension exposes the compressed texture format defined in the + This extension exposes the compressed texture format defined in the KHR_texture_compression_astc_hdr OpenGL ES extension to WebGL. Consult that extension specification for behavioral definitions, including error behaviors. @@ -70,7 +70,7 @@

COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR

The byteLength of the ArrayBufferView, pixels, passed to - compressedTexImage2D or compressedTexSubImage2D must be + compressedTexImage2D or compressedTexSubImage2D must be equal to the following number of bytes:

@@ -87,7 +87,7 @@
COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR

The byteLength of the ArrayBufferView, pixels, passed to - compressedTexImage2D or compressedTexSubImage2D must be + compressedTexImage2D or compressedTexSubImage2D must be equal to the following number of bytes:

@@ -104,7 +104,7 @@
COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR

The byteLength of the ArrayBufferView, pixels, passed to - compressedTexImage2D or compressedTexSubImage2D must be + compressedTexImage2D or compressedTexSubImage2D must be equal to the following number of bytes:

@@ -121,7 +121,7 @@
COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR

The byteLength of the ArrayBufferView, pixels, passed to - compressedTexImage2D or compressedTexSubImage2D must be + compressedTexImage2D or compressedTexSubImage2D must be equal to the following number of bytes:

@@ -138,7 +138,7 @@
COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR

The byteLength of the ArrayBufferView, pixels, passed to - compressedTexImage2D or compressedTexSubImage2D must be + compressedTexImage2D or compressedTexSubImage2D must be equal to the following number of bytes:

@@ -155,7 +155,7 @@
COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR

The byteLength of the ArrayBufferView, pixels, passed to - compressedTexImage2D or compressedTexSubImage2D must be + compressedTexImage2D or compressedTexSubImage2D must be equal to the following number of bytes:

@@ -172,7 +172,7 @@
COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR

The byteLength of the ArrayBufferView, pixels, passed to - compressedTexImage2D or compressedTexSubImage2D must be + compressedTexImage2D or compressedTexSubImage2D must be equal to the following number of bytes:

@@ -189,7 +189,7 @@
COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR

The byteLength of the ArrayBufferView, pixels, passed to - compressedTexImage2D or compressedTexSubImage2D must be + compressedTexImage2D or compressedTexSubImage2D must be equal to the following number of bytes:

@@ -206,7 +206,7 @@
COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR

The byteLength of the ArrayBufferView, pixels, passed to - compressedTexImage2D or compressedTexSubImage2D must be + compressedTexImage2D or compressedTexSubImage2D must be equal to the following number of bytes:

@@ -223,7 +223,7 @@
COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR

The byteLength of the ArrayBufferView, pixels, passed to - compressedTexImage2D or compressedTexSubImage2D must be + compressedTexImage2D or compressedTexSubImage2D must be equal to the following number of bytes:

@@ -240,7 +240,7 @@
COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR

The byteLength of the ArrayBufferView, pixels, passed to - compressedTexImage2D or compressedTexSubImage2D must be + compressedTexImage2D or compressedTexSubImage2D must be equal to the following number of bytes:

@@ -257,7 +257,7 @@
COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR

The byteLength of the ArrayBufferView, pixels, passed to - compressedTexImage2D or compressedTexSubImage2D must be + compressedTexImage2D or compressedTexSubImage2D must be equal to the following number of bytes:

@@ -274,7 +274,7 @@
COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR

The byteLength of the ArrayBufferView, pixels, passed to - compressedTexImage2D or compressedTexSubImage2D must be + compressedTexImage2D or compressedTexSubImage2D must be equal to the following number of bytes:

@@ -291,7 +291,7 @@
COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR

The byteLength of the ArrayBufferView, pixels, passed to - compressedTexImage2D or compressedTexSubImage2D must be + compressedTexImage2D or compressedTexSubImage2D must be equal to the following number of bytes:

@@ -304,8 +304,8 @@ -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface WEBGL_compressed_texture_astc { +[Exposed=(Window,Worker)] +interface WebGLExtensionWebglCompressedTextureAstc { /* Compressed Texture Format */ const GLenum COMPRESSED_RGBA_ASTC_4x4_KHR = 0x93B0; const GLenum COMPRESSED_RGBA_ASTC_5x4_KHR = 0x93B1; @@ -392,7 +392,7 @@ interface WEBGL_compressed_texture_astc { COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR
- + Accepted by the internalformat parameter: @@ -431,7 +431,7 @@ interface WEBGL_compressed_texture_astc { The error INVALID_VALUE is generated by compressedTexImage2D and compressedTexSubImage2D - if the internalformat parameter is + if the internalformat parameter is COMPRESSED_RGBA_ASTC_4x4_KHR or COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR and the byteLength of the ArrayBufferView is not:
@@ -440,7 +440,7 @@ interface WEBGL_compressed_texture_astc { The error INVALID_VALUE is generated by compressedTexImage2D and compressedTexSubImage2D - if the internalformat parameter is + if the internalformat parameter is COMPRESSED_RGBA_ASTC_5x4_KHR or COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR and the byteLength of the ArrayBufferView is not:
@@ -449,7 +449,7 @@ interface WEBGL_compressed_texture_astc { The error INVALID_VALUE is generated by compressedTexImage2D and compressedTexSubImage2D - if the internalformat parameter is + if the internalformat parameter is COMPRESSED_RGBA_ASTC_5x5_KHR or COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR and the byteLength of the ArrayBufferView is not:
@@ -458,7 +458,7 @@ interface WEBGL_compressed_texture_astc { The error INVALID_VALUE is generated by compressedTexImage2D and compressedTexSubImage2D - if the internalformat parameter is + if the internalformat parameter is COMPRESSED_RGBA_ASTC_6x5_KHR or COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR and the byteLength of the ArrayBufferView is not:
@@ -467,7 +467,7 @@ interface WEBGL_compressed_texture_astc { The error INVALID_VALUE is generated by compressedTexImage2D and compressedTexSubImage2D - if the internalformat parameter is + if the internalformat parameter is COMPRESSED_RGBA_ASTC_6x6_KHR or COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR and the byteLength of the ArrayBufferView is not:
@@ -476,7 +476,7 @@ interface WEBGL_compressed_texture_astc { The error INVALID_VALUE is generated by compressedTexImage2D and compressedTexSubImage2D - if the internalformat parameter is + if the internalformat parameter is COMPRESSED_RGBA_ASTC_8x5_KHR or COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR and the byteLength of the ArrayBufferView is not:
@@ -485,7 +485,7 @@ interface WEBGL_compressed_texture_astc { The error INVALID_VALUE is generated by compressedTexImage2D and compressedTexSubImage2D - if the internalformat parameter is + if the internalformat parameter is COMPRESSED_RGBA_ASTC_8x6_KHR or COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR and the byteLength of the ArrayBufferView is not:
@@ -494,7 +494,7 @@ interface WEBGL_compressed_texture_astc { The error INVALID_VALUE is generated by compressedTexImage2D and compressedTexSubImage2D - if the internalformat parameter is + if the internalformat parameter is COMPRESSED_RGBA_ASTC_8x8_KHR or COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR and the byteLength of the ArrayBufferView is not:
@@ -503,7 +503,7 @@ interface WEBGL_compressed_texture_astc { The error INVALID_VALUE is generated by compressedTexImage2D and compressedTexSubImage2D - if the internalformat parameter is + if the internalformat parameter is COMPRESSED_RGBA_ASTC_10x5_KHR or COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR and the byteLength of the ArrayBufferView is not:
@@ -512,7 +512,7 @@ interface WEBGL_compressed_texture_astc { The error INVALID_VALUE is generated by compressedTexImage2D and compressedTexSubImage2D - if the internalformat parameter is + if the internalformat parameter is COMPRESSED_RGBA_ASTC_10x6_KHR or COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR and the byteLength of the ArrayBufferView is not:
@@ -521,7 +521,7 @@ interface WEBGL_compressed_texture_astc { The error INVALID_VALUE is generated by compressedTexImage2D and compressedTexSubImage2D - if the internalformat parameter is + if the internalformat parameter is COMPRESSED_RGBA_ASTC_10x8_KHR or COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR and the byteLength of the ArrayBufferView is not:
@@ -530,7 +530,7 @@ interface WEBGL_compressed_texture_astc { The error INVALID_VALUE is generated by compressedTexImage2D and compressedTexSubImage2D - if the internalformat parameter is + if the internalformat parameter is COMPRESSED_RGBA_ASTC_10x10_KHR or COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR and the byteLength of the ArrayBufferView is not:
@@ -539,7 +539,7 @@ interface WEBGL_compressed_texture_astc { The error INVALID_VALUE is generated by compressedTexImage2D and compressedTexSubImage2D - if the internalformat parameter is + if the internalformat parameter is COMPRESSED_RGBA_ASTC_12x10_KHR or COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR and the byteLength of the ArrayBufferView is not:
@@ -548,7 +548,7 @@ interface WEBGL_compressed_texture_astc { The error INVALID_VALUE is generated by compressedTexImage2D and compressedTexSubImage2D - if the internalformat parameter is + if the internalformat parameter is COMPRESSED_RGBA_ASTC_12x12_KHR or COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR and the byteLength of the ArrayBufferView is not:
@@ -573,5 +573,8 @@ interface WEBGL_compressed_texture_astc { Moved to community approved after discussion on public_webgl list. + + Rename and expose prototype. + diff --git a/extensions/WEBGL_compressed_texture_etc/extension.xml b/extensions/WEBGL_compressed_texture_etc/extension.xml index 2eaef30de6..72f6047626 100644 --- a/extensions/WEBGL_compressed_texture_etc/extension.xml +++ b/extensions/WEBGL_compressed_texture_etc/extension.xml @@ -92,8 +92,8 @@ -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface WEBGL_compressed_texture_etc { +[Exposed=(Window,Worker)] +interface WebGLExtensionWebglCompressedTextureEtc { /* Compressed Texture Formats */ const GLenum COMPRESSED_R11_EAC = 0x9270; const GLenum COMPRESSED_SIGNED_R11_EAC = 0x9271; @@ -107,7 +107,7 @@ interface WEBGL_compressed_texture_etc { const GLenum COMPRESSED_SRGB8_ALPHA8_ETC2_EAC = 0x9279; }; - + @@ -124,7 +124,7 @@ interface WEBGL_compressed_texture_etc { COMPRESSED_SRGB8_ALPHA8_ETC2_EAC
- + Accepted by the internalformat parameter: @@ -185,5 +185,8 @@ interface WEBGL_compressed_texture_etc { WEBGL_compressed_texture_etc after further discussion. Promoted to community approved. + + Rename and expose prototype. + diff --git a/extensions/WEBGL_compressed_texture_etc1/extension.xml b/extensions/WEBGL_compressed_texture_etc1/extension.xml index 845dcd2ec5..5f9743cb2f 100644 --- a/extensions/WEBGL_compressed_texture_etc1/extension.xml +++ b/extensions/WEBGL_compressed_texture_etc1/extension.xml @@ -14,7 +14,7 @@

- This extension exposes the compressed texture format defined in the + This extension exposes the compressed texture format defined in the OES_compressed_ETC1_RGB8_texture OpenGL ES extension to WebGL.

@@ -59,10 +59,10 @@
-[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface WEBGL_compressed_texture_etc1 { +[Exposed=(Window,Worker)] +interface WebGLExtensionWebglCompressedTextureEtc1 { /* Compressed Texture Format */ - const GLenum COMPRESSED_RGB_ETC1_WEBGL = 0x8D64; + const GLenum COMPRESSED_RGB_ETC1_WEBGL = 0x8D64; }; @@ -87,5 +87,8 @@ interface WEBGL_compressed_texture_etc1 { Added NoInterfaceObject extended attribute. + + Rename and expose prototype. + diff --git a/extensions/WEBGL_compressed_texture_pvrtc/extension.xml b/extensions/WEBGL_compressed_texture_pvrtc/extension.xml index 5f876726dd..617c0fde08 100644 --- a/extensions/WEBGL_compressed_texture_pvrtc/extension.xml +++ b/extensions/WEBGL_compressed_texture_pvrtc/extension.xml @@ -14,7 +14,7 @@

- This extension exposes the compressed texture formats defined in the + This extension exposes the compressed texture formats defined in the IMG_texture_compression_pvrtc OpenGL extension to WebGL.

@@ -74,8 +74,8 @@
-[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface WEBGL_compressed_texture_pvrtc { +[Exposed=(Window,Worker)] +interface WebGLExtensionWebglCompressedTexturePvrtc { /* Compressed Texture Formats */ const GLenum COMPRESSED_RGB_PVRTC_4BPPV1_IMG = 0x8C00; const GLenum COMPRESSED_RGB_PVRTC_2BPPV1_IMG = 0x8C01; @@ -96,5 +96,8 @@ interface WEBGL_compressed_texture_pvrtc { Added NoInterfaceObject extended attribute. + + Rename and expose prototype. + diff --git a/extensions/WEBGL_compressed_texture_s3tc/extension.xml b/extensions/WEBGL_compressed_texture_s3tc/extension.xml index a2627d1c8e..23ae1a748f 100644 --- a/extensions/WEBGL_compressed_texture_s3tc/extension.xml +++ b/extensions/WEBGL_compressed_texture_s3tc/extension.xml @@ -98,8 +98,8 @@ -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface WEBGL_compressed_texture_s3tc { +[Exposed=(Window,Worker)] +interface WebGLExtensionWebglCompressedTextureS3tc { /* Compressed Texture Formats */ const GLenum COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83F0; const GLenum COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1; @@ -126,5 +126,8 @@ interface WEBGL_compressed_texture_s3tc { Added a note about COMPRESSED_RGB_S3TC_DXT1_EXT support. + + Rename and expose prototype. + diff --git a/extensions/WEBGL_compressed_texture_s3tc_srgb/extension.xml b/extensions/WEBGL_compressed_texture_s3tc_srgb/extension.xml index 0f3be5c1c4..8f4c8e36a1 100644 --- a/extensions/WEBGL_compressed_texture_s3tc_srgb/extension.xml +++ b/extensions/WEBGL_compressed_texture_s3tc_srgb/extension.xml @@ -14,7 +14,7 @@

- This extension exposes the sRGB compressed texture formats defined in the + This extension exposes the sRGB compressed texture formats defined in the EXT_texture_compression_s3tc_srgb OpenGL extension to WebGL.

@@ -100,8 +100,8 @@
-[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface WEBGL_compressed_texture_s3tc_srgb { +[Exposed=(Window,Worker)] +interface WebGLExtensionWebglCompressedTextureS3tcSrgb { /* Compressed Texture Formats */ const GLenum COMPRESSED_SRGB_S3TC_DXT1_EXT = 0x8C4C; const GLenum COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT = 0x8C4D; @@ -122,5 +122,8 @@ interface WEBGL_compressed_texture_s3tc_srgb { Added a note about COMPRESSED_SRGB_S3TC_DXT1_EXT support. + + Rename and expose prototype. + diff --git a/extensions/WEBGL_debug_renderer_info/extension.xml b/extensions/WEBGL_debug_renderer_info/extension.xml index 808d9108fb..541c1f34d2 100644 --- a/extensions/WEBGL_debug_renderer_info/extension.xml +++ b/extensions/WEBGL_debug_renderer_info/extension.xml @@ -14,12 +14,10 @@

WebGL implementations might mask the RENDERER and VENDOR strings of the underlying graphics driver for privacy reasons. This extension exposes new tokens to query this information in a guaranteed manner for debugging purposes.

-[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface WEBGL_debug_renderer_info { - - const GLenum UNMASKED_VENDOR_WEBGL = 0x9245; - const GLenum UNMASKED_RENDERER_WEBGL = 0x9246; - +[Exposed=(Window,Worker)] +interface WebGLExtensionWebglDebugRendererInfo { + const GLenum UNMASKED_VENDOR_WEBGL = 0x9245; + const GLenum UNMASKED_RENDERER_WEBGL = 0x9246; }; @@ -91,5 +89,8 @@ interface WEBGL_debug_renderer_info { Added NoInterfaceObject extended attribute. + + Rename and expose prototype. + diff --git a/extensions/WEBGL_debug_shaders/extension.xml b/extensions/WEBGL_debug_shaders/extension.xml index 0d6e86d171..c0cbd4c627 100644 --- a/extensions/WEBGL_debug_shaders/extension.xml +++ b/extensions/WEBGL_debug_shaders/extension.xml @@ -16,11 +16,9 @@

-[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface WEBGL_debug_shaders { - - DOMString getTranslatedShaderSource(WebGLShader shader); - +[Exposed=(Window,Worker)] +interface WebGLExtensionWebglDebugShaders { + DOMString getTranslatedShaderSource(WebGLShader shader); }; @@ -75,5 +73,8 @@ interface WEBGL_debug_shaders { Added NoInterfaceObject extended attribute. + + Rename and expose prototype. + diff --git a/extensions/WEBGL_depth_texture/extension.xml b/extensions/WEBGL_depth_texture/extension.xml index 3c53f9178d..c796e49783 100644 --- a/extensions/WEBGL_depth_texture/extension.xml +++ b/extensions/WEBGL_depth_texture/extension.xml @@ -125,8 +125,8 @@ -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface WEBGL_depth_texture { +[Exposed=(Window,Worker)] +interface WebGLExtensionWebglDepthTexture { const GLenum UNSIGNED_INT_24_8_WEBGL = 0x84FA; }; @@ -264,5 +264,8 @@ interface WEBGL_depth_texture { Update ANGLE_depth_texture link. + + Rename and expose prototype. + diff --git a/extensions/WEBGL_draw_buffers/extension.xml b/extensions/WEBGL_draw_buffers/extension.xml index 653f3b34fb..11d3a1777e 100644 --- a/extensions/WEBGL_draw_buffers/extension.xml +++ b/extensions/WEBGL_draw_buffers/extension.xml @@ -100,8 +100,8 @@ -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface WEBGL_draw_buffers { +[Exposed=(Window,Worker)] +interface WebGLExtensionWebglDrawBuffers { const GLenum COLOR_ATTACHMENT0_WEBGL = 0x8CE0; const GLenum COLOR_ATTACHMENT1_WEBGL = 0x8CE1; const GLenum COLOR_ATTACHMENT2_WEBGL = 0x8CE2; @@ -188,5 +188,8 @@ interface WEBGL_draw_buffers { Revised behavior of the same image is attached to more than one color attachment point. + + Rename and expose prototype. + diff --git a/extensions/WEBGL_draw_instanced_base_vertex_base_instance/extension.xml b/extensions/WEBGL_draw_instanced_base_vertex_base_instance/extension.xml index 9f168f59de..66f49f9353 100644 --- a/extensions/WEBGL_draw_instanced_base_vertex_base_instance/extension.xml +++ b/extensions/WEBGL_draw_instanced_base_vertex_base_instance/extension.xml @@ -71,8 +71,8 @@ -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface WEBGL_draw_instanced_base_vertex_base_instance { +[Exposed=(Window,Worker)] +interface WebGLExtensionWebglDrawInstancedBaseVertexBaseInstance { undefined drawArraysInstancedBaseInstanceWEBGL( GLenum mode, GLint first, GLsizei count, GLsizei instanceCount, GLuint baseInstance); @@ -162,5 +162,8 @@ void main() { Removed GLSL extension and builtins. + + Rename and expose prototype. + diff --git a/extensions/WEBGL_lose_context/extension.xml b/extensions/WEBGL_lose_context/extension.xml index 63f5e66a24..c0e34259a9 100644 --- a/extensions/WEBGL_lose_context/extension.xml +++ b/extensions/WEBGL_lose_context/extension.xml @@ -29,8 +29,8 @@

-[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface WEBGL_lose_context { +[Exposed=(Window,Worker)] +interface WebGLExtensionWebglLoseContext { undefined loseContext(); undefined restoreContext(); }; @@ -129,5 +129,8 @@ interface WEBGL_lose_context { Clarify timelines and behavior for restoreContext(). + + Rename and expose prototype. + diff --git a/extensions/WEBGL_multi_draw/extension.xml b/extensions/WEBGL_multi_draw/extension.xml index 866a9d7187..5ddd091146 100644 --- a/extensions/WEBGL_multi_draw/extension.xml +++ b/extensions/WEBGL_multi_draw/extension.xml @@ -64,8 +64,8 @@ -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface WEBGL_multi_draw { +[Exposed=(Window,Worker)] +interface WebGLExtensionWebglMultiDraw { undefined multiDrawArraysWEBGL( GLenum mode, ([AllowShared] Int32Array or sequence<GLint>) firstsList, GLuint firstsOffset, @@ -213,5 +213,8 @@ void main() { Add [AllowShared] to all typed array arguments for compatibility with multi-threaded WebAssembly. + + Rename and expose prototype. + diff --git a/extensions/WEBGL_multi_draw_instanced_base_vertex_base_instance/extension.xml b/extensions/WEBGL_multi_draw_instanced_base_vertex_base_instance/extension.xml index 358dec3122..5094bee6fa 100644 --- a/extensions/WEBGL_multi_draw_instanced_base_vertex_base_instance/extension.xml +++ b/extensions/WEBGL_multi_draw_instanced_base_vertex_base_instance/extension.xml @@ -76,8 +76,8 @@ -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface WEBGL_multi_draw_instanced_base_vertex_base_instance { +[Exposed=(Window,Worker)] +interface WebGLExtensionWebglMultiDrawInstancedBaseVertexBaseInstance { undefined multiDrawArraysInstancedBaseInstanceWEBGL( GLenum mode, ([AllowShared] Int32Array or sequence<GLint>) firstsList, GLuint firstsOffset, @@ -203,5 +203,8 @@ void main() { Removed GLSL extension and builtins. + + Rename and expose prototype. + diff --git a/extensions/extension.xsl b/extensions/extension.xsl index aa23a01902..dd96f759b7 100644 --- a/extensions/extension.xsl +++ b/extensions/extension.xsl @@ -71,7 +71,7 @@

- +

DO NOT IMPLEMENT!!!

@@ -188,7 +188,7 @@ - + begin-logo
@@ -416,9 +416,6 @@
- - [Exposed=(Window,Worker), LegacyNoInterfaceObject]
-
interface {
diff --git a/extensions/proposals/EXT_shader_framebuffer_fetch/extension.xml b/extensions/proposals/EXT_shader_framebuffer_fetch/extension.xml index 1ab3b54b48..3737a4f2f6 100644 --- a/extensions/proposals/EXT_shader_framebuffer_fetch/extension.xml +++ b/extensions/proposals/EXT_shader_framebuffer_fetch/extension.xml @@ -21,24 +21,24 @@ - It provides a mechanism whereby a fragment shader may read existing framebuffer data as input. + It provides a mechanism whereby a fragment shader may read existing framebuffer data as input. - Prior to fragment shading, if GL_EXT_shader_framebuffer_fetch is enabled, gl_LastFragData[] is populated with the value last written to the framebuffer at the same (x,y,sample) position. + Prior to fragment shading, if GL_EXT_shader_framebuffer_fetch is enabled, gl_LastFragData[] is populated with the value last written to the framebuffer at the same (x,y,sample) position. If EXT_shader_framebuffer_fetch_non_coherent is supported, a call to FramebufferFetchBarrierEXT(void) can be made to ensure gl_LastFragData[] is populated with fragment data drawn before the barrier. - + - [Exposed=(Window,Worker), LegacyNoInterfaceObject] - interface EXT_shader_framebuffer_fetch { + [Exposed=(Window,Worker)] + interface WebGLExtensionExtShaderFramebufferFetch { }; - [Exposed=(Window,Worker), LegacyNoInterfaceObject] - interface EXT_shader_framebuffer_fetch_non_coherent { + [Exposed=(Window,Worker)] + interface WebGLExtensionExtShaderFramebufferFetchNonCoherent { undefined FramebufferFetchBarrierEXT(void); }; @@ -55,5 +55,8 @@ Initial revision. + + Rename and expose prototype. + diff --git a/extensions/proposals/WEBGL_compress_texture.html b/extensions/proposals/WEBGL_compress_texture.html index ed0b253d9e..217b48dfca 100644 --- a/extensions/proposals/WEBGL_compress_texture.html +++ b/extensions/proposals/WEBGL_compress_texture.html @@ -62,7 +62,7 @@

IDL

readonly attribute GLenum error; }; -interface WEBGL_compress_texture { +interface WebGLExtensionWebglCompressTexture { const GLenum PRESERVE_ALPHA = 0x0001; const GLenum PRESERVE_TRANSPARENCY = 0x0002; const GLenum PRESERVE_RGB = 0x0004; @@ -176,6 +176,7 @@

Revision History

  • 2011/04/04 Initial draft.
  • 2011/04/05 Fixed typos. Changed error mechanism. Added size.
  • 2012/01/03 Removed webgl module per changes to Web IDL spec
  • +
  • 2022/02/11 Rename and expose prototype.
  • diff --git a/extensions/proposals/WEBGL_debug/extension.xml b/extensions/proposals/WEBGL_debug/extension.xml index be23bc2564..6ab83b4ef1 100644 --- a/extensions/proposals/WEBGL_debug/extension.xml +++ b/extensions/proposals/WEBGL_debug/extension.xml @@ -112,8 +112,8 @@ -

    On WEBGL_debug:

    +

    On WebGLExtensionWebglDebug:

    @@ -355,5 +355,8 @@ function draw(gl, ext) { Initial revision. + + Rename and expose prototype. + diff --git a/extensions/proposals/WEBGL_dynamic_texture/extension.xml b/extensions/proposals/WEBGL_dynamic_texture/extension.xml index b3f6cab9b0..3e059363c9 100644 --- a/extensions/proposals/WEBGL_dynamic_texture/extension.xml +++ b/extensions/proposals/WEBGL_dynamic_texture/extension.xml @@ -192,8 +192,8 @@ -[Exposed=(Window,Worker), LegacyNoInterfaceObject] -interface WEBGL_dynamic_texture { +[Exposed=(Window,Worker)] +interface WebGLExtensionWebglDynamicTexture { typedef double WDTNanoTime; const GLenum TEXTURE_EXTERNAL_OES = 0x8D65; @@ -202,17 +202,17 @@ interface WEBGL_dynamic_texture { const GLenum REQUIRED_TEXTURE_IMAGE_UNITS_OES = 0x8D68; WDTStream? createStream(); - + WDTNanoTime getLastDrawingBufferPresentTime(); undefined setDrawingBufferPresentTime(WDTNanoTime pt); WDTNanoTime ustnow(); -}; // interface WEBGL_dynamic_texture +}; -

    On WEBGL_dynamic_texture:

    +

    On WebGLExtensionWebglDynamicTexture:

    Creates and returns a WDTStream object whose consumer is the @@ -314,7 +314,7 @@ interface WEBGL_dynamic_texture {

    This type is used for nanosecond time stamps and time periods.

    - + double frameTime; WDTNanoTime presentTime @@ -323,7 +323,7 @@ interface WEBGL_dynamic_texture { frame.

    - + ...

    This interface is used to manage the image stream between the @@ -360,7 +360,7 @@ interface WEBGL_dynamic_texture { following /* Uniform Types */:

    SAMPLER_EXTERNAL = 0x8D66;
  • In the alphabetical list of commands add the following :
    WDTStream? createStream(); 
    +    xml:space="preserve">WDTStream? createStream();
     WDTNanoTime getLastDrawingBufferPresentTime();
     void setDrawingBufferPresentationTime(WDTNanoTime pt);
     WDTNanoTime ustnow();
  • @@ -501,7 +501,9 @@ WDTNanoTime ustnow();

    The WDTStreamFrameInfo interface represents information about a frame acquired from a WDTStream.

    -
    [Exposed=(Window,Worker), LegacyNoInterfaceObject] interface WDTStreamFrameInfo {
    +      
    +[Exposed=(Window,Worker)]
    +interface WDTStreamFrameInfo {
       readonly attribute double frameTime;
       readonly attribute WDTNanoTime presentTime;
     };
    @@ -531,7 +533,9 @@ WDTNanoTime ustnow();

    for controlling an image stream being fed to a dynamic texture object.

    -
    [Exposed=(Window,Worker), LegacyNoInterfaceObject] interface WDTStream {
    +      
    +[Exposed=(Window,Worker)]
    +interface WDTStream {
       typedef (HTMLCanvasElement or
                HTMLImageElement or
                HTMLVideoElement) StreamSource;
    @@ -549,7 +553,7 @@ WDTNanoTime ustnow();

    readonly attribute WDTNanoTime minFrameDuration; - readonly attribute GLenum state; + readonly attribute GLenum state; attribute WDTNanotime acquireTimeout; attribute WDTNanoTime consumerLatency; @@ -800,7 +804,7 @@ WDTNanoTime ustnow();

    Note that the surrounding <script> tag is not essential; it is merely one way to include shader text in an HTML file.
    <script id="fshader" type="x-shader/x-fragment">
    -  #extension OES_EGL_image_external : enable 
    +  #extension OES_EGL_image_external : enable
       precision mediump float;
     
       uniform samplerExternalOES videoSampler;
    @@ -1320,5 +1324,9 @@ WDTNanoTime ustnow();

    Updated link to GL_NV_EGL_stream_consumer_external extension. + + + Rename and expose prototype. + diff --git a/extensions/rejected/WEBGL_subscribe_uniform/extension.xml b/extensions/rejected/WEBGL_subscribe_uniform/extension.xml index d09121cb6b..c7fbdd483e 100644 --- a/extensions/rejected/WEBGL_subscribe_uniform/extension.xml +++ b/extensions/rejected/WEBGL_subscribe_uniform/extension.xml @@ -18,26 +18,26 @@ -

    This extension exposes the ability to subscribe to a set of uniform targets +

    This extension exposes the ability to subscribe to a set of uniform targets which can be used to populate uniforms within shader programs. This extension is generic, but currently only supports mouse position as a subscription target. -

    Background: -

    The depth of the web pipeline makes it difficult to support low latency +

    Background: +

    The depth of the web pipeline makes it difficult to support low latency interaction as event information retrieved via javascript - is outdated by the time it's displayed to clients. By populating event + is outdated by the time it's displayed to clients. By populating event information later in the pipeline one can reduce perceived input latency. -

    This extension creates a new buffer type 'Valuebuffer' to +

    This extension creates a new buffer type 'Valuebuffer' to maintain the active state for predefined subscription targets. Since a mechanism for buffering uniform information isn't available pre 2.0 (UBOs) - an additional data type was needed. See 'New Types' for additional + an additional data type was needed. See 'New Types' for additional information.

    When this extension is enabled:

      -
    • This extension provides a mechanism to store mouse positional information - in buffers and defer modification of uniform variables which use mouse +
    • This extension provides a mechanism to store mouse positional information + in buffers and defer modification of uniform variables which use mouse positional information until the WebGL commands are executed.
    • -
    • This extension provides a mechanism to explicitly update mouse +
    • This extension provides a mechanism to explicitly update mouse positional information to maintain per frame consistency.
    @@ -71,21 +71,21 @@ interface WEBGL_subscribe_uniform { object.
    Returns whether an object is a + name="buffer" type="WebGLValuebuffer"/>Returns whether an object is a Valuebuffer object. Lets you use a named + name="buffer" type="WebGLValuebuffer"/>Lets you use a named Valuebuffer object. Subscribes the currently bound + name="subscription" type="GLenum"/>Subscribes the currently bound Valuebuffer object to a subscription target. Populates the currently bound + name="target" type="GLenum"/>Populates the currently bound Valuebuffer object with the state of the subscriptions to which it is subscribed. @@ -98,51 +98,51 @@ interface WEBGL_subscribe_uniform {
    - -

    This interface is used to maintain a reference to internal + +

    This interface is used to maintain a reference to internal Valuebuffer subscription states.

    -

    A Valuebuffer abstracts the mapping of subscription targets to internal - state and acts as a single storage object for subscription information (e.g. current +

    A Valuebuffer abstracts the mapping of subscription targets to internal + state and acts as a single storage object for subscription information (e.g. current mouse position). Clients can then use the objects data to populate uniform variables.

    Post WebGL API 2.0, this abstraction could exist as a layer ontop of UBOs which managers the mapping of subscription targets to internal state and the mapping - of subscription targets to offsets within the buffer. The UBO would be used to store the + of subscription targets to offsets within the buffer. The UBO would be used to store the active buffer state as well as the uniform location mapping. Clients would be required to - state all their subscription targets at once to allocate the appropriate amount of memory. + state all their subscription targets at once to allocate the appropriate amount of memory. Aside from this small change the implementation is essentially the same, with UBOs replacing Valuebuffers and relevant create, delete, bind methods being replaced. - Additionally, the inclusion of UBOs would replace the need for + Additionally, the inclusion of UBOs would replace the need for uniformValueBuffer(...).

    - -

    SUBSCRIBED_VALUES_BUFFER +

    SUBSCRIBED_VALUES_BUFFER is accepted as the target parameter to bindValuebuffer

    -

    SUBSCRIBED_VALUES_BUFFER +

    SUBSCRIBED_VALUES_BUFFER is accepted as the target parameter to subscribeValuebuffer

    -

    MOUSE_POSITION +

    MOUSE_POSITION is accepted as the subscription parameter to subscribeValuebuffer

    -

    SUBSCRIBED_VALUES_BUFFER +

    SUBSCRIBED_VALUES_BUFFER is accepted as the target parameter to populateSubscribedValues

    -

    SUBSCRIBED_VALUES_BUFFER +

    SUBSCRIBED_VALUES_BUFFER is accepted as the target parameter to uniformValuebuffer

    -

    MOUSE_POSITION +

    MOUSE_POSITION is accepted as the subscription parameter to uniformValuebuffer

    @@ -161,15 +161,15 @@ function init(gl) { ... var ext = gl.getExtension('WEBGL_subscribe_uniform'); - + // Create the value buffer and subscribe. var valuebuffer = ext.createValuebuffer(); ext.bindValuebuffer(SUBSCRIBED_VALUES_BUFFER, valuebuffer); ext.subscribeValue(MOUSE_POSITION); ... } - -function draw(gl) { + +function draw(gl) { // Populate buffer and populate uniform ext.bindValuebuffer(SUBSCRIBED_VALUES_BUFFER, valuebuffer); ext.populateSubscribedValues(SUBSCRIBED_VALUES_BUFFER); diff --git a/extensions/template/extension.xml b/extensions/template/extension.xml index 6f59d7d94f..3fce701e76 100644 --- a/extensions/template/extension.xml +++ b/extensions/template/extension.xml @@ -6,7 +6,7 @@ http://www.khronos.org/registry/webgl/extensions/ --> -