1testgl(6) Svgalib User Manual testgl(6)
2
3
4
6 testgl - test the vgagl library
7
9 testgl
10
11
13 Demo program for vgagl(7) framebuffer library. Runs in any mode preset
14 from the environment.
15
16 First draws pixels in random locations, then random boxes, then random
17 lines and finally some bit image in random locations (all just over the
18 previous drawings).
19
20 Then the test is repeated clipping the screen output to a smaller
21 screen portion (using a vgagl(7) function). Finally a (lousy) 'rotat‐
22 ing' linux logo is shown in the top left quadrant and then is drawn
23 over the whole screen. Depending on internal development state of
24 svgalib, it may use an accelerator for some of the functions.
25
26 You can set a videomode to use by setting the environment variable
27 SVGALIB_DEFAULT_MODE to a number (see vgatest for a list) or a string
28 like G0x1x2 where you replace 0 with desired x resolution, 1 with the
29 desired y rez, and 2 with the desired number of colors (2, 16, 256,
30 32K, 64K, 16M, 16M4). Again, only certain choices are available, see
31 vgatest for a list.
32
33 In case nothing is selected, G320x200x256 is choosen.
34
35 This demo is part of svgalib and can be found in the demos/ subdirec‐
36 tory of the original svgalib distribution. However, it is not installed
37 in the system by default, s.t. it is unclear where you can find it if
38 your svgalib was installed by some linux distribution. Even then, when
39 you have the demo on your system, you probably won't have the sources
40 s.t. it is only of limited use for you.
41
42 In case of any such problem, simply get an svgalib distribution from
43 the net. You even don't need to install it. Just make in the demos/
44 subdirecty. As of this writing, svgalib-1.2.12.tar.gz is the latest
45 version and can be retrieved by ftp from sunsite.unc.edu at
46 /pub/Linux/libs/graphics and tsx-11.mit.edu at /pub/linux/sources/libs
47 which will most probably be mirrored by a site close to you.
48
49
51 svgalib(7), vgagl(7), libvga.config(5), threed(6), accel(6),
52 bg_test(6), eventtest(6), forktest(6), fun(6), keytest(6),
53 mousetest(6), scrolltest(6), speedtest(6), spin(6), testaccel(6), test‐
54 linear(6), vgatest(6), plane(6), wrapdemo(6)
55
56
58 This manual page was edited by Michael Weller <eowmob@exp-math.uni-
59 essen.de>. The exact source of the referenced demo as well as of the
60 original documentation is unknown.
61
62 It is very likely that both are at least to some extent are due to Harm
63 Hanemaayer <H.Hanemaayer@inter.nl.net>.
64
65 Occasionally this might be wrong. I hereby asked to be excused by the
66 original author and will happily accept any additions or corrections to
67 this first version of the svgalib manual.
68
69
70
71Svgalib 1.3.0 8 April 1998 testgl(6)