kitty/kitty_tests
Jesse Miller c57495436d Skip foreground samples for blank cells
The cell fragment shader sampled the glyph, underline, strike, cursor, and underline-exclusion texels for every cell. A space is sprite 0, and that sprite is empty, so those samples add nothing. The vertex shader now sets skip_text when the glyph, both decoration indices, and the cursor sprite are all zero. The fragment writes the background it already computed and skips the samples. A block cursor is sprite 0, so its color stays in the background. An underline, strike, URL underline, or beam, underline, or hollow cursor still samples. The foreground-only pass writes zero for a skipped cell.

On Linux, platform text composition is gamma 1 and contrast 0, which is pow(alpha, 1) * 1. TEXT_CONTRAST_IDENTITY compiles that function down to returning the color unchanged. legacy and any other numbers keep the old math. A config reload that crosses that line rebuilds the cell programs. The identity flag is only varied when the new gamma path is on, so the cell programs go from 18 to 27.
2026-10-11 10:38:17 -06:00
..
__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
base.py Color control protocol: Respond to unknown field names safely using base64 encoding 2026-09-01 21:20:04 +05:30
CascadiaCode-Regular.otf
check_build.py Remove incremental linking test. setup is not available in all contexts where tests run and this functionality isnt important enough to warrant a test anyway 2026-08-13 08:14:28 +05:30
child.py
choose_files.py
clipboard.py clipboard protocol: Specify handling of invalid base64 data 2026-08-25 10:12:25 +05:30
ComfyCode-Regular.ttf
command_palette.py
completion.py Complete session file completion 2026-08-12 19:15:52 +05:00
crypto.py Fix leak of AES256GCMDecrypt object when the tag is too short 2026-10-09 07:40:56 -04:00
datatypes.py Cleanup previous PR 2026-10-09 18:37:48 +05:30
dnd.py Fix #10618 2026-10-06 15:29:26 +05:30
dnd_kitten.py Fix explicit stdin sources in the DnD kitten 2026-08-28 13:19:25 +05:00
docks.py Add support for docked windows 2026-10-01 15:45:44 +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 Cleanup previous PR 2026-10-09 18:37:48 +05:30
FiraCode-Medium.otf
fonts.py Cleanup previous PR 2026-10-09 11:14:45 +05:30
glfw.py
gr.py
GraphemeBreakTest.json
graphics.py Forget the disk position of a replaced zero length cache entry 2026-10-09 07:40:55 -04:00
hints.py Fix empty hints selection handling 2026-08-28 11:49:17 +05:00
iosevka-regular.ttf
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 Cleanup previous PR 2026-10-09 11:14:45 +05:30
LiberationMono-Regular.ttf
main.py Retain Go diagnostics when the test process fails 2026-10-06 14:31:17 +05:00
mouse.py Fix drag gesture state leaking past the button event early returns 2026-09-08 18:51:02 +05:30
multicell.py Fix erase in line and display orphaning halves of multicell characters 2026-10-08 23:59:56 -04:00
notifications.py
notify.py Fix notification close mode 2026-08-28 11:20:05 +05:00
open_actions.py handle invalid UTF-8 in binary mime db 2026-10-06 08:58:50 +05:30
options.py Use a per instance cache for resolved action aliases 2026-10-09 00:01:01 -04:00
panels.py
parser.py Stop CHT once the cursor reaches the last column 2026-10-08 23:59:56 -04:00
remote_control.py Cleanup previous PR 2026-10-09 11:14:45 +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 Cleanup previous PR 2026-10-10 12:45:19 +05:30
search_query_parser.py Fix #10491 2026-09-17 17:03:58 +05:30
selection_drag.py Fix drag gesture state leaking past the button event early returns 2026-09-08 18:51:02 +05:30
shell_integration.py Fix random test failure when running in parallel on macOS 2026-08-23 20:39:43 +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 Skip foreground samples for blank cells 2026-10-11 10:38:17 -06:00
ssh.py Cleanup previous PR 2026-09-22 17:37:58 +05:30
tab_bar.py Speed up laying out the horizontal tab bar 2026-10-10 09:03:43 +05:30
tab_drop.py Cleanup previous PR ensuring stale saved restore tabis not present 2026-09-28 10:40:15 +05:30
tab_workspaces.py Fix #10627 2026-10-10 10:05:17 +05:30
tui.py
twemoji_smiley-cff2_colr_1.otf
utmp.py