Commit Graph
12 Commits
Author SHA1 Message Date
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 ddaeafc14f docs: write README 2026-08-19 22:05:32 +02:00
anth64 c4bed2f596 refactor(video/sdl): dedupe scale computation and use calloc for framebuffer 2026-08-19 21:53:18 +02:00
anth64 4e7049f49a refactor(input/sdl): store key/pad/mouse button state as bitmasks 2026-08-19 21:49:59 +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 04ae96f1b8 fix(video/sdl): expand palette manually to avoid SDL_SetTexturePalette unavailable on FreeBSD 2026-04-20 07:58:12 +02:00
anth64 8ecb7f9563 refactor: remove unused skele version funciton 2026-04-11 21:36:48 -04:00
anth64 588ad3e525 refactor: remove unecessary scope block 2026-04-11 21:27:59 -04:00
anth64 a3728bed78 fix: examples should now have correct game loop structure with accumulator 2026-04-11 21:27:36 -04:00
anth64 5aaecdeac6 initial commit 2026-04-06 13:27:44 -04:00