plan9fox/sys
cinap_lenrek 3045d63969 reduce software cursor flickering
the software cursor starts flickering and reacts bumby if a process
spends most of its time with drawlock acquired because the timer interrupt
thats supposed to redraw the cursor fails to acquire the lock at the time
the timer fires.

instead of trying to draw the cursor on the screen from a timer interrupt
30 times per second, devmouse now creates a process calling cursoron() and
cursoroff() when the cursor needs to be redrawn. this allows the swcursor
to schedule a redraw while holding the drawlock in swcursoravoid() and
cursoron()/cursoroff() are now able to wait for a qlock (drawlock) because
they get called from process context.

the overall responsiveness is also improved with this change as the cursor
redraw rate isnt limited to 30 times a second anymore.
2013-04-14 16:28:54 +02:00
..
doc /sys/doc: permissions for cleanps, mkdirlist, mkfilelist 2012-10-20 19:09:54 +02:00
games/lib fortunes: support for non-blocking i/o 2013-04-12 20:51:47 -04:00
include ape: add inet_aton() 2013-04-01 19:16:18 +02:00
lib dont use full qualified domain names in example configuration 2013-02-27 08:18:18 +01:00
man jpg(1): update bmp and yuv usage 2013-04-12 18:36:22 -04:00
src reduce software cursor flickering 2013-04-14 16:28:54 +02:00