plan9fox/sys/src/9/sgi
cinap_lenrek 1fe3143e4c kernel: cleanup the software mouse cursor mess
The swcursor used a 32x32 image for saving/restoring
screen contents for no reason.

Add a doflush argument to swcursorhide(), so that
disabling software cursor with a double buffered
softscreen is properly hidden. The doflush parameter
should be set to 0 in all other cases as swcursordraw()
will flushes both (current and previours) locations.

Make sure swcursorinit() and swcursorhide() clear the
visibility flag, even when gscreen is nil.

Remove the cursor locking and just do everything within
the drawlock. All cursor functions such as curson(),
cursoff() and setcursor() will be called drawlock
locked. This also means &cursor can be read.

Fix devmouse cursor reads and writes. We now have the
global cursor variable that is only modified under
the drawlock. So copy under drawlock.

Move the pc software cursor implementation into vgasoft
driver, so screen.c does not need to handle it as
a special case.

Remove unused functions such as drawhasclients().
2020-04-10 17:12:51 +02:00
..
bootfs.proto kernel: add srvtls and tlsclient to bootfs.proto for encrypting connection to the file server 2016-05-16 22:55:30 +02:00
clock.c sgi: get rid of timerset(0) case 2017-01-22 21:08:28 +01:00
dat.h kernel: move devether and wifi to port/ 2018-02-11 18:08:03 +01:00
devkbd.c sgi: keyboard, mouse and cursor for indy 2015-04-02 18:35:43 +02:00
etherseeq.c devether: mux bridges, portable netconsole 2018-02-18 19:56:01 +01:00
faultmips.c kernel: catch execution read fault on SG_NOEXEC segment (for mips) 2019-08-27 03:48:51 +02:00
fns.h kernel: move devether and wifi to port/ 2018-02-11 18:08:03 +01:00
fptrap.c kernel: introduce per process FPU struct (PFPU) for more flexible machine specific fpu handling 2017-11-04 20:08:22 +01:00
indy kernel: move devether and wifi to port/ 2018-02-11 18:08:03 +01:00
init9.s
io.h sgi: keyboard, mouse and cursor for indy 2015-04-02 18:35:43 +02:00
l.s all kernels: declare _tas() to prevent pulling in libc version (for libmemdraw) 2015-07-07 19:17:55 +02:00
main.c kernel: implement portable userinit() and simplify process creation 2020-01-26 19:01:36 +01:00
mem.h kernel: expose no execute bit to portable mmu code as SG_NOEXEC / PTENOEXEC, add PTECACHED bits 2019-08-26 22:34:38 +02:00
mkfile kernel: cleanup makefile for $CONF.$O target 2020-02-02 20:46:58 +01:00
mmu.c kernel: expose no execute bit to portable mmu code as SG_NOEXEC / PTENOEXEC, add PTECACHED bits 2019-08-26 22:34:38 +02:00
screen.c devdraw: get rid of softscreen==0xa110c hack and make attachscreen() return Memdata* 2019-01-30 18:22:52 +01:00
screen.h kernel: cleanup the software mouse cursor mess 2020-04-10 17:12:51 +02:00
trap.c kernel: implement portable userinit() and simplify process creation 2020-01-26 19:01:36 +01:00
uartarcs.c sgi: keyboard, mouse and cursor for indy 2015-04-02 18:35:43 +02:00