svn commit: r316642 - head/sys/dev/syscons
Andrey Chernov
ache at freebsd.org
Sun Apr 9 04:54:12 UTC 2017
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.
More information about the svn-src-all
mailing list