diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-12 10:56:42 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-17 12:15:01 -0300 |
| commit | f2b02c455f2bcdfb905a015eefbb630a28b4b12e (patch) | |
| tree | c344c7ad42ec288dd5e1ebd0eb6d25f5aa2fbccc /addons/snake_shader/snake_shader.out | |
| parent | fc38c73c59f7855a4caad8aa4d3bb8e023309c13 (diff) | |
| download | pardes-f2b02c455f2bcdfb905a015eefbb630a28b4b12e.tar.gz pardes-f2b02c455f2bcdfb905a015eefbb630a28b4b12e.zip | |
addons: an addon can hand the frontend a GPU scene (ABI 3.1), and a snake drawn by shaders does; a commit's patch keeps its own +Diff pane; a real ZLS checked through the window build
ABI 3.1 appends an optional `gpu` callback and its context to pa_paint: one self-contained sketchbook SGPU v1 scene for the pane, at most 4 MiB, copied during the call, the last successful call winning. The SDL frontend runs it on its own GPU through sketchbook's executor and composites its target texture into the pane; replicas carry the scene beside the authoritative pane frame; cells and rasters stay the fallback for terminals, older hosts and frontends without an executor. addons/snake_shader is such an addon (`zig build snake-shader`, the SnakeShader word: a board that follows its pane, buffered turns, a CRT look), with test/gpu_snake.py, test/gpu_snake_interaction.py and test/gpu_upgrade.py.
Commit patches open as `+Diff-<short-hash>` and reuse only their own commit's pane, so another paged patch no longer replaces one already open.
The language-server client looks in the standard per-user bin directory, which desktop launchers often leave out of PATH, and takes an empty answer that beats the startup progress notification onto the wire; test/real_zls.py checks imports, hover, references, rename previews, diagnostics and completion against a real ZLS from a private home.
The dump's schema reader skips two fields older builds persisted, and a replica's shadow of a kind ticks when the authority's does. The reference, the guide, the building and setup notes and the changelog say so.
The working copy as it stood on 2026-11-12; message written by Claude from the diff, at the author's request.
Diffstat (limited to 'addons/snake_shader/snake_shader.out')
| -rw-r--r-- | addons/snake_shader/snake_shader.out | 147 |
1 files changed, 147 insertions, 0 deletions
diff --git a/addons/snake_shader/snake_shader.out b/addons/snake_shader/snake_shader.out new file mode 100644 index 00000000..462a138e --- /dev/null +++ b/addons/snake_shader/snake_shader.out @@ -0,0 +1,147 @@ +> seed 3 +> size 26 14 +window 24x4 +tag SnakeShader 0 22x3 +|######################## +|# # +|# * # +|# oo@ # +> tick 150 +tag SnakeShader 0 22x3 +|######################## +|# # +|# * # +|# oo@ # +> key jk +tag SnakeShader 0 22x3 +|######################## +|# # +|# * # +|# oo@ # +> tick 1 +tag SnakeShader 0 22x3 +|######################## +|# # +|# * # +|# oo@ # +> tick 60 +tag SnakeShader 0 22x3 +|######################## +|# # +|# * # +|# oo@ # +> tick 150 +tag SnakeShader 0 22x3 +|######################## +|# # +|# @ * # +|# oo # +> key jh +tag SnakeShader 0 22x3 +|######################## +|# # +|# @ * # +|# oo # +> tick 150 +tag SnakeShader 0 22x3 +|######################## +|# # +|# @o * # +|# o # +> tick 150 +tag SnakeShader 0 22x3 +|######################## +|# # +|# @oo * # +|# # +> body +=score 0 +=length 3 +=steps 3 +=alive +=board 22x3 +=hover -1 -1 +> click 3 3 +tag SnakeShader 0 22x3 +|######################## +|# # +|# @oo * # +|# # +> body +=score 0 +=length 3 +=steps 3 +=alive +=board 22x3 +=hover 3 3 +> blur +tag SnakeShader 0 22x3 +|######################## +|# # +|# @oo * # +|# # +> tick 500 +tag SnakeShader 0 22x3 +|######################## +|# # +|# @oo * # +|# # +> body +=score 0 +=length 3 +=steps 3 +=alive +=board 22x3 +=hover 3 3 +> size 34 18 +window 32x6 +tag SnakeShader 0 30x4 +|################################ +|# # +|# @oo * # +|# # +|# # +|################################ +> body +=score 0 +=length 3 +=steps 3 +=alive +=board 30x4 +=hover -1 -1 +> size 22 10 +window 20x2 +tag SnakeShader 0 18x3 +|#################### +|# # +> body +=score 0 +=length 3 +=steps 3 +=alive +=board 18x3 +=hover -1 -1 +> dump +dump 34392 bytes +tag SnakeShader 0 18x3 +|#################### +|# # +> body +=score 0 +=length 3 +=steps 3 +=alive +=board 18x3 +=hover -1 -1 +> focus +tag SnakeShader 0 18x3 +|#################### +|# # +> key r +tag SnakeShader 0 18x3 +|#################### +|# * # +> tick 150 +tag SnakeShader 0 18x3 +|#################### +|# * # |
