diff --git a/Libraries/LibWeb/Forward.h b/Libraries/LibWeb/Forward.h index 12a2151083e..fab75bb14d0 100644 --- a/Libraries/LibWeb/Forward.h +++ b/Libraries/LibWeb/Forward.h @@ -1353,11 +1353,6 @@ class WebGLTexture; class WebGLTransformFeedback; class WebGLUniformLocation; class WebGLVertexArrayObject; - -} - -namespace Web::WebGL::Extensions { - class ANGLEInstancedArrays; class EXTBlendMinMax; class EXTColorBufferFloat; diff --git a/Libraries/LibWeb/WebGL/Extensions/ANGLEInstancedArrays.cpp b/Libraries/LibWeb/WebGL/Extensions/ANGLEInstancedArrays.cpp index 67e6b91d4b5..25db4d0f7f0 100644 --- a/Libraries/LibWeb/WebGL/Extensions/ANGLEInstancedArrays.cpp +++ b/Libraries/LibWeb/WebGL/Extensions/ANGLEInstancedArrays.cpp @@ -15,7 +15,7 @@ #include #include -namespace Web::WebGL::Extensions { +namespace Web::WebGL { GC_DEFINE_ALLOCATOR(ANGLEInstancedArrays); diff --git a/Libraries/LibWeb/WebGL/Extensions/ANGLEInstancedArrays.h b/Libraries/LibWeb/WebGL/Extensions/ANGLEInstancedArrays.h index 826406af812..ce2bc327a3c 100644 --- a/Libraries/LibWeb/WebGL/Extensions/ANGLEInstancedArrays.h +++ b/Libraries/LibWeb/WebGL/Extensions/ANGLEInstancedArrays.h @@ -10,7 +10,7 @@ #include #include -namespace Web::WebGL::Extensions { +namespace Web::WebGL { class ANGLEInstancedArrays : public Bindings::PlatformObject { WEB_PLATFORM_OBJECT(ANGLEInstancedArrays, Bindings::PlatformObject); diff --git a/Libraries/LibWeb/WebGL/Extensions/EXTBlendMinMax.cpp b/Libraries/LibWeb/WebGL/Extensions/EXTBlendMinMax.cpp index 72ca2a0d71f..5c96c59c06f 100644 --- a/Libraries/LibWeb/WebGL/Extensions/EXTBlendMinMax.cpp +++ b/Libraries/LibWeb/WebGL/Extensions/EXTBlendMinMax.cpp @@ -11,7 +11,7 @@ #include #include -namespace Web::WebGL::Extensions { +namespace Web::WebGL { GC_DEFINE_ALLOCATOR(EXTBlendMinMax); diff --git a/Libraries/LibWeb/WebGL/Extensions/EXTBlendMinMax.h b/Libraries/LibWeb/WebGL/Extensions/EXTBlendMinMax.h index c4d5f27c2d6..c8ae3aefc41 100644 --- a/Libraries/LibWeb/WebGL/Extensions/EXTBlendMinMax.h +++ b/Libraries/LibWeb/WebGL/Extensions/EXTBlendMinMax.h @@ -9,7 +9,7 @@ #include #include -namespace Web::WebGL::Extensions { +namespace Web::WebGL { class EXTBlendMinMax : public Bindings::PlatformObject { WEB_PLATFORM_OBJECT(EXTBlendMinMax, Bindings::PlatformObject); diff --git a/Libraries/LibWeb/WebGL/Extensions/EXTColorBufferFloat.cpp b/Libraries/LibWeb/WebGL/Extensions/EXTColorBufferFloat.cpp index 14892925873..4dff63f4e37 100644 --- a/Libraries/LibWeb/WebGL/Extensions/EXTColorBufferFloat.cpp +++ b/Libraries/LibWeb/WebGL/Extensions/EXTColorBufferFloat.cpp @@ -11,7 +11,7 @@ #include #include -namespace Web::WebGL::Extensions { +namespace Web::WebGL { GC_DEFINE_ALLOCATOR(EXTColorBufferFloat); diff --git a/Libraries/LibWeb/WebGL/Extensions/EXTColorBufferFloat.h b/Libraries/LibWeb/WebGL/Extensions/EXTColorBufferFloat.h index 77a9a9de330..c327d726384 100644 --- a/Libraries/LibWeb/WebGL/Extensions/EXTColorBufferFloat.h +++ b/Libraries/LibWeb/WebGL/Extensions/EXTColorBufferFloat.h @@ -9,7 +9,7 @@ #include #include -namespace Web::WebGL::Extensions { +namespace Web::WebGL { class EXTColorBufferFloat : public Bindings::PlatformObject { WEB_PLATFORM_OBJECT(EXTColorBufferFloat, Bindings::PlatformObject); diff --git a/Libraries/LibWeb/WebGL/Extensions/EXTRenderSnorm.cpp b/Libraries/LibWeb/WebGL/Extensions/EXTRenderSnorm.cpp index f21653b9671..29c1a684abd 100644 --- a/Libraries/LibWeb/WebGL/Extensions/EXTRenderSnorm.cpp +++ b/Libraries/LibWeb/WebGL/Extensions/EXTRenderSnorm.cpp @@ -11,7 +11,7 @@ #include #include -namespace Web::WebGL::Extensions { +namespace Web::WebGL { GC_DEFINE_ALLOCATOR(EXTRenderSnorm); diff --git a/Libraries/LibWeb/WebGL/Extensions/EXTRenderSnorm.h b/Libraries/LibWeb/WebGL/Extensions/EXTRenderSnorm.h index 8c6d35c9d72..260dfa7368d 100644 --- a/Libraries/LibWeb/WebGL/Extensions/EXTRenderSnorm.h +++ b/Libraries/LibWeb/WebGL/Extensions/EXTRenderSnorm.h @@ -9,7 +9,7 @@ #include #include -namespace Web::WebGL::Extensions { +namespace Web::WebGL { class EXTRenderSnorm : public Bindings::PlatformObject { WEB_PLATFORM_OBJECT(EXTRenderSnorm, Bindings::PlatformObject); diff --git a/Libraries/LibWeb/WebGL/Extensions/EXTTextureFilterAnisotropic.cpp b/Libraries/LibWeb/WebGL/Extensions/EXTTextureFilterAnisotropic.cpp index f9314cd7fb7..52356548eaf 100644 --- a/Libraries/LibWeb/WebGL/Extensions/EXTTextureFilterAnisotropic.cpp +++ b/Libraries/LibWeb/WebGL/Extensions/EXTTextureFilterAnisotropic.cpp @@ -11,7 +11,7 @@ #include #include -namespace Web::WebGL::Extensions { +namespace Web::WebGL { GC_DEFINE_ALLOCATOR(EXTTextureFilterAnisotropic); diff --git a/Libraries/LibWeb/WebGL/Extensions/EXTTextureFilterAnisotropic.h b/Libraries/LibWeb/WebGL/Extensions/EXTTextureFilterAnisotropic.h index eeb8d0b209b..813bd2ab915 100644 --- a/Libraries/LibWeb/WebGL/Extensions/EXTTextureFilterAnisotropic.h +++ b/Libraries/LibWeb/WebGL/Extensions/EXTTextureFilterAnisotropic.h @@ -9,7 +9,7 @@ #include #include -namespace Web::WebGL::Extensions { +namespace Web::WebGL { class EXTTextureFilterAnisotropic : public Bindings::PlatformObject { WEB_PLATFORM_OBJECT(EXTTextureFilterAnisotropic, Bindings::PlatformObject); diff --git a/Libraries/LibWeb/WebGL/Extensions/EXTTextureNorm16.cpp b/Libraries/LibWeb/WebGL/Extensions/EXTTextureNorm16.cpp index d75595c8ca3..2ed39c6192d 100644 --- a/Libraries/LibWeb/WebGL/Extensions/EXTTextureNorm16.cpp +++ b/Libraries/LibWeb/WebGL/Extensions/EXTTextureNorm16.cpp @@ -11,7 +11,7 @@ #include #include -namespace Web::WebGL::Extensions { +namespace Web::WebGL { GC_DEFINE_ALLOCATOR(EXTTextureNorm16); diff --git a/Libraries/LibWeb/WebGL/Extensions/EXTTextureNorm16.h b/Libraries/LibWeb/WebGL/Extensions/EXTTextureNorm16.h index efa1495e812..c86c41e1a50 100644 --- a/Libraries/LibWeb/WebGL/Extensions/EXTTextureNorm16.h +++ b/Libraries/LibWeb/WebGL/Extensions/EXTTextureNorm16.h @@ -9,7 +9,7 @@ #include #include -namespace Web::WebGL::Extensions { +namespace Web::WebGL { class EXTTextureNorm16 : public Bindings::PlatformObject { WEB_PLATFORM_OBJECT(EXTTextureNorm16, Bindings::PlatformObject); diff --git a/Libraries/LibWeb/WebGL/Extensions/OESElementIndexUint.cpp b/Libraries/LibWeb/WebGL/Extensions/OESElementIndexUint.cpp index 5960ea1b230..4f729446c60 100644 --- a/Libraries/LibWeb/WebGL/Extensions/OESElementIndexUint.cpp +++ b/Libraries/LibWeb/WebGL/Extensions/OESElementIndexUint.cpp @@ -11,7 +11,7 @@ #include #include -namespace Web::WebGL::Extensions { +namespace Web::WebGL { GC_DEFINE_ALLOCATOR(OESElementIndexUint); diff --git a/Libraries/LibWeb/WebGL/Extensions/OESElementIndexUint.h b/Libraries/LibWeb/WebGL/Extensions/OESElementIndexUint.h index 0231a35f2a9..5698e919cfc 100644 --- a/Libraries/LibWeb/WebGL/Extensions/OESElementIndexUint.h +++ b/Libraries/LibWeb/WebGL/Extensions/OESElementIndexUint.h @@ -9,7 +9,7 @@ #include #include -namespace Web::WebGL::Extensions { +namespace Web::WebGL { class OESElementIndexUint : public Bindings::PlatformObject { WEB_PLATFORM_OBJECT(OESElementIndexUint, Bindings::PlatformObject); diff --git a/Libraries/LibWeb/WebGL/Extensions/OESStandardDerivatives.cpp b/Libraries/LibWeb/WebGL/Extensions/OESStandardDerivatives.cpp index b932c1fd695..8cdc7334e5a 100644 --- a/Libraries/LibWeb/WebGL/Extensions/OESStandardDerivatives.cpp +++ b/Libraries/LibWeb/WebGL/Extensions/OESStandardDerivatives.cpp @@ -11,7 +11,7 @@ #include #include -namespace Web::WebGL::Extensions { +namespace Web::WebGL { GC_DEFINE_ALLOCATOR(OESStandardDerivatives); diff --git a/Libraries/LibWeb/WebGL/Extensions/OESStandardDerivatives.h b/Libraries/LibWeb/WebGL/Extensions/OESStandardDerivatives.h index 7f470d18728..46238e7d051 100644 --- a/Libraries/LibWeb/WebGL/Extensions/OESStandardDerivatives.h +++ b/Libraries/LibWeb/WebGL/Extensions/OESStandardDerivatives.h @@ -9,7 +9,7 @@ #include #include -namespace Web::WebGL::Extensions { +namespace Web::WebGL { class OESStandardDerivatives : public Bindings::PlatformObject { WEB_PLATFORM_OBJECT(OESStandardDerivatives, Bindings::PlatformObject); diff --git a/Libraries/LibWeb/WebGL/Extensions/OESVertexArrayObject.cpp b/Libraries/LibWeb/WebGL/Extensions/OESVertexArrayObject.cpp index a8e0a4a007d..7c9a3b00aa8 100644 --- a/Libraries/LibWeb/WebGL/Extensions/OESVertexArrayObject.cpp +++ b/Libraries/LibWeb/WebGL/Extensions/OESVertexArrayObject.cpp @@ -16,7 +16,7 @@ #include #include -namespace Web::WebGL::Extensions { +namespace Web::WebGL { GC_DEFINE_ALLOCATOR(OESVertexArrayObject); diff --git a/Libraries/LibWeb/WebGL/Extensions/OESVertexArrayObject.h b/Libraries/LibWeb/WebGL/Extensions/OESVertexArrayObject.h index 56bd85521cc..4ca892572b9 100644 --- a/Libraries/LibWeb/WebGL/Extensions/OESVertexArrayObject.h +++ b/Libraries/LibWeb/WebGL/Extensions/OESVertexArrayObject.h @@ -10,7 +10,7 @@ #include #include -namespace Web::WebGL::Extensions { +namespace Web::WebGL { class OESVertexArrayObject : public Bindings::PlatformObject { WEB_PLATFORM_OBJECT(OESVertexArrayObject, Bindings::PlatformObject); diff --git a/Libraries/LibWeb/WebGL/Extensions/WebGLCompressedTextureS3tc.cpp b/Libraries/LibWeb/WebGL/Extensions/WebGLCompressedTextureS3tc.cpp index df5875cfa5c..83ec625615e 100644 --- a/Libraries/LibWeb/WebGL/Extensions/WebGLCompressedTextureS3tc.cpp +++ b/Libraries/LibWeb/WebGL/Extensions/WebGLCompressedTextureS3tc.cpp @@ -14,7 +14,7 @@ #include #include -namespace Web::WebGL::Extensions { +namespace Web::WebGL { GC_DEFINE_ALLOCATOR(WebGLCompressedTextureS3tc); diff --git a/Libraries/LibWeb/WebGL/Extensions/WebGLCompressedTextureS3tc.h b/Libraries/LibWeb/WebGL/Extensions/WebGLCompressedTextureS3tc.h index 5af54d9562f..fd2aa8807e3 100644 --- a/Libraries/LibWeb/WebGL/Extensions/WebGLCompressedTextureS3tc.h +++ b/Libraries/LibWeb/WebGL/Extensions/WebGLCompressedTextureS3tc.h @@ -9,7 +9,7 @@ #include #include -namespace Web::WebGL::Extensions { +namespace Web::WebGL { class WebGLCompressedTextureS3tc : public Bindings::PlatformObject { WEB_PLATFORM_OBJECT(WebGLCompressedTextureS3tc, Bindings::PlatformObject); diff --git a/Libraries/LibWeb/WebGL/Extensions/WebGLCompressedTextureS3tcSrgb.cpp b/Libraries/LibWeb/WebGL/Extensions/WebGLCompressedTextureS3tcSrgb.cpp index 48c60109db5..72a0bed3317 100644 --- a/Libraries/LibWeb/WebGL/Extensions/WebGLCompressedTextureS3tcSrgb.cpp +++ b/Libraries/LibWeb/WebGL/Extensions/WebGLCompressedTextureS3tcSrgb.cpp @@ -14,7 +14,7 @@ #include #include -namespace Web::WebGL::Extensions { +namespace Web::WebGL { GC_DEFINE_ALLOCATOR(WebGLCompressedTextureS3tcSrgb); diff --git a/Libraries/LibWeb/WebGL/Extensions/WebGLCompressedTextureS3tcSrgb.h b/Libraries/LibWeb/WebGL/Extensions/WebGLCompressedTextureS3tcSrgb.h index 1df323f3051..21c01afe9bb 100644 --- a/Libraries/LibWeb/WebGL/Extensions/WebGLCompressedTextureS3tcSrgb.h +++ b/Libraries/LibWeb/WebGL/Extensions/WebGLCompressedTextureS3tcSrgb.h @@ -9,7 +9,7 @@ #include #include -namespace Web::WebGL::Extensions { +namespace Web::WebGL { class WebGLCompressedTextureS3tcSrgb : public Bindings::PlatformObject { WEB_PLATFORM_OBJECT(WebGLCompressedTextureS3tcSrgb, Bindings::PlatformObject); diff --git a/Libraries/LibWeb/WebGL/Extensions/WebGLDebugRendererInfo.cpp b/Libraries/LibWeb/WebGL/Extensions/WebGLDebugRendererInfo.cpp index 9aec0109e9d..303c11154b0 100644 --- a/Libraries/LibWeb/WebGL/Extensions/WebGLDebugRendererInfo.cpp +++ b/Libraries/LibWeb/WebGL/Extensions/WebGLDebugRendererInfo.cpp @@ -10,7 +10,7 @@ #include #include -namespace Web::WebGL::Extensions { +namespace Web::WebGL { GC_DEFINE_ALLOCATOR(WebGLDebugRendererInfo); diff --git a/Libraries/LibWeb/WebGL/Extensions/WebGLDebugRendererInfo.h b/Libraries/LibWeb/WebGL/Extensions/WebGLDebugRendererInfo.h index 4a4fb5e0bf0..98a02db22ba 100644 --- a/Libraries/LibWeb/WebGL/Extensions/WebGLDebugRendererInfo.h +++ b/Libraries/LibWeb/WebGL/Extensions/WebGLDebugRendererInfo.h @@ -9,7 +9,7 @@ #include #include -namespace Web::WebGL::Extensions { +namespace Web::WebGL { class WebGLDebugRendererInfo : public Bindings::PlatformObject { WEB_PLATFORM_OBJECT(WebGLDebugRendererInfo, Bindings::PlatformObject); diff --git a/Libraries/LibWeb/WebGL/Extensions/WebGLDrawBuffers.cpp b/Libraries/LibWeb/WebGL/Extensions/WebGLDrawBuffers.cpp index 375769c3532..4168b67f21d 100644 --- a/Libraries/LibWeb/WebGL/Extensions/WebGLDrawBuffers.cpp +++ b/Libraries/LibWeb/WebGL/Extensions/WebGLDrawBuffers.cpp @@ -15,7 +15,7 @@ #include #include -namespace Web::WebGL::Extensions { +namespace Web::WebGL { GC_DEFINE_ALLOCATOR(WebGLDrawBuffers); diff --git a/Libraries/LibWeb/WebGL/Extensions/WebGLDrawBuffers.h b/Libraries/LibWeb/WebGL/Extensions/WebGLDrawBuffers.h index 5a3948050ba..f3420475da1 100644 --- a/Libraries/LibWeb/WebGL/Extensions/WebGLDrawBuffers.h +++ b/Libraries/LibWeb/WebGL/Extensions/WebGLDrawBuffers.h @@ -10,7 +10,7 @@ #include #include -namespace Web::WebGL::Extensions { +namespace Web::WebGL { class WebGLDrawBuffers : public Bindings::PlatformObject { WEB_PLATFORM_OBJECT(WebGLDrawBuffers, Bindings::PlatformObject); diff --git a/Libraries/LibWeb/WebGL/Extensions/WebGLVertexArrayObjectOES.cpp b/Libraries/LibWeb/WebGL/Extensions/WebGLVertexArrayObjectOES.cpp index eb3aa3f3b75..6f8f84833d0 100644 --- a/Libraries/LibWeb/WebGL/Extensions/WebGLVertexArrayObjectOES.cpp +++ b/Libraries/LibWeb/WebGL/Extensions/WebGLVertexArrayObjectOES.cpp @@ -10,7 +10,7 @@ #include #include -namespace Web::WebGL::Extensions { +namespace Web::WebGL { GC_DEFINE_ALLOCATOR(WebGLVertexArrayObjectOES); diff --git a/Libraries/LibWeb/WebGL/Extensions/WebGLVertexArrayObjectOES.h b/Libraries/LibWeb/WebGL/Extensions/WebGLVertexArrayObjectOES.h index 32dff7e4e9a..8cfc7d0d562 100644 --- a/Libraries/LibWeb/WebGL/Extensions/WebGLVertexArrayObjectOES.h +++ b/Libraries/LibWeb/WebGL/Extensions/WebGLVertexArrayObjectOES.h @@ -10,7 +10,7 @@ #include #include -namespace Web::WebGL::Extensions { +namespace Web::WebGL { class WebGLVertexArrayObjectOES : public WebGLObject { WEB_PLATFORM_OBJECT(WebGLVertexArrayObjectOES, WebGLObject); diff --git a/Libraries/LibWeb/WebGL/WebGLRenderingContextBase.cpp b/Libraries/LibWeb/WebGL/WebGLRenderingContextBase.cpp index 47c1efb9ecb..827239616e3 100644 --- a/Libraries/LibWeb/WebGL/WebGLRenderingContextBase.cpp +++ b/Libraries/LibWeb/WebGL/WebGLRenderingContextBase.cpp @@ -112,28 +112,28 @@ struct Extension { static HashMap s_available_webgl_extensions { // Khronos ratified WebGL Extensions - { "ANGLE_instanced_arrays"_string, { { "GL_ANGLE_instanced_arrays"sv }, Extensions::ANGLEInstancedArrays::create, OpenGLContext::WebGLVersion::WebGL1 } }, - { "EXT_blend_minmax"_string, { { "GL_EXT_blend_minmax"sv }, Extensions::EXTBlendMinMax::create, OpenGLContext::WebGLVersion::WebGL1 } }, + { "ANGLE_instanced_arrays"_string, { { "GL_ANGLE_instanced_arrays"sv }, ANGLEInstancedArrays::create, OpenGLContext::WebGLVersion::WebGL1 } }, + { "EXT_blend_minmax"_string, { { "GL_EXT_blend_minmax"sv }, EXTBlendMinMax::create, OpenGLContext::WebGLVersion::WebGL1 } }, { "EXT_frag_depth"_string, { { "GL_EXT_frag_depth"sv }, nullptr, OpenGLContext::WebGLVersion::WebGL1 } }, { "EXT_shader_texture_lod"_string, { { "GL_EXT_shader_texture_lod"sv }, nullptr, OpenGLContext::WebGLVersion::WebGL1 } }, - { "EXT_texture_filter_anisotropic"_string, { { "GL_EXT_texture_filter_anisotropic"sv }, Extensions::EXTTextureFilterAnisotropic::create } }, - { "OES_element_index_uint"_string, { { "GL_OES_element_index_uint"sv }, Extensions::OESElementIndexUint::create, OpenGLContext::WebGLVersion::WebGL1 } }, - { "OES_standard_derivatives"_string, { { "GL_OES_standard_derivatives"sv }, Extensions::OESStandardDerivatives::create, OpenGLContext::WebGLVersion::WebGL1 } }, + { "EXT_texture_filter_anisotropic"_string, { { "GL_EXT_texture_filter_anisotropic"sv }, EXTTextureFilterAnisotropic::create } }, + { "OES_element_index_uint"_string, { { "GL_OES_element_index_uint"sv }, OESElementIndexUint::create, OpenGLContext::WebGLVersion::WebGL1 } }, + { "OES_standard_derivatives"_string, { { "GL_OES_standard_derivatives"sv }, OESStandardDerivatives::create, OpenGLContext::WebGLVersion::WebGL1 } }, { "OES_texture_float"_string, { { "GL_OES_texture_float"sv }, nullptr, OpenGLContext::WebGLVersion::WebGL1 } }, { "OES_texture_float_linear"_string, { { "GL_OES_texture_float_linear"sv }, nullptr } }, { "OES_texture_half_float"_string, { { "GL_OES_texture_half_float"sv }, nullptr, OpenGLContext::WebGLVersion::WebGL1 } }, { "OES_texture_half_float_linear"_string, { { "GL_OES_texture_half_float_linear"sv }, nullptr, OpenGLContext::WebGLVersion::WebGL1 } }, - { "OES_vertex_array_object"_string, { { "GL_OES_vertex_array_object"sv }, Extensions::OESVertexArrayObject::create, OpenGLContext::WebGLVersion::WebGL1 } }, - { "WEBGL_compressed_texture_s3tc"_string, { { "GL_EXT_texture_compression_dxt1"sv, "GL_ANGLE_texture_compression_dxt3"sv, "GL_ANGLE_texture_compression_dxt5"sv }, Extensions::WebGLCompressedTextureS3tc::create } }, - { "WEBGL_debug_renderer_info"_string, { {}, Extensions::WebGLDebugRendererInfo::create } }, + { "OES_vertex_array_object"_string, { { "GL_OES_vertex_array_object"sv }, OESVertexArrayObject::create, OpenGLContext::WebGLVersion::WebGL1 } }, + { "WEBGL_compressed_texture_s3tc"_string, { { "GL_EXT_texture_compression_dxt1"sv, "GL_ANGLE_texture_compression_dxt3"sv, "GL_ANGLE_texture_compression_dxt5"sv }, WebGLCompressedTextureS3tc::create } }, + { "WEBGL_debug_renderer_info"_string, { {}, WebGLDebugRendererInfo::create } }, { "WEBGL_debug_shaders"_string, { {}, nullptr } }, { "WEBGL_depth_texture"_string, { { "GL_ANGLE_depth_texture"sv }, nullptr, OpenGLContext::WebGLVersion::WebGL1 } }, - { "WEBGL_draw_buffers"_string, { { "GL_EXT_draw_buffers"sv }, Extensions::WebGLDrawBuffers::create, OpenGLContext::WebGLVersion::WebGL1 } }, + { "WEBGL_draw_buffers"_string, { { "GL_EXT_draw_buffers"sv }, WebGLDrawBuffers::create, OpenGLContext::WebGLVersion::WebGL1 } }, { "WEBGL_lose_context"_string, { {}, nullptr } }, // Community approved WebGL Extensions { "EXT_clip_control"_string, { { "GL_EXT_clip_control"sv }, nullptr } }, - { "EXT_color_buffer_float"_string, { { "GL_EXT_color_buffer_float"sv }, Extensions::EXTColorBufferFloat::create, OpenGLContext::WebGLVersion::WebGL2 } }, + { "EXT_color_buffer_float"_string, { { "GL_EXT_color_buffer_float"sv }, EXTColorBufferFloat::create, OpenGLContext::WebGLVersion::WebGL2 } }, { "EXT_color_buffer_half_float"_string, { { "GL_EXT_color_buffer_half_float"sv }, nullptr } }, { "EXT_conservative_depth"_string, { { "GL_EXT_conservative_depth"sv }, nullptr, OpenGLContext::WebGLVersion::WebGL2 } }, { "EXT_depth_clamp"_string, { { "GL_EXT_depth_clamp"sv }, nullptr } }, @@ -141,12 +141,12 @@ static HashMap s_availa { "EXT_disjoint_timer_query_webgl2"_string, { { "GL_EXT_disjoint_timer_query"sv }, nullptr, OpenGLContext::WebGLVersion::WebGL2 } }, { "EXT_float_blend"_string, { { "GL_EXT_float_blend"sv }, nullptr } }, { "EXT_polygon_offset_clamp"_string, { { "GL_EXT_polygon_offset_clamp"sv }, nullptr } }, - { "EXT_render_snorm"_string, { { "GL_EXT_render_snorm"sv }, Extensions::EXTRenderSnorm::create, OpenGLContext::WebGLVersion::WebGL2 } }, + { "EXT_render_snorm"_string, { { "GL_EXT_render_snorm"sv }, EXTRenderSnorm::create, OpenGLContext::WebGLVersion::WebGL2 } }, { "EXT_sRGB"_string, { { "GL_EXT_sRGB"sv }, nullptr, OpenGLContext::WebGLVersion::WebGL1 } }, { "EXT_texture_compression_bptc"_string, { { "GL_EXT_texture_compression_bptc"sv }, nullptr } }, { "EXT_texture_compression_rgtc"_string, { { "GL_EXT_texture_compression_rgtc"sv }, nullptr } }, { "EXT_texture_mirror_clamp_to_edge"_string, { { "GL_EXT_texture_mirror_clamp_to_edge"sv }, nullptr } }, - { "EXT_texture_norm16"_string, { { "GL_EXT_texture_norm16"sv }, Extensions::EXTTextureNorm16::create, OpenGLContext::WebGLVersion::WebGL2 } }, + { "EXT_texture_norm16"_string, { { "GL_EXT_texture_norm16"sv }, EXTTextureNorm16::create, OpenGLContext::WebGLVersion::WebGL2 } }, { "KHR_parallel_shader_compile"_string, { { "GL_KHR_parallel_shader_compile"sv }, nullptr } }, { "NV_shader_noperspective_interpolation"_string, { { "GL_NV_shader_noperspective_interpolation"sv }, nullptr, OpenGLContext::WebGLVersion::WebGL2 } }, { "OES_draw_buffers_indexed"_string, { { "GL_OES_draw_buffers_indexed"sv }, nullptr } }, @@ -161,7 +161,7 @@ static HashMap s_availa { "WEBGL_compressed_texture_etc"_string, { { "GL_ANGLE_compressed_texture_etc"sv }, nullptr } }, { "WEBGL_compressed_texture_etc1"_string, { { "GL_OES_compressed_ETC1_RGB8_texture"sv }, nullptr } }, { "WEBGL_compressed_texture_pvrtc"_string, { { "GL_IMG_texture_compression_pvrtc"sv }, nullptr } }, - { "WEBGL_compressed_texture_s3tc_srgb"_string, { { "GL_EXT_texture_compression_s3tc_srgb"sv }, Extensions::WebGLCompressedTextureS3tcSrgb::create } }, + { "WEBGL_compressed_texture_s3tc_srgb"_string, { { "GL_EXT_texture_compression_s3tc_srgb"sv }, WebGLCompressedTextureS3tcSrgb::create } }, { "WEBGL_multi_draw"_string, { { "GL_ANGLE_multi_draw"sv }, nullptr } }, { "WEBGL_polygon_mode"_string, { { "GL_ANGLE_polygon_mode"sv }, nullptr } }, { "WEBGL_provoking_vertex"_string, { { "GL_ANGLE_provoking_vertex"sv }, nullptr, OpenGLContext::WebGLVersion::WebGL2 } }, diff --git a/Meta/Lagom/Tools/CodeGenerators/LibWeb/BindingsGenerator/IDLGenerators.cpp b/Meta/Lagom/Tools/CodeGenerators/LibWeb/BindingsGenerator/IDLGenerators.cpp index ea678bd240f..c4341f7265d 100644 --- a/Meta/Lagom/Tools/CodeGenerators/LibWeb/BindingsGenerator/IDLGenerators.cpp +++ b/Meta/Lagom/Tools/CodeGenerators/LibWeb/BindingsGenerator/IDLGenerators.cpp @@ -5305,7 +5305,6 @@ using namespace Web::UserTiming; using namespace Web::WebAssembly; using namespace Web::WebAudio; using namespace Web::WebGL; -using namespace Web::WebGL::Extensions; using namespace Web::WebIDL; using namespace Web::WebVTT; using namespace Web::WebXR;