update MESA_DEBUG with FP info
[mesa.git] / docs / envvars.html
1 <HTML>
2
3 <TITLE>Environment Variables</TITLE>
4
5 <link rel="stylesheet" type="text/css" href="mesa.css"></head>
6
7 <BODY>
8
9 <H1>Environment Variables</H1>
10
11 <p>
12 Mesa supports the following environment variables:
13 </p>
14 <ul>
15 <li>MESA_NO_ASM - if set, disables all assembly language optimizations
16 <li>MESA_NO_MMX - if set, disables Intel MMX optimizations
17 <li>MESA_NO_3DNOW - if set, disables AMD 3DNow! optimizations
18 <li>MESA_NO_SSE - if set, disables Intel SSE optimizations
19 <li>MESA_DEBUG - if set, error messages are printed to stderr.
20 If the value of MESA_DEBUG is "FP" floating point arithmetic errors will
21 generate exceptions.
22 <li>MESA_NO_DITHER - if set, disables dithering, overriding glEnable(GL_DITHER)
23 </ul>
24
25 <p>
26 The following environment variables are only applicable to the Xlib/X11
27 software driver:
28 </p>
29 <ul>
30 <li>MESA_RGB_VISUAL - specifies the X visual and depth for RGB mode (X only)
31 <li>MESA_CI_VISUAL - specifies the X visual and depth for CI mode (X only)
32 <li>MESA_BACK_BUFFER - specifies how to implement the back color buffer (X only)
33 <li>MESA_GAMMA - gamma correction coefficients (X only)
34 <li>MESA_XSYNC - enable synchronous X behavior (for X debugging only)
35 <li>MESA_GLX_FORCE_CI - if set, force GLX to treak 8bpp visuals as CI visuals
36 <li>MESA_GLX_FX - set to either "fullscreen" for full-screen rendering,
37 "window" to render into a window, or "disable" to disable the Glide driver.
38 <li>MESA_GLX_FORCE_ALPHA - if set, forces RGB windows to have an alpha channel.
39 <li>MESA_GLX_DEPTH_BITS - specifies default number of bits for depth buffer.
40 </ul>
41
42
43 </BODY>
44 </HTML>