blob: 7cda0e48987e78475c354be9bde01b91aa5c84bc [file] [log] [blame]
Brian Paul0b27ace2003-03-08 17:38:57 +00001<HTML>
2
3<TITLE>Environment Variables</TITLE>
4
5<BODY text="#000000" bgcolor="#55bbff" link="#111188">
6
7<H1>Environment Variables</H1>
8
9<p>
10Mesa supports the following environment variables:
11</p>
12<ul>
Brian Paulb07d6a82004-02-02 22:35:55 +000013<li>MESA_NO_ASM - if set, disables all assembly language optimizations
14<li>MESA_NO_MMX - if set, disables Intel MMX optimizations
15<li>MESA_NO_3DNOW - if set, disables AMD 3DNow! optimizations
16<li>MESA_NO_SSE - if set, disables Intel SSE optimizations
17<li>MESA_DEBUG - if set, error messages are printed to stderr
18<li>MESA_NO_DITHER - if set, disables dithering, overriding glEnable(GL_DITHER)
19</ul>
20
21<p>
22The following environment variables are only applicable to the Xlib/X11
23software driver:
24</p>
25<ul>
Brian Paul0b27ace2003-03-08 17:38:57 +000026<li>MESA_RGB_VISUAL - specifies the X visual and depth for RGB mode (X only)
27<li>MESA_CI_VISUAL - specifies the X visual and depth for CI mode (X only)
28<li>MESA_BACK_BUFFER - specifies how to implement the back color buffer (X only)
Brian Paul0b27ace2003-03-08 17:38:57 +000029<li>MESA_GAMMA - gamma correction coefficients (X only)
30<li>MESA_XSYNC - enable synchronous X behavior (for X debugging only)
Brian Paulb07d6a82004-02-02 22:35:55 +000031<li>MESA_GLX_FORCE_CI - if set, force GLX to treak 8bpp visuals as CI visuals
32<li>MESA_GLX_FX - set to either "fullscreen" for full-screen rendering,
33 "window" to render into a window, or "disable" to disable the Glide driver.
Brian Paul4f6b1ad2004-07-23 15:49:12 +000034<li>MESA_GLX_FORCE_ALPHA - if set, forces RGB windows to have an alpha channel.
Brian Paul0b27ace2003-03-08 17:38:57 +000035</ul>
36
37
38</BODY>
39</HTML>