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
EventNames.h
OpenGLContext.cpp
OpenGLContext.h
Types.h
Types.idl
WebGL2RenderingContext.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
WebGL2RenderingContext.h
WebGL2RenderingContext.idl
WebGL2RenderingContextBase.idl
WebGL2RenderingContextOverloads.idl
WebGLActiveInfo.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
WebGLActiveInfo.h
WebGLActiveInfo.idl
WebGLBuffer.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
WebGLBuffer.h
WebGLBuffer.idl
WebGLContextAttributes.cpp
WebGLContextAttributes.h
WebGLContextEvent.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
WebGLContextEvent.h
WebGLContextEvent.idl
WebGLFramebuffer.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
WebGLFramebuffer.h
WebGLFramebuffer.idl
WebGLObject.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
WebGLObject.h
WebGLObject.idl
WebGLProgram.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
WebGLProgram.h
WebGLProgram.idl
WebGLQuery.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
WebGLQuery.h
WebGLQuery.idl
WebGLRenderbuffer.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
WebGLRenderbuffer.h
WebGLRenderbuffer.idl
WebGLRenderingContext.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
WebGLRenderingContext.h
WebGLRenderingContext.idl
WebGLRenderingContextBase.h
WebGLRenderingContextBase.idl LibWeb: Fix typos - act II 2025-04-09 15:05:20 +01:00
WebGLRenderingContextOverloads.idl
WebGLSampler.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
WebGLSampler.h
WebGLSampler.idl
WebGLShader.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
WebGLShader.h
WebGLShader.idl
WebGLShaderPrecisionFormat.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
WebGLShaderPrecisionFormat.h
WebGLShaderPrecisionFormat.idl
WebGLSync.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
WebGLSync.h
WebGLSync.idl
WebGLTexture.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
WebGLTexture.h
WebGLTexture.idl
WebGLTransformFeedback.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
WebGLTransformFeedback.h
WebGLTransformFeedback.idl
WebGLUniformLocation.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
WebGLUniformLocation.h
WebGLUniformLocation.idl
WebGLVertexArrayObject.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
WebGLVertexArrayObject.h
WebGLVertexArrayObject.idl