mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-11-19 14:45:29 +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. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| __main__.py | ||
| apc_parsers.py | ||
| bitfields.py | ||
| color_names.py | ||
| config.py | ||
| cursors.py | ||
| go_code.py | ||
| key_constants.py | ||
| README.rst | ||
| rowcolumn-diacritics.txt | ||
| srgb_lut.py | ||
| wcwidth.py | ||
Scripts to generate code for various things like keys, mouse cursors, unicode data etc. Some of these generate code that is checked into version control. Some generate ephemeral code used during builds. Ephemeral code is in files with a _generated.[h|go|c] extension.