1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:48:10 +00:00
serenity/Meta/Lagom/Tools/CodeGenerators
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
..
IPCCompiler LibCore: Rename Stream::read_all to read_until_eof 2022-12-12 14:16:42 +01:00
LibEDID LibCore: Rename Stream::read_all to read_until_eof 2022-12-12 14:16:42 +01:00
LibGL LibGL: Generate the API wrappers 2022-12-20 10:42:31 +01:00
LibLocale Lagom/CodeGenerators: Use HashMap::try_ensure_capacity 2022-12-10 14:29:46 +01:00
LibTimeZone Lagom/CodeGenerators: Use HashMap::try_ensure_capacity 2022-12-10 14:29:46 +01:00
LibUnicode LibCore: Rename Stream::read_all to read_until_eof 2022-12-12 14:16:42 +01:00
LibWeb LibJS: Convert Object::construct() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
StateMachineGenerator LibCore: Rename Stream::read_all to read_until_eof 2022-12-12 14:16:42 +01:00
CMakeLists.txt LibGL: Generate the API wrappers 2022-12-20 10:42:31 +01:00