blob: fbcea56cc9f1ef19eb08bd1a58b70d249add5a8c [file] [log] [blame]
Brian Paul0b27ace2003-03-08 17:38:57 +00001<HTML>
2
3<TITLE>Environment Variables</TITLE>
4
Brian Paul36da0452005-01-20 03:55:10 +00005<link rel="stylesheet" type="text/css" href="mesa.css"></head>
6
7<BODY>
Brian Paul0b27ace2003-03-08 17:38:57 +00008
9<H1>Environment Variables</H1>
10
11<p>
12Mesa supports the following environment variables:
13</p>
14<ul>
Brian Paulb07d6a82004-02-02 22:35:55 +000015<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<li>MESA_NO_DITHER - if set, disables dithering, overriding glEnable(GL_DITHER)
21</ul>
22
23<p>
24The following environment variables are only applicable to the Xlib/X11
25software driver:
26</p>
27<ul>
Brian Paul0b27ace2003-03-08 17:38:57 +000028<li>MESA_RGB_VISUAL - specifies the X visual and depth for RGB mode (X only)
29<li>MESA_CI_VISUAL - specifies the X visual and depth for CI mode (X only)
30<li>MESA_BACK_BUFFER - specifies how to implement the back color buffer (X only)
Brian Paul0b27ace2003-03-08 17:38:57 +000031<li>MESA_GAMMA - gamma correction coefficients (X only)
32<li>MESA_XSYNC - enable synchronous X behavior (for X debugging only)
Brian Paulb07d6a82004-02-02 22:35:55 +000033<li>MESA_GLX_FORCE_CI - if set, force GLX to treak 8bpp visuals as CI visuals
34<li>MESA_GLX_FX - set to either "fullscreen" for full-screen rendering,
35 "window" to render into a window, or "disable" to disable the Glide driver.
Brian Paul4f6b1ad2004-07-23 15:49:12 +000036<li>MESA_GLX_FORCE_ALPHA - if set, forces RGB windows to have an alpha channel.
Brian Pauldfa5c2b2004-07-23 23:32:15 +000037<li>MESA_GLX_DEPTH_BITS - specifies default number of bits for depth buffer.
Brian Paul0b27ace2003-03-08 17:38:57 +000038</ul>
39
40
41</BODY>
42</HTML>