aboutsummaryrefslogtreecommitdiffstats
path: root/com32/lib/sys/vesa/screencpy.c
Commit message (Collapse)AuthorAgeFilesLines
* vesa: formatting fixH. Peter Anvin2009-12-221-1/+1
| | | | | | Code formatting fix in screencpy.c Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Run Nindent on com32/lib/sys/vesa/screencpy.cH. Peter Anvin2009-05-291-66/+66
| | | | | | | | | Automatically reformat com32/lib/sys/vesa/screencpy.c using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Whitespace cleanup...syslinux-3.62-pre11H. Peter Anvin2008-02-191-5/+5
|
* VESA: align the row buffer to a multiple of 4 bytes.H. Peter Anvin2008-02-141-1/+1
| | | | We do dword accesses to the row buffer, so align it to 4 bytes.
* VESA: Minor cleanupssyslinux-3.62-pre6H. Peter Anvin2008-02-131-2/+3
| | | | Minor cleanups for clarity
* Set the window size to 2 GB for linear framebufferH. Peter Anvin2008-02-131-1/+5
| | | | | | | | | Set the window size to 2 GB for linear framebuffer, lest the calculation: l = min(bytes, win_size-win_off); ... incorrectly returns zero when win_off == 0.
* Bypass pixel conversion when the output format is BGRA32H. Peter Anvin2008-02-131-2/+1
| | | | | When the output format is BGRA32, we don't need any conversion at all. Skip the dummy copy.
* Treat linear framebuffer as a degenerate paged framebufferH. Peter Anvin2008-02-131-37/+31
| | | | | | Simplify the code by treating linear framebuffer as a degenerate case of a paged framebuffer (a single window covering all of memory, which is already in position 0 - the only possible position.)
* VESA: move pixel formatting into __vesacon_copy_to_screen()syslinux-3.62-pre5H. Peter Anvin2008-02-131-10/+19
| | | | | | | | 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.
* Add support for paged (banked) VESA video modeH. Peter Anvin2008-02-131-0/+115
Add support for paged ("banked", non-linear-framebuffer) VESA video modes. Apparently some manufacturers haven't caught on that non-linear graphics modes have been obsolete for 15 years or so already.