Commit graph

16 commits

Author SHA1 Message Date
Jakob Hördt
767607ede1 batch draw points and color 2024-08-04 19:40:28 +02:00
Jakob Hördt
cc58fa1f50 hardware rendering again, to persistent texture. Incredibly fast 2024-08-04 19:21:50 +02:00
Jakob Hördt
fbc667b321 error handling 2024-08-04 15:58:14 +02:00
Jakob Hördt
9a11684363 add error handling
code broken in fullscreen due to double(or more) buffering
2024-08-04 15:38:07 +02:00
Jakob Hördt
5f7c070f78 less calls to clock::now() 2024-08-04 15:00:16 +02:00
Jakob Hördt
baf1a05e0a revert misguided batchsize adaption
just set how many steps to do each frame
2024-08-04 14:57:29 +02:00
Jakob Hördt
f5704b6d84 automatically adjust batchsize to walk as fast as possible 2024-08-04 02:07:41 +02:00
Jakob Hördt
2c88eff416 simple walk batching
and poll events roughly every 100ms
2024-08-03 23:52:26 +02:00
Jakob Hördt
d521c06c34 simple surface drawing 2024-08-03 23:38:19 +02:00
Jakob Hördt
39feecded0 remove rendering, we need software rendering 2024-08-03 23:06:35 +02:00
Jakob Hördt
ae43c1c0ef defer SDL_Quit() 2024-08-03 22:40:14 +02:00
Jakob Hördt
3c725d105e naive rendering of random walk points 2024-08-03 22:06:57 +02:00
Jakob Hördt
3f3d16c9b2 sdl wrapper which implicitly decays to ptr 2024-08-03 18:55:58 +02:00
Jakob Hördt
a1d51e54e1 cool fps control but broken
Backbuffer gets invalid after present
2024-08-03 03:54:16 +02:00
Jakob Hördt
c718bd5e3f basic random walk with fancy out_ptr 2024-08-03 03:23:16 +02:00
Jakob Hördt
9f82d9458c basic sdl loop 2024-08-03 02:42:49 +02:00