mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-11-16 13:08:25 +00:00
All OpenGL calls now live in gpu/opengl, which is built as kitty/opengl.so, next to the glfw backends. glfw_init() is passed the path to the driver and loads it. The driver is initialized once the first OpenGL context is current. fast_data_types no longer links against libGL. kitty/gpu.c contains the driver loader and the higher level helpers (programs and their metadata, vertex array objects, viewport stack) that were previously in kitty/gl.c, implemented on top of the driver API. shaders.c and the rest of kitty use only the driver API. Also remove the unused GL_* constants and the unused bind_program, create_vao, etc. functions exported to Python. |
||
|---|---|---|
| .. | ||
| generate.py | ||