Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Apr 2017 07:54:04 +0300
From:      Andrey Chernov <ache@freebsd.org>
To:        Bruce Evans <bde@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r316642 - head/sys/dev/syscons
Message-ID:  <4a498d83-3b64-18ac-bb0f-890a0c2893fc@freebsd.org>
In-Reply-To: <201704081000.v38A0dBU078784@repo.freebsd.org>
References:  <201704081000.v38A0dBU078784@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 08.04.2017 13:00, Bruce Evans wrote:
> Log:
>   Quick fix for removal of the mouse cursor in vga direct graphics modes
>   (that is, in all supported 8, 15, 16 and 24-color modes).  Moving the
>   mouse cursor while holding down a button (giving cut marking) left a
>   trail of garbage from misremoved mouse cursors (usually colored
>   rectangles and not cursor shapes).  Cases with a button not held down
>   worked better and may even have worked.
>   
>   No renderer support for removing (software) mouse cursors is needed
>   (and many renderers don't have any), since sc_remove_mouse_image()
>   marks for update the region containing the image and usually much
>   more.  The mouse cursor can be (partially) over as many as 4 character
>   cells, and removing it in only the 1-4 cells occupied by it would be
>   best for efficiency and for avoiding flicker.  

Please don't forget that this 5 cells range (0xd0-0xd4, last one becomes
SC_CURSOR_CHAR) can be redefined with "vidcontrol -M", it is needed for
the case they overlap valid characters region for some code tables.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4a498d83-3b64-18ac-bb0f-890a0c2893fc>