]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Oops, the previous commit swapped the main ega method with the main
authorbde <bde@FreeBSD.org>
Fri, 21 Apr 2017 06:55:17 +0000 (06:55 +0000)
committerbde <bde@FreeBSD.org>
Fri, 21 Apr 2017 06:55:17 +0000 (06:55 +0000)
commit120c3bfb69bb205de94f771dc05c7194fe155800
treefd7e2d86fac9f2c021f4ccf1456ade2d7f77f5fc
parente7f054bd8fbe75d2a9218e231a9dda4a18c3681b
Oops, the previous commit swapped the main ega method with the main
vga planar method (for testing that was supposed to be local that the
former still works).  The ega method works on vga but is about twice
as slow.  The vga method doesn't work on ega.

Optimize the main vga planar method a little.  For changing the
background color (which was otherwise optimized better than most
things), don't switch the write mode from 3 to 0 just to select
the pixel mask of 0xff obscurely by writing 0.  Just write 0xff
directly.
sys/dev/syscons/scvgarndr.c