kitty/kitty_tests
Kovid Goyal 9367df7010
Add a gpu_driver option to choose between GPU drivers with fallback
The gpu_driver option is an ordered list of the GPU drivers to try,
defaulting to metal, vulkan, opengl. Drivers that are not part of the
build are skipped.

Add connect() to the GPU driver API. It is called once the windowing
system has been initialized, with the connection to the display, so
that drivers can check that they are able to render to windows on it,
before any windows are created. The driver is now loaded after
glfwInit() for this reason. If a driver cannot connect, the next one is
tried. If the driver fails to choose a visual or create a surface for
the first window, before any GPU resources exist, kitty switches to the
next usable driver and creates the window again.

--debug-rendering reports the driver used and why others were rejected.
2026-11-19 07:35:31 +05:30
..
__init__.py Test suite: Fix small numbers of Python tests being run in incorrect environment 2026-09-15 16:50:21 +05:30
atexit.py autoformat 2026-08-05 05:32:56 +05:30
base.py More detail for on_quit events and a new on_cwd change event 2026-11-12 11:29:08 +05:30
CascadiaCode-Regular.otf Fix rendering of ligatures in the latest release of Cascadia code 2021-02-15 11:57:57 +05:30
check_build.py Make shader targets driver defined and program metadata reflection based 2026-11-19 07:35:30 +05:30
child.py Fix test_launch_wrapper_invalid_shell on macOS 2026-11-18 20:44:44 +05:30
choose_files.py Quote choose-files shell output safely 2026-08-12 13:10:53 +05:00
clipboard.py clipboard: Replace the MIME list PTY test with a Go unit test 2026-10-26 07:50:36 +05:30
ComfyCode-Regular.ttf Add shaping tests for ligature cases and bundle Comfy Code 2026-04-25 19:43:17 +08:00
command_palette.py Fix #10711 2026-10-21 10:45:01 +05:30
completion.py Complete session file completion 2026-08-12 19:15:52 +05:00
crypto.py Encrypt sessions saved at logout with a key in the macOS Keychain 2026-10-16 11:57:31 +05:30
datatypes.py Fix PNG dimension validation test on 32-bit platforms 2026-11-09 13:01:06 +03:00
dnd.py dnd: Accept base64 payloads with trailing padding 2026-10-30 18:16:47 +05:30
dnd_kitten.py Cleanup previous PR 2026-10-29 21:41:44 +05:30
docks.py Allow resizing docks 2026-11-13 19:44:03 +05:30
edit_in_kitty.py edit-in-kitty: Harden parsing of edit commands received from clients 2026-09-17 19:56:56 +05:30
file_transmission.py Transfer kitten: Replace existing links when receiving files 2026-10-21 20:35:07 +05:30
FiraCode-Medium.otf Improve handling of infinite length ligatures in newer versions of FiraCode and CascadiaCode. 2021-02-15 15:49:09 +05:30
fonts.py Fix issues with rendering of glyphs wider than their cell 2026-11-16 17:28:23 +05:30
glfw.py autoformat 2026-08-05 05:32:56 +05:30
gr.py autoformat 2026-08-05 05:32:56 +05:30
GraphemeBreakTest.json Add support for Unicode 17 2025-10-18 09:59:53 +05:30
graphics.py Only render regular files as window logos/background images and time out image conversion 2026-11-13 21:51:03 +05:30
hints.py Fix empty hints selection handling 2026-08-28 11:49:17 +05:00
iosevka-regular.ttf Fix ligatures not working with the Iosevka font 2021-06-04 12:18:17 +05:30
iterable_arguments.py Handle empty iterables before testing their truthiness 2026-09-22 16:30:29 +08:00
keys.py fix #10490 2026-09-17 14:22:59 +05:30
layout.py Show bell indicator on the active tab when the OS window is unfocused 2026-11-16 20:36:28 +05:30
LiberationMono-Regular.ttf Use only cluster numbers and glyph sizes for grouping glyphs into cells 2017-11-12 23:43:21 +05:30
main.py tests: Reuse existing resource enumeration helper 2026-11-06 19:17:39 +08:00
mouse.py Reset link hover pointer when output clears the highlight 2026-10-23 17:02:12 +05:30
multicell.py Fix multiline chars being torn by resize and ED 22 2026-11-13 19:43:59 +05:30
notifications.py Linux: Send kitty's .desktop file name to notification servers for grouping 2026-10-23 08:47:19 +05:30
notify.py Fix notification close mode 2026-08-28 11:20:05 +05:00
open_actions.py Cleanup previous PR 2026-10-31 17:15:08 +05:30
options.py Add a gpu_driver option to choose between GPU drivers with fallback 2026-11-19 07:35:31 +05:30
panels.py autoformat 2026-08-05 05:32:56 +05:30
parser.py Graphics protocol: Add sub-feature querying 2026-10-25 09:59:12 +05:30
program_status.py Cleanup previous PR 2026-10-13 21:05:16 +05:30
remote_control.py Further harden remote control password processing 2026-11-03 17:36:01 +05:30
resize_edge.py Cleanup previous PR 2026-10-09 19:51:38 +05:30
resize_fraction.py Add configurable fractional steps to window resizing 2026-10-09 19:54:02 +08:00
screen.py Fix crash in Screen.hyperlink_at() with out of bounds coordinates 2026-11-19 07:23:44 +05:30
search_query_parser.py Fix #10491 2026-09-17 17:03:58 +05:30
selection_drag.py Respect mouse mappings for link hover feedback 2026-10-23 05:08:02 +08:00
sessions.py Allow docking windows to the OS window with launch --type=os-window-dock 2026-11-12 12:47:48 +05:30
shell_integration.py Bash integration: Source the system startup files bash was built with 2026-11-07 06:25:36 +05:30
shm.py Skip test inapplicable on macOS 2026-09-01 20:28:26 +05:30
single_instance.py Linux only allow single instance socket use by same user 2026-09-18 14:54:49 +05:30
slang.py Pass the uniform parameters of shaders in a single push constant block 2026-11-19 07:35:31 +05:30
ssh.py ssh kitten: Fix remote directories being created world writable 2026-11-10 08:15:26 +05:30
tab_bar.py Allow selecting text drawn in the tab bar outside the tabs 2026-11-15 09:32:37 +05:30
tab_drop.py Drag and drop: Fix dropping a window on a temporarily shown title bar 2026-10-21 06:03:46 +05:30
tab_workspaces.py Fix #10627 2026-10-10 10:05:17 +05:30
tui.py autoformat 2026-08-05 05:32:56 +05:30
twemoji_smiley-cff2_colr_1.otf Add basic colrv1 rendering test 2025-02-03 11:06:41 +05:30
utmp.py autoformat 2026-08-05 05:32:56 +05:30