diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-18 02:38:25 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-18 03:43:34 -0300 |
| commit | 392d509c8435f975ae25b64ea5d61eeecabbea90 (patch) | |
| tree | 6bc00527fcade802edb071e3835cac982f83d527 /test/process/edit.zig | |
| parent | cf5f2d75ba24c02240044027b6de7b151e0ab9df (diff) | |
| download | pardes-392d509c8435f975ae25b64ea5d61eeecabbea90.tar.gz pardes-392d509c8435f975ae25b64ea5d61eeecabbea90.zip | |
gui: the gamepad subsystem is started once the first frame is drawn, as the loop first waits (startGamepads, the session's and a window client's loops), not in SDL_Init before the window: its scan (udev, hidapi, libusb) no longer delays the first frame; a pad plugged in already is added by it then (GAMEPAD_ADDED), so its first event comes about 40 ms after the first frame, and a key in those 40 ms waits for it; gui offscreen, cut at the first frame: 507M -> 370M instructions:u, 262 -> 221 ms best (load 0.7); a real window 518M -> 380M, 249 -> 231 ms
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'test/process/edit.zig')
0 files changed, 0 insertions, 0 deletions
