Manual Reference Pages - VGA_FILLBLT (3)
vga_fillblt - file rectangular area in video memory with a single color
void vga_fillblt(int destaddr, int w, int h, int pitch, int color);
Fill a rectangular area in video memory with a single color
destaddr is an offset into video memory (up to 2M). The
pitch is the logical width of the screen. Height
h is in Pixels, Width
w is in
This is an old style function to access the accelerator of an SVGA card. Before calling
it you should check for availability of the function in the mode you use with
For new applications you might be better of trying to use
interface was originally designed for the Cirrus chipsets. Then Mach32 added support too
but has problems to resemble the unintuitive Cirrus interface. Then these new ideas
were reinjected and
was designed. Now Cirrus and Chips & Technologies chipset give limited
support but no longer this old style support.
Mach32 is left to use the unintuitive Cirrus interface. At some future point the
functions might be added for Mach32 too (which should be rather simple), so new
applications should use the newer and probably more efficient interface.
It would be fatal if the accelerator would be used while the console is switched away.
You should use
to avoid this, although good implementations of the accelerator functions (like Mach32)
will already ensure that.
demo utilizes the old style accelerator functions.
This manual page was edited by Michael Weller <firstname.lastname@example.org>. The
exact source of the referenced function as well as of the original documentation is
It is very likely that both are at least to some extent are due to
Harm Hanemaayer <H.Hanemaayer@inter.nl.net>.
Occasionally this might be wrong. I hereby
asked to be excused by the original author and will happily accept any additions or corrections
to this first version of the svgalib manual.
|Svgalib (>= 1.2.11) ||VGA_FILLBLT (3) ||27 July 1997 |
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.