summaryrefslogtreecommitdiff
path: root/libgraphics/render.c
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2024-05-23 21:26:19 +0000
committerrodri <rgl@antares-labs.eu>2024-05-23 21:26:19 +0000
commitcbfa17d446effcfc1e7d17aed624af8f098370f1 (patch)
tree526394c2dc24503b18a676a742187a648365b269 /libgraphics/render.c
parent22edbd9f543509ab129ba03af92baed79139e07f (diff)
download3dee-cbfa17d446effcfc1e7d17aed624af8f098370f1.tar.gz
3dee-cbfa17d446effcfc1e7d17aed624af8f098370f1.tar.bz2
3dee-cbfa17d446effcfc1e7d17aed624af8f098370f1.zip
get rid of rendering latency by decoupling it from i/o.
i was using a single alternator to mux both i/o and drawing in a single proc, and avoid locking. the problem is that it causes a fight to break up every time there's any input (steady 100Hz) or a lot of drawing requests from the renderer (up to 60Hz.) i added a drawproc to handle exclusively drawing requests, and a drawing lock for UI widgets that kidnap the display.
Diffstat (limited to 'libgraphics/render.c')
0 files changed, 0 insertions, 0 deletions