7 Commits
Author SHA1 Message Date
anth64 129b5339e1 feat: split frame/tick diagnostics into work/total/budget 2026-08-24 17:23:35 +02:00
anth64 db05df4227 feat: add tick processing/idle time diagnostics
Tracks actual tick work duration and idle/sleep time separately from
tick rate, via zero-arg begin/end pairs (skele_clock_tick_begin/end,
skele_clock_idle_begin/end) rather than passed timestamps, since the
prior interval-between-calls approach just measured the fixed tick
period, not real processing cost.
2026-08-23 17:43:57 +02:00
anth64 5ad0ddfbc0 feat: add fps module for rolling frame/fps diagnostics
Real-time 1-second rolling window, independent of tick rate or
display refresh.
2026-08-23 17:43:51 +02:00
anth64 55055a042d feat: add vsync-priority frame pacing to video backends
Present now dispatches through a function pointer chosen at init and
re-chosen by two new runtime setters: real vsync if requested and the
driver grants it, else a manual sleep-based cap (auto-detects display
refresh rate, falls back to 60fps if that can't be queried), else
fully uncapped. skele_video_using_vsync() reports what was actually
granted; skele_video_set_vsync()/skele_video_set_max_fps() let a game
change either live without tearing down the renderer/GL context.
2026-08-23 17:06:33 +02:00
anth64 0d0590a4d7 feat: add mouse button down/held tracking 2026-04-23 21:13:43 +02:00
anth64 b1b3596648 feat: add borderless fullscreen option 2026-04-22 22:02:06 +02:00
anth64 5aaecdeac6 initial commit 2026-04-06 13:27:44 -04:00