3 <TITLE>Environment Variables
</TITLE>
5 <link rel=
"stylesheet" type=
"text/css" href=
"mesa.css"></head>
9 <H1>Environment Variables
</H1>
12 Mesa supports the following environment variables:
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
22 <li>MESA_NO_DITHER - if set, disables dithering, overriding glEnable(GL_DITHER)
23 <li>MESA_TEX_PROG - if set, implement conventional texture env modes with
24 fragment programs (intended for developers only)
25 <li>MESA_TNL_PROG - if set, implement conventional vertex transformation
26 operations with vertex programs (intended for developers only).
27 Setting this variable automatically sets the MESA_TEX_PROG variable as well.
31 The following are only applicable to the Xlib software driver.
32 See
<A HREF=
"README.X11">README.X11
</A> for details.
35 <li>MESA_RGB_VISUAL - specifies the X visual and depth for RGB mode
36 <li>MESA_CI_VISUAL - specifies the X visual and depth for CI mode
37 <li>MESA_BACK_BUFFER - specifies how to implement the back color buffer,
38 either
"pixmap" or
"ximage"
39 <li>MESA_GAMMA - gamma correction coefficients for red, green, blue channels
40 <li>MESA_XSYNC - enable synchronous X behavior (for debugging only)
41 <li>MESA_GLX_FORCE_CI - if set, force GLX to treat
8bpp visuals as CI visuals
42 <li>MESA_GLX_FX - set to either
"fullscreen" for full-screen rendering,
43 "window" to render into a window, or
"disable" to disable the Glide driver.
44 <li>MESA_GLX_FORCE_ALPHA - if set, forces RGB windows to have an alpha channel.
45 <li>MESA_GLX_DEPTH_BITS - specifies default number of bits for depth buffer.
46 <li>MESA_GLX_ALPHA_BITS - specifies default number of bits for alpha channel.