ladybird/Userland/Libraries/LibGL
Jelle Raaijmakers 2da1c1c10e LibGL: Generate the API wrappers
We now generate all LibGL API wrappers from a single API method
definition list stored in `GLAPI.json`. Since a significant portion of
the OpenGL API methods are relatively consistent variants, we take
advantage of this to generate a lot of these variants at once.

The autogenerated methods check for the non-nullness of the current
`GLContext`, and only perform an action if a `GLContext` is present.
This prevents a crash in ports like GLTron, who assume you can still
call the OpenGL API without an active context.

This increases our API wrapper method count from 211 to 356.

Fixes #15814.
2022-12-20 10:42:31 +01:00
..
Buffer LibGL: Add simple implementation of buffer objects 2022-11-26 09:38:13 +01:00
GL LibGL: Generate the API wrappers 2022-12-20 10:42:31 +01:00
Shaders LibGL: Pass generated GPU IR to GPU side compiler when linking program 2022-12-17 22:39:09 -07:00
Tex LibGL: Refactor TextureNameAllocator to a more general NameAllocator 2022-11-26 09:38:13 +01:00
Buffer.cpp LibGL: Generate GL_OUT_OF_MEMORY error in glBufferData when OOM 2022-12-07 11:46:37 +01:00
ClipPlane.cpp LibGL+LibGPU+LibSoftGPU: Implement matrix stack per texture unit 2022-09-11 22:37:07 +01:00
CMakeLists.txt LibGL: Generate the API wrappers 2022-12-20 10:42:31 +01:00
ContextParameter.cpp LibGL: Return GLboolean value in glIsEnabled 2022-10-19 22:22:58 +02:00
GLAPI.json LibGL: Generate the API wrappers 2022-12-20 10:42:31 +01:00
GLContext.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
GLContext.h LibGL: Generate the API wrappers 2022-12-20 10:42:31 +01:00
Image.cpp LibGL+LibGPU+LibSoftGPU: Implement glCopyTex(Sub)?Image2d 2022-09-11 22:37:07 +01:00
Image.h LibGL+LibGPU+LibSoftGPU: Implement texture pixel format support 2022-08-27 12:28:05 +02:00
Lighting.cpp LibGL: Implement glLightModel integer normalization 2022-12-20 10:42:31 +01:00
List.cpp LibGL: Implement missing glDeleteLists error conditions 2022-10-19 22:22:58 +02:00
Matrix.cpp LibGL+LibGPU+LibSoftGPU: Implement matrix stack per texture unit 2022-09-11 22:37:07 +01:00
NameAllocator.cpp LibGL: Remove Texture note leftovers from the NameAllocator class 2022-12-17 22:39:09 -07:00
NameAllocator.h LibGL: Refactor TextureNameAllocator to a more general NameAllocator 2022-11-26 09:38:13 +01:00
Shader.cpp LibGL+LibSoftGPU: Add GPU side shader infrastructure 2022-12-17 22:39:09 -07:00
Stencil.cpp LibGL: Split up GLContext implementation into logical units 2022-05-05 20:50:14 +02:00
Texture.cpp LibGL: Refactor TextureNameAllocator to a more general NameAllocator 2022-11-26 09:38:13 +01:00
Vertex.cpp LibGL: Use buffers in vertex pointer functions and glDrawElements 2022-11-26 09:38:13 +01:00