1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-12 02:30:30 +09:00
ladybird/Libraries/LibWeb/WebGL
Andreas Kling a6dfc74e93 LibWeb: Only set prototype once for object with IDL interface
Before this change, we were going through the chain of base classes for
each IDL interface object and having them set the prototype to their
prototype.

Instead of doing that, reorder things so that we set the right prototype
immediately in Foo::initialize(), and then don't bother in all the base
class overrides.

This knocks off a ~1% profile item on Speedometer 3.
2025-04-20 18:43:11 +02:00
..
Extensions LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
EventNames.cpp LibWeb: Remove the initialize_strings methods 2025-01-12 00:35:58 +01:00
EventNames.h LibWeb: Remove the initialize_strings methods 2025-01-12 00:35:58 +01:00
OpenGLContext.cpp LibWeb/WebGL: Reimplement OpenGLContext::clear_buffer_to_default_values 2025-02-09 01:00:51 +01:00
OpenGLContext.h LibWeb/WebGL: Map WebGL extensions to the required extensions 2025-01-21 21:36:05 +01:00
Types.h LibWeb/WebGL: Add support for ANGLEInstancedArrays extension 2024-12-20 15:31:58 +01:00
Types.idl LibWeb/WebGL: Implement vertexAttrib{1,2,3,4}fv 2024-12-13 09:19:10 +01:00
WebGL2RenderingContext.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
WebGL2RenderingContext.h LibWeb/WebGL2: Implement EXT_color_buffer_float extension 2025-03-06 12:59:28 +01:00
WebGL2RenderingContext.idl LibWeb: Add stubbed-out WebGL2RenderingContext 2024-12-06 15:35:36 +01:00
WebGL2RenderingContextBase.idl LibWeb/WebGL2: Implement getActiveUniforms 2025-02-09 01:00:51 +01:00
WebGL2RenderingContextOverloads.idl LibWeb/WebGL: Implement compressedTex(Sub)Image2D 2025-02-09 01:00:51 +01:00
WebGLActiveInfo.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
WebGLActiveInfo.h LibWeb/WebGL: Implement getActiveAttrib() and getActiveUniform() 2024-12-03 23:35:45 +01:00
WebGLActiveInfo.idl LibWeb/WebGL: Implement getActiveAttrib() and getActiveUniform() 2024-12-03 23:35:45 +01:00
WebGLBuffer.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
WebGLBuffer.h LibWeb: Save WebGL context pointer in WebGLObject 2024-12-19 13:38:43 +01:00
WebGLBuffer.idl LibWeb: Add WebGLBuffer 2024-11-13 11:41:54 +01:00
WebGLContextAttributes.cpp LibJS: Replace PropertyKey(char[]) with PropertyKey(FlyString) 2025-03-24 22:27:17 +00:00
WebGLContextAttributes.h LibWeb/WebGL: Implement getContextAttributes() 2024-12-05 09:57:10 +01:00
WebGLContextEvent.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
WebGLContextEvent.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
WebGLContextEvent.idl
WebGLFramebuffer.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
WebGLFramebuffer.h LibWeb: Save WebGL context pointer in WebGLObject 2024-12-19 13:38:43 +01:00
WebGLFramebuffer.idl LibWeb: Add WebGLFramebuffer 2024-11-13 11:41:54 +01:00
WebGLObject.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
WebGLObject.h LibWeb/WebGL: Set INVALID_OPERATION if object does not belong to context 2024-12-19 13:38:43 +01:00
WebGLObject.idl LibWeb: Add WebGLObject interface 2024-11-13 11:41:54 +01:00
WebGLProgram.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
WebGLProgram.h LibWeb/WebGL: Track the shaders attached to a program 2025-01-21 21:36:05 +01:00
WebGLProgram.idl LibWeb: Add WebGLProgram 2024-11-13 11:41:54 +01:00
WebGLQuery.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
WebGLQuery.h LibWeb: Save WebGL context pointer in WebGLObject 2024-12-19 13:38:43 +01:00
WebGLQuery.idl LibWeb/WebGL: Add stub class for WebGLQuery 2024-12-06 15:35:36 +01:00
WebGLRenderbuffer.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
WebGLRenderbuffer.h LibWeb: Save WebGL context pointer in WebGLObject 2024-12-19 13:38:43 +01:00
WebGLRenderbuffer.idl LibWeb: Add WebGLRenderbuffer 2024-11-13 11:41:54 +01:00
WebGLRenderingContext.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
WebGLRenderingContext.h LibWeb/WebGL: Implement EXT_blend_minmax extension 2025-04-07 23:21:11 +02:00
WebGLRenderingContext.idl LibWeb: Add stubbed-out WebGL2RenderingContext 2024-12-06 15:35:36 +01:00
WebGLRenderingContextBase.h LibWeb/WebGL: Implement compressedTex(Sub)Image2D 2025-02-09 01:00:51 +01:00
WebGLRenderingContextBase.idl LibWeb: Fix typos - act II 2025-04-09 15:05:20 +01:00
WebGLRenderingContextOverloads.idl LibWeb/WebGL: Implement compressedTex(Sub)Image2D 2025-02-09 01:00:51 +01:00
WebGLSampler.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
WebGLSampler.h LibWeb: Save WebGL context pointer in WebGLObject 2024-12-19 13:38:43 +01:00
WebGLSampler.idl LibWeb/WebGL: Add stub class for WebGLSampler 2024-12-06 15:35:36 +01:00
WebGLShader.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
WebGLShader.h LibWeb/WebGL: Track the shaders attached to a program 2025-01-21 21:36:05 +01:00
WebGLShader.idl LibWeb: Add WebGLShader 2024-11-13 11:41:54 +01:00
WebGLShaderPrecisionFormat.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
WebGLShaderPrecisionFormat.h LibWeb/WebGL: Implement getShaderPrecisionFormat 2024-12-05 21:27:32 +01:00
WebGLShaderPrecisionFormat.idl LibWeb/WebGL: Implement getShaderPrecisionFormat 2024-12-05 21:27:32 +01:00
WebGLSync.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
WebGLSync.h LibWeb: Save WebGL context pointer in WebGLObject 2024-12-19 13:38:43 +01:00
WebGLSync.idl LibWeb/WebGL: Add stub class for WebGLSync 2024-12-06 15:35:36 +01:00
WebGLTexture.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
WebGLTexture.h LibWeb: Save WebGL context pointer in WebGLObject 2024-12-19 13:38:43 +01:00
WebGLTexture.idl LibWeb: Add WebGLTexture 2024-11-13 11:41:54 +01:00
WebGLTransformFeedback.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
WebGLTransformFeedback.h LibWeb: Save WebGL context pointer in WebGLObject 2024-12-19 13:38:43 +01:00
WebGLTransformFeedback.idl LibWeb/WebGL: Add stub class for WebGLTransformFeedback 2024-12-06 15:35:36 +01:00
WebGLUniformLocation.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
WebGLUniformLocation.h LibWeb/WebGL: Set prototypes of the WebGL objects 2024-12-05 21:27:32 +01:00
WebGLUniformLocation.idl LibWeb: Add WebGLUniformLocation 2024-11-13 11:41:54 +01:00
WebGLVertexArrayObject.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
WebGLVertexArrayObject.h LibWeb: Save WebGL context pointer in WebGLObject 2024-12-19 13:38:43 +01:00
WebGLVertexArrayObject.idl LibWeb/WebGL: Add stub class for WebGLVertexArrayObject 2024-12-06 15:35:36 +01:00