Properly check GLX_INDIRECT_RENDERING in glapi/tests/check_table
[mesa.git] / docs / envvars.html
index 4b5e89926b07718539d3e73d9a3ec268e089acc8..5d855c630d758b8647d71576905184279f813b4f 100644 (file)
@@ -1,12 +1,20 @@
-<HTML>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+  <meta http-equiv="content-type" content="text/html; charset=utf-8">
+  <title>Environment Variables</title>
+  <link rel="stylesheet" type="text/css" href="mesa.css">
+</head>
+<body>
 
-<TITLE>Environment Variables</TITLE>
+<div class="header">
+  <h1>The Mesa 3D Graphics Library</h1>
+</div>
 
-<link rel="stylesheet" type="text/css" href="mesa.css"></head>
+<iframe src="contents.html"></iframe>
+<div class="content">
 
-<BODY>
-
-<H1>Environment Variables</H1>
+<h1>Environment Variables</h1>
 
 <p>
 Normally, no environment variables need to be set.  Most of the environment
@@ -15,7 +23,7 @@ sometimes be useful for debugging end-user issues.
 </p>
 
 
-<H2>LibGL environment variables</H2>
+<h2>LibGL environment variables</h2>
 
 <ul>
 <li>LIBGL_DEBUG - If defined debug information will be printed to stderr.
@@ -28,7 +36,7 @@ sometimes be useful for debugging end-user issues.
 
 
 
-<H2>Core Mesa environment variables</H2>
+<h2>Core Mesa environment variables</h2>
 
 <ul>
 <li>MESA_NO_ASM - if set, disables all assembly language optimizations
@@ -41,6 +49,8 @@ sometimes be useful for debugging end-user issues.
    printed to stderr.<br>
    If the value of MESA_DEBUG is 'FP' floating point arithmetic errors will
    generate exceptions.
+<li>MESA_LOG_FILE - specifies a file name for logging all errors, warnings,
+etc., rather than stderr
 <li>MESA_TEX_PROG - if set, implement conventional texture env modes with
 fragment programs (intended for developers only)
 <li>MESA_TNL_PROG - if set, implement conventional vertex transformation
@@ -59,9 +69,25 @@ If the extension string is too long, the buffer overrun can cause the game
 to crash.
 This is a work-around for that.
 <li>MESA_GL_VERSION_OVERRIDE - changes the value returned by
-glGetString(GL_VERSION). Valid values are point-separated version numbers,
-such as "3.0". Mesa will not really implement all the features of the given
-version if it's higher than what's normally reported.
+glGetString(GL_VERSION) and possibly the GL API type.
+<ul>
+<li> The format should be MAJOR.MINOR[FC]
+<li> FC is an optional suffix that indicates a forward compatible context.
+This is only valid for versions &gt;= 3.0.
+<li> GL versions &lt; 3.0 are set to a compatibility (non-Core) profile
+<li> GL versions = 3.0, see below
+<li> GL versions &gt; 3.0 are set to a Core profile
+<li> Examples: 2.1, 3.0, 3.0FC, 3.1, 3.1FC
+<ul>
+<li> 2.1 - select a compatibility (non-Core) profile with GL version 2.1
+<li> 3.0 - select a compatibility (non-Core) profile with GL version 3.0
+<li> 3.0FC - select a Core+Forward Compatible profile with GL version 3.0
+<li> 3.1 - select a Core profile with GL version 3.1
+<li> 3.1FC - select a Core+Forward Compatible profile with GL version 3.1
+</ul>
+<li> Mesa may not really implement all the features of the given version.
+(for developers only)
+</ul>
 <li>MESA_GLSL_VERSION_OVERRIDE - changes the value returned by
 glGetString(GL_SHADING_LANGUAGE_VERSION). Valid values are integers, such as
 "130".  Mesa will not really implement all the features of the given language version
@@ -70,11 +96,11 @@ if it's higher than what's normally reported. (for developers only)
 </ul>
 
 
-<H2>Mesa Xlib driver environment variables</H2>
+<h2>Mesa Xlib driver environment variables</h2>
 
 <p>
 The following are only applicable to the Mesa Xlib software driver.
-See the <A HREF="xlibdriver.html">Xlib software driver page</A> for details.
+See the <a href="xlibdriver.html">Xlib software driver page</a> for details.
 </p>
 <ul>
 <li>MESA_RGB_VISUAL - specifies the X visual and depth for RGB mode
@@ -100,10 +126,10 @@ See the <A HREF="xlibdriver.html">Xlib software driver page</A> for details.
 </ul>
 
 
-<h2>Radeon R300 driver environment variables (non-Gallium)</h2>
+<h2>Radeon driver environment variables (radeon, r200, and r300g)</h2>
 
 <ul>
-<li>R300_NO_TCL - if set, disable hardware-accelerated Transform/Clip/Lighting.
+<li>RADEON_NO_TCL - if set, disable hardware-accelerated Transform/Clip/Lighting.
 </ul>
 
 
@@ -118,6 +144,8 @@ Mesa EGL supports different sets of environment variables.  See the
 <h2>Gallium environment variables</h2>
 
 <ul>
+<li>GALLIUM_LOG_FILE - specifies a file for logging all errors, warnings, etc.
+    rather than stderr.
 <li>GALLIUM_PRINT_OPTIONS - if non-zero, print all the Gallium environment
     variables which are used, and their current values.
 <li>GALLIUM_NOSSE - if non-zero, do not use SSE runtime code generation for
@@ -140,6 +168,8 @@ Mesa EGL supports different sets of environment variables.  See the
 <li>SOFTPIPE_DUMP_GS - if set, the softpipe driver will print geometry shaders
     to stderr
 <li>SOFTPIPE_NO_RAST - if set, rasterization is no-op'd.  For profiling purposes.
+<li>SOFTPIPE_USE_LLVM - if set, the softpipe driver will try to use LLVM JIT for
+    vertex shading procesing.
 </ul>
 
 
@@ -161,10 +191,6 @@ Other Gallium drivers have their own environment variables.  These may change
 frequently so the source code should be consulted for details.
 </p>
 
-
-<br>
-<br>
-
-
-</BODY>
-</HTML>
+</div>
+</body>
+</html>