* For the direct modes, get rid of the predefined palettes and use the
authorSascha Wildner <swildner@dragonflybsd.org>
Fri, 18 Feb 2005 16:38:23 +0000 (16:38 +0000)
committerSascha Wildner <swildner@dragonflybsd.org>
Fri, 18 Feb 2005 16:38:23 +0000 (16:38 +0000)
commita5eb78ad0132747feca045533187dd970e55593f
tree84b037bbbcb84670abfd776545e5eb27b622fc38
parent79290b5d591883cb3e6b509c3a91f3c811a266c2
* For the direct modes, get rid of the predefined palettes and use the
  system's EGA palette instead (like planar modes do). Since palette
  values can be 5:5:5, 5:6:5, 8:8:8 etc., add code to refresh them via
  the adapter's palette registers upon video mode change. Scrap the
  ugly vga_drawpxl() macro. This makes 15 and 16 bit modes faster than
  24 or 32 bpp.

* Fix mouse pointer drawing code for direct modes. Never draw the
  pointer in the border area so that direct and planar modes can now
  share a single function for removing the mouse.

* Do some minor cleanup and restructuring.
sys/dev/misc/syscons/scvgarndr.c
sys/dev/misc/syscons/scvidctl.c
sys/dev/misc/syscons/syscons.c
sys/dev/misc/syscons/syscons.h