summaryrefslogtreecommitdiff
path: root/src/detached/server.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-28 17:56:10 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:15 -0300
commitb4781b334a06d16aedb0b6a3d604cb249eb619de (patch)
tree6c95db55cbd6bf7dde4bc89d1e76e6c1556223b1 /src/detached/server.zig
parentdeeb8ac54f71d4322a778336db9a7aec411c23ce (diff)
downloadpardes-b4781b334a06d16aedb0b6a3d604cb249eb619de.tar.gz
pardes-b4781b334a06d16aedb0b6a3d604cb249eb619de.zip
Lift moves at the display's rate: render-time animation
Review (and the coordinator): Lift stepped with the core's 16 ms ticks, so a 144 Hz display held each shadow for 2-3 refreshes. The lift springs are now sampled at each frame's own time (p.now_ns), and Pardes.continuous() reports a render-time animation in motion: while it is, the pump draws every loop (a 1 ms wait takes only the input there is) and the present's vsync paces it at the display's rate. They left nextWake; the stepped, frame-indexed animations (transitions, message fades, the theme fade) and every golden are unchanged. With PARDES_TEST_CLOCK, each loop of a moving render-time animation moves the virtual clock by a display frame at PARDES_TEST_HZ (default 60), so a 144 Hz series is deterministic: a focus switch is 51 distinct frames at 144 Hz. Test: renders 6.9 ms apart give rising lifts; settled, no frames. The tty never lifts (GUI capability). Shared files touched: pardes.zig (continuous, pump), gui.zig.
Diffstat (limited to 'src/detached/server.zig')
0 files changed, 0 insertions, 0 deletions