1gl_setcontextvirtual(3) Svgalib User Manual gl_setcontextvirtual(3)
2
3
4
6 gl_setcontextvirtual - define a virtual context
7
8
10 #include <vgagl.h>
11
12 void gl_setcontextvirtual(int w, int h, int bpp, int bitspp, void
13 *vbuf);
14
15
17 Define the current graphics context to have a width of w pixels, height
18 h, bpp bytes per pixel, bitspp significant color bits per pixel (8, 15,
19 16 or 24), with the framebuffer at vbuf. A 4 bytes per pixel context,
20 with 24 significant color bits is also valid.
21
22
24 svgalib(7), vgagl(7), svgalib.conf(5), threedkit(7), testgl(1), cur‐
25 rentcontext(3), gl_allocatecontext(3), gl_copyboxfromcontext(3),
26 gl_copyboxtocontext(3), gl_copyscreen(3), gl_freecontext(3), gl_getcon‐
27 text(3), gl_setcontext(3), gl_setcontextheight(3), gl_setcontextvga(3),
28 gl_setcontextvgavirtual(3), gl_setcontextwidth(3).
29
30
32 This manual page was edited by Michael Weller <eowmob@exp-math.uni-
33 essen.de>. The exact source of the referenced demo as well as of the
34 original documentation is unknown.
35
36 It is very likely that both are at least to some extent are due to Harm
37 Hanemaayer <H.Hanemaayer@inter.nl.net>.
38
39 Occasionally this might be wrong. I hereby asked to be excused by the
40 original author and will happily accept any additions or corrections to
41 this first version of the svgalib manual.
42
43
44
45Svgalib (>= 1.2.11) 2 Aug 1997 gl_setcontextvirtual(3)