diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2018-08-25 12:23:46 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2018-08-25 12:23:46 +0000 |
commit | 077c9a5effc8adba4aca3183ce37eeec11a4cb51 (patch) | |
tree | eff778e26f96bc2c3b77253823f68b4ef3ab4b33 /lib | |
parent | cb1a9826d71d9da57c82143861720a7f0f920072 (diff) |
The current rasops cursor implementation simply inverts the appropriate
framebuffer pixels by doing an XOR with an all-ones bit pattern. This
means the code has to read from the framebuffer which can be very slow.
Add an implementation that simply redraws the character covered by the
cursor with the foreground and background color swapped. While this
doesn't necessarily have the same visual result, most people probably
won't notice the difference (let's see). Use this implementation when
the RI_WRONLY or the RI_VCONS flags are set.
ok fcambus@
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions