1gl_setscreenoffset(3)         Svgalib User Manual        gl_setscreenoffset(3)
2
3
4

NAME

6       gl_setscreenoffset - set a memory offset for copyscreen
7
8

SYNOPSIS

10       #include <vgagl.h>
11
12       void gl_setscreenoffset(int o);
13
14

DESCRIPTION

16       Set  the offset in pixels into video memory for copyscreen(3) and copy‐
17       boxtocontext(3), copyboxfromcontext(3) and thus allows  for  page-flip‐
18       ping. Must be a multiple of the scanline width in bytes. It is reset to
19       zero after the completion of copyscreen(3).
20
21

SEE ALSO

23       svgalib(7),   vgagl(7),   svgalib.conf(5),   threedkit(7),   testgl(1),
24       gl_copyboxfromcontext(3),   gl_copyboxtocontext(3),   gl_copyscreen(3),
25       gl_enablepageflipping(3).
26
27

AUTHOR

29       This manual page was edited  by  Michael  Weller  <eowmob@exp-math.uni-
30       essen.de>.  The  exact  source of the referenced demo as well as of the
31       original documentation is unknown.
32
33       It is very likely that both are at least to some extent are due to Harm
34       Hanemaayer <H.Hanemaayer@inter.nl.net>.
35
36       Occasionally  this  might be wrong. I hereby asked to be excused by the
37       original author and will happily accept any additions or corrections to
38       this first version of the svgalib manual.
39
40
41
42Svgalib (>= 1.2.11)               2 Aug 1997             gl_setscreenoffset(3)
Impressum