VESA: move pixel formatting into __vesacon_copy_to_screen() syslinux-3.62-pre5
authorH. Peter Anvin <hpa@zytor.com>
Thu, 14 Feb 2008 03:00:12 +0000 (19:00 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 14 Feb 2008 03:00:12 +0000 (19:00 -0800)
commitbc1081b746cc3a224470567990364bf62162b405
treec713af8aa792ab2f66a0ef88a56e08a46cde84e1
parent2079650b3e6dbe302fe27e5256fd412894c2f4b9
VESA: move pixel formatting into __vesacon_copy_to_screen()

Make pixel formatting an integral part of __vesacon_copy_to_screen().
In order to cut down on the dispatch overhead, make the formatting
functions contain the pixel loop, so we only do indirect dispatch
twice per pixel row - once for the formatting and once for copying to
the screen.
com32/lib/Makefile
com32/lib/sys/vesa/background.c
com32/lib/sys/vesa/drawtxt.c
com32/lib/sys/vesa/fmtpixel.c [moved from com32/lib/sys/vesa/fmtpixel.h with 51% similarity]
com32/lib/sys/vesa/initvesa.c
com32/lib/sys/vesa/screencpy.c
com32/lib/sys/vesa/video.h