Brian Paul | 0b27ace | 2003-03-08 17:38:57 +0000 | [diff] [blame] | 1 | <HTML> |
| 2 | |
| 3 | <TITLE>Environment Variables</TITLE> |
| 4 | |
Brian Paul | 36da045 | 2005-01-20 03:55:10 +0000 | [diff] [blame] | 5 | <link rel="stylesheet" type="text/css" href="mesa.css"></head> |
| 6 | |
| 7 | <BODY> |
Brian Paul | 0b27ace | 2003-03-08 17:38:57 +0000 | [diff] [blame] | 8 | |
| 9 | <H1>Environment Variables</H1> |
| 10 | |
| 11 | <p> |
| 12 | Mesa supports the following environment variables: |
| 13 | </p> |
| 14 | <ul> |
Brian Paul | b07d6a8 | 2004-02-02 22:35:55 +0000 | [diff] [blame] | 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 |
Brian Paul | eacd347 | 2005-08-19 23:34:10 +0000 | [diff] [blame] | 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. |
Brian Paul | b07d6a8 | 2004-02-02 22:35:55 +0000 | [diff] [blame] | 22 | <li>MESA_NO_DITHER - if set, disables dithering, overriding glEnable(GL_DITHER) |
| 23 | </ul> |
| 24 | |
| 25 | <p> |
Brian Paul | 5e9d731 | 2006-01-27 20:12:06 +0000 | [diff] [blame^] | 26 | The following are only applicable to the Xlib software driver. |
| 27 | See <A HREF="README.X11">README.X11</A> for details. |
Brian Paul | b07d6a8 | 2004-02-02 22:35:55 +0000 | [diff] [blame] | 28 | </p> |
| 29 | <ul> |
Brian Paul | 5e9d731 | 2006-01-27 20:12:06 +0000 | [diff] [blame^] | 30 | <li>MESA_RGB_VISUAL - specifies the X visual and depth for RGB mode |
| 31 | <li>MESA_CI_VISUAL - specifies the X visual and depth for CI mode |
| 32 | <li>MESA_BACK_BUFFER - specifies how to implement the back color buffer, |
| 33 | either "pixmap" or "ximage" |
| 34 | <li>MESA_GAMMA - gamma correction coefficients for red, green, blue channels |
| 35 | <li>MESA_XSYNC - enable synchronous X behavior (for debugging only) |
| 36 | <li>MESA_GLX_FORCE_CI - if set, force GLX to treat 8bpp visuals as CI visuals |
Brian Paul | b07d6a8 | 2004-02-02 22:35:55 +0000 | [diff] [blame] | 37 | <li>MESA_GLX_FX - set to either "fullscreen" for full-screen rendering, |
| 38 | "window" to render into a window, or "disable" to disable the Glide driver. |
Brian Paul | 4f6b1ad | 2004-07-23 15:49:12 +0000 | [diff] [blame] | 39 | <li>MESA_GLX_FORCE_ALPHA - if set, forces RGB windows to have an alpha channel. |
Brian Paul | dfa5c2b | 2004-07-23 23:32:15 +0000 | [diff] [blame] | 40 | <li>MESA_GLX_DEPTH_BITS - specifies default number of bits for depth buffer. |
Brian Paul | 8894a55 | 2005-11-05 03:12:06 +0000 | [diff] [blame] | 41 | <li>MESA_GLX_ALPHA_BITS - specifies default number of bits for alpha channel. |
Brian Paul | 0b27ace | 2003-03-08 17:38:57 +0000 | [diff] [blame] | 42 | </ul> |
| 43 | |
| 44 | |
| 45 | </BODY> |
| 46 | </HTML> |