added support for OpenGL extensions, vendor, version
[libgliar] / README
1 # libgliar - a library that can fake the OpenGL context info returned by
2 # the glGet OpenGL calls
3 #
4 # authored by: Eleni Maria Stea <elene.mst@gmail.com>
5
6 For instructions on how to build the code, see the INSTALL file.
7
8 Usage:
9 ------
10 LD_PRELOAD=./libgliar.so <opengl_executable>
11
12 The library will read the gliar.conf file in the user's library directory or
13 the .gliar.conf file in the user's home directory.
14
15 Example gliar.conf:
16 -------------------
17 [key1]
18 value1
19 value2
20 .
21 .
22 .
23 valueN
24
25 [key2]
26 value1
27 .
28 .
29 .
30 valueN
31
32 [keyN]
33 value1
34 .
35 .
36 .
37 valueN
38
39 Currently supported keys:
40 "vendor" (the vendor string), "extensions" (the extensions string), "version" (the opengl version string)
41
42 Example:
43 ---------
44 gliar.conf:
45 [vendor]
46 Mutant Stargoat
47
48 [extensions]
49 GL_MSG_hikiko_ext
50 GL_MSG_test
51
52 $ LD_PRELOAD=./libgliar glxinfo | grep -A2 "OpenGL extensions"
53 OpenGL extensions:
54     GL_MSG_hikiko_ext, GL_MSG_test
55
56
57