diff options
author | rodri <rgl@antares-labs.eu> | 2024-05-23 21:26:19 +0000 |
---|---|---|
committer | rodri <rgl@antares-labs.eu> | 2024-05-23 21:26:19 +0000 |
commit | cbfa17d446effcfc1e7d17aed624af8f098370f1 (patch) | |
tree | 526394c2dc24503b18a676a742187a648365b269 /mdl/window | |
parent | 22edbd9f543509ab129ba03af92baed79139e07f (diff) | |
download | 3dee-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 'mdl/window')
0 files changed, 0 insertions, 0 deletions