diff options
author | Jelle Raaijmakers <jelle@gmta.nl> | 2022-12-05 17:09:03 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-12-20 10:42:31 +0100 |
commit | 2da1c1c10e23e8a0857d6a977a59284b55103719 (patch) | |
tree | 5dd5b0d6a4897aab1066afc7c208f1a207d3d647 /AK | |
parent | 8c094699dbb9e409e6ee0d82412f1f81372e35fe (diff) | |
download | serenity-2da1c1c10e23e8a0857d6a977a59284b55103719.zip |
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.
Diffstat (limited to 'AK')
0 files changed, 0 insertions, 0 deletions