]> xenbits.xensource.com Git - people/andrewcoop/seabios.git/commit
SeaVGABIOS/vbe: Query driver for scanline pitch v2
authorPatrick Rudolph <siro@das-labor.org>
Mon, 29 May 2017 17:25:12 +0000 (19:25 +0200)
committerKevin O'Connor <kevin@koconnor.net>
Mon, 12 Jun 2017 19:17:09 +0000 (15:17 -0400)
commit4902b8a703779ee2d85da406d6f1dc16df71a43d
tree9d78ef245ac730a3b2a1bd5e70f0d1ef1ec1db2e
parent4b42cc4b31f682214ab473838f0de0584f58cba8
SeaVGABIOS/vbe: Query driver for scanline pitch v2

Query the driver for the real scanline pitch in bytes.

As cbvga doesn't change the pitch on mode change, always
return the same pitch, that might exceed width times Bytes-per-pixel.

Report the default stdvga pitch for all other drivers.

Signed-off-by: Patrick Rudolph <siro@das-labor.org>
vgasrc/cbvga.c
vgasrc/stdvga.c
vgasrc/vbe.c
vgasrc/vgahw.h
vgasrc/vgautil.h