Cleaning up
[mesa.git] / src / mesa / main / mesa.conf
1 ;; -*-lisp-*-
2 ;;
3 ;; KW: New mesa configuration file, syntax following a lisp style.
4 ;;
5 ;; valid syntax:
6 ;;
7 ;; (include filename)
8 ;; - not implemented
9 ;;
10 ;; (config-mesa version configs)
11 ;;
12 ;; where:
13 ;; version - is the version number of mesa for which the configuration
14 ;; was written. Future versions will use this to check for upwards
15 ;; compatibility. There is however no guarentee that old configurations
16 ;; will continue to be respected.
17 ;;
18 ;; configs - is a list of valid configuration lists, as specified by:
19 ;;
20 ;; (set-var variable value) - not implemented, use to augment env vars
21 ;; (set-env variable value) - not implemented, use to augment env vars
22 ;; (default-hint variable value)
23 ;; (disable-extension name)
24 ;;
25 ;; Mesa will look for an environment variable MESA_CONFIG, and try to
26 ;; execute that profile. Otherwise, it will fallback to the profile
27 ;; with the same name as the current mesa version. As default
28 ;; profiles should normally be empty or near-empty, this should be
29 ;; sufficiently powerful.
30 ;;
31
32
33 ;; Default profile - should normally be an empty list of
34 ;; configurations.
35 ;;
36 (config-mesa mesa3.1beta1 ())
37
38
39
40 ;; Really is an empty config.
41 ;;
42 (config-mesa empty ())
43
44
45
46 ;; Turn off some compliance for the sake of speed.
47 ;;
48 (config-mesa quake2
49 (
50 ;; Quake2 likes this extension, but it really hurts performance if
51 ;; you don't also disable software fallbacks, below. (And do
52 ;; something else to stop the eye-space calculations too...)
53 ;;
54 (disable-extension GL_EXT_point_parameters)
55
56 ;; These hints are honoured only by the 3dfx driver - the X driver
57 ;; continues to function even if you specify hardware-only
58 ;; rendering.
59 ;;
60 ;(default-hint GL_ALLOW_DRAW_OBJ_HINT_PGI GL_TRUE) ; wishful thinking
61 ;(default-hint GL_ALLOW_DRAW_WIN_HINT_PGI GL_TRUE) ; allow 3dfx hardware...
62 ;(default-hint GL_ALLOW_DRAW_SPN_HINT_PGI GL_FALSE) ; no software spans
63 ;(default-hint GL_ALLOW_DRAW_MEM_HINT_PGI GL_FALSE) ; no softare pixels
64
65 ;; Lock in the hints specified above.
66 ;;
67 (disable-extension GL_PGI_misc_hints)))
68
69
70
71
72
73
74