kitty/kitty
Kovid Goyal a7d0537a19
Move the kitty OpenGL code into a dynamically loaded GPU driver
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.
2026-11-19 07:35:30 +05:30
..
conf
fonts
launcher
layout Show bell indicator on the active tab when the OS window is unfocused 2026-11-16 20:36:28 +05:30
options Fix #10858 2026-11-14 08:16:53 +05:30
rc Allow resizing docks 2026-11-13 19:44:03 +05:30
shaders Custom shaders: Add screen-shake shaders for the bell 2026-11-05 14:32:45 +05:30
__init__.py
actions.py
animation-parse.h
animation.c
animation.h
arches.h
arena.h
backtrace.h
banned.h
base64.h dnd: Accept base64 payloads with trailing padding 2026-10-30 18:16:47 +05:30
bash.py
binary.h
borders.py
boss.py Show bell indicator on the active tab when the OS window is unfocused 2026-11-16 20:36:28 +05:30
char-props-data.h
char-props.c
char-props.h
charsets.c
charsets.h
child-monitor.c Move the kitty OpenGL code into a dynamically loaded GPU driver 2026-11-19 07:35:30 +05:30
child.c Remove obsolete pre-3.7 Python compatibility branches 2026-11-10 00:01:50 +08:00
child.py Avoid caching helper PIDs for launch wrappers 2026-11-18 12:04:49 +08:00
choose_entry.py
cleanup.c
cleanup.h
cli.py Add nightly version to version string for nightly builds. Fixes #10751 2026-10-27 10:43:51 +05:30
cli_stub.py
client.py
clipboard.py
cocoa_window.h Workaround for OS Window focus on notification in macOS when there are multiple kitty instances 2026-11-04 20:26:50 +05:30
cocoa_window.m autoformat 2026-11-04 20:30:08 +05:30
color-names.h
colors.c get-colors: Report cursor text color as cursor_text_color 2026-11-10 08:27:50 +05:30
colors.h
colors.py Cleanup previous PR 2026-10-31 17:15:08 +05:30
config.py
constants.py Move the kitty OpenGL code into a dynamically loaded GPU driver 2026-11-19 07:35:30 +05:30
control-codes.h
core_text.m Fix issues with rendering of glyphs wider than their cell 2026-11-16 17:28:23 +05:30
cross-platform-random.h
crypto.c
crypto.h
cursor.c
cursor_trail.c
data-types.c Add nightly version to version string for nightly builds. Fixes #10751 2026-10-27 10:43:51 +05:30
data-types.h Move the kitty OpenGL code into a dynamically loaded GPU driver 2026-11-19 07:35:30 +05:30
debug_config.py Cleanup previous PR 2026-10-23 11:08:28 +05:30
decorations.c
decorations.h
desktop.c
disk-cache.c
disk-cache.h
dnd.c dnd: Accept base64 payloads with trailing padding 2026-10-30 18:16:47 +05:30
dnd.h
entry_points.py
fast-file-copy.c
fast-file-copy.h
fast_data_types.pyi Move the kitty OpenGL code into a dynamically loaded GPU driver 2026-11-19 07:35:30 +05:30
file_transmission.py
fixed_size_deque.h
font-names.c
fontconfig.c
fonts.c Fix issues with rendering of glyphs wider than their cell 2026-11-16 17:28:23 +05:30
fonts.h
freetype.c Fix issues with rendering of glyphs wider than their cell 2026-11-16 17:28:23 +05:30
freetype_render_ui_text.c Fix leaks and NULL dereference when creating a FreeType render context fails 2026-10-30 09:14:43 +05:30
freetype_render_ui_text.h
glfw-wrapper.c Wayland CSD: Parse the titlebar font description once in glfw 2026-10-30 09:03:46 +05:30
glfw-wrapper.h IME: Show the cursor at the position reported by the input method in the pre-edit text 2026-11-05 08:26:34 +05:30
glfw.c Move the kitty OpenGL code into a dynamically loaded GPU driver 2026-11-19 07:35:30 +05:30
glyph-cache.c
glyph-cache.h
gpu.c Move the kitty OpenGL code into a dynamically loaded GPU driver 2026-11-19 07:35:30 +05:30
gpu.h Move the kitty OpenGL code into a dynamically loaded GPU driver 2026-11-19 07:35:30 +05:30
graphics.c Move the kitty OpenGL code into a dynamically loaded GPU driver 2026-11-19 07:35:30 +05:30
graphics.h Move the kitty OpenGL code into a dynamically loaded GPU driver 2026-11-19 07:35:30 +05:30
guess_mime_type.py Have --config=NONE also skip other conf files used by kitty 2026-10-29 08:46:15 +05:30
history.c Fix multiline chars being torn by resize and ED 22 2026-11-13 19:43:59 +05:30
history.h Fix erase_last_command when the live prompt has scrolled into the scrollback 2026-11-11 11:22:56 +05:30
hyperlink.c
hyperlink.h
iqsort.h
key_encoding.c
key_encoding.py
key_names.py
keys.c IME: Show the cursor at the position reported by the input method in the pre-edit text 2026-11-05 08:26:34 +05:30
keys.h
keys.py
kittens.c
kitty-verstable.h
launch.py Fix #10858 2026-11-14 08:16:53 +05:30
launch_wrapper.py Cleanup previous PR 2026-11-18 17:11:36 +05:30
line-buf.c
line-buf.h
line.c Fix out of bounds accesses with partially scrolled off multiline chars 2026-11-13 10:43:13 +05:30
line.h Fix multiline chars being torn by resize and ED 22 2026-11-13 19:43:59 +05:30
lineops.h Fix out of bounds accesses with partially scrolled off multiline chars 2026-11-13 10:43:13 +05:30
logging.c
logout_session.py
loop-utils.c
loop-utils.h
machine_id.py
macos_process_info.c
main.py Move the kitty OpenGL code into a dynamically loaded GPU driver 2026-11-19 07:35:30 +05:30
marks.py
mime-cache.c
modes.h
monotonic.c
monotonic.h
mouse.c Allow selecting text drawn in the tab bar outside the tabs 2026-11-15 09:32:37 +05:30
multiprocessing.py Remove unused process pool factory 2026-11-06 20:19:44 +08:00
notifications.py autoformat 2026-11-04 20:30:08 +05:30
open_actions.py Have --config=NONE also skip other conf files used by kitty 2026-10-29 08:46:15 +05:30
os_window_size.py
parse-dnd-command.h Graphics protocol: Add sub-feature querying 2026-10-25 09:59:12 +05:30
parse-graphics-command.h Graphics protocol: Add sub-feature querying 2026-10-25 09:59:12 +05:30
parse-multicell-command.h
png-reader.c
png-reader.h
print-graphics.h
program_status.py
progress.py
remote_control.py Further harden remote control password processing 2026-11-03 17:36:01 +05:30
render_cache.py Only render regular files as window logos/background images and time out image conversion 2026-11-13 21:51:03 +05:30
resize.c Fix multiline chars being torn by resize and ED 22 2026-11-13 19:43:59 +05:30
resize.h
rgb.py
rowcolumn-diacritics.c
safe-wrappers.h
screen.c Fix crash in Screen.hyperlink_at() with out of bounds coordinates 2026-11-19 07:23:44 +05:30
screen.h Fix out of bounds accesses with partially scrolled off multiline chars 2026-11-13 10:43:13 +05:30
search_query_parser.py
session.py save_as_session: Show where the session will be saved in the path prompt 2026-11-15 09:16:57 +05:30
shaders.c Move the kitty OpenGL code into a dynamically loaded GPU driver 2026-11-19 07:35:30 +05:30
shaped-run-cache.c
shaped-run-cache.h
shell_integration.py Bash integration: Source the system startup files bash was built with 2026-11-07 06:25:36 +05:30
shlex.c
shm.py
short_uuid.py
simd-string-128.c
simd-string-256.c
simd-string-512.c
simd-string-impl.h
simd-string.c
simd-string.h
simple_cli_definitions.py Have --config=NONE also skip other conf files used by kitty 2026-10-29 08:46:15 +05:30
srgb_gamma.h Move the kitty OpenGL code into a dynamically loaded GPU driver 2026-11-19 07:35:30 +05:30
state.c Move the kitty OpenGL code into a dynamically loaded GPU driver 2026-11-19 07:35:30 +05:30
state.h Move the kitty OpenGL code into a dynamically loaded GPU driver 2026-11-19 07:35:30 +05:30
systemd.c
tab_bar.py Allow selecting text drawn in the tab bar outside the tabs 2026-11-15 09:32:37 +05:30
tabs.py Allow selecting text drawn in the tab bar outside the tabs 2026-11-15 09:32:37 +05:30
terminfo.h
terminfo.py
text-cache.c
text-cache.h
threading.h
types.py Allow resizing docks 2026-11-13 19:44:03 +05:30
typing_compat.py
typing_compat.pyi
unicode-data.h
update_check.py
utils.py Cleanup previous PR 2026-11-18 17:11:36 +05:30
utmp.c
vt-parser.c Handle ConEmu OSC 9;9 cwd reporting and ignore other ConEmu OSC 9 sub-commands 2026-11-13 19:44:02 +05:30
vt-parser.h
wcswidth.c
wcswidth.h
window.py Show bell indicator on the active tab when the OS window is unfocused 2026-11-16 20:36:28 +05:30
window_list.py Allow resizing docks 2026-11-13 19:44:03 +05:30
window_logo.c Move the kitty OpenGL code into a dynamically loaded GPU driver 2026-11-19 07:35:30 +05:30
window_logo.h Move the kitty OpenGL code into a dynamically loaded GPU driver 2026-11-19 07:35:30 +05:30
window_title_bar.py
xdg.py