X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Fenvvars.html;h=31d14a45abb08a3f80592b71875d55d3f2d2c1bc;hb=61393bdcdc3b63624bf6e9730444f5e9deeedfc8;hp=89f71739ce8311773f82be91b8c0434b03d1af0a;hpb=75e62024c32b6a670da767536b756e2247d1880c;p=mesa.git diff --git a/docs/envvars.html b/docs/envvars.html index 89f71739ce8..31d14a45abb 100644 --- a/docs/envvars.html +++ b/docs/envvars.html @@ -7,6 +7,13 @@ +
+

The Mesa 3D Graphics Library

+
+ + +
+

Environment Variables

@@ -25,6 +32,8 @@ sometimes be useful for debugging end-user issues.

  • LIBGL_ALWAYS_INDIRECT - forces an indirect rendering context/connection.
  • LIBGL_ALWAYS_SOFTWARE - if set, always use software rendering
  • LIBGL_NO_DRAWARRAYS - if set do not use DrawArrays GLX protocol (for debugging) +
  • LIBGL_SHOW_FPS - print framerate to stdout based on the number of glXSwapBuffers + calls per second. @@ -38,7 +47,7 @@ sometimes be useful for debugging end-user issues.
  • MESA_NO_SSE - if set, disables Intel SSE optimizations
  • MESA_DEBUG - if set, error messages are printed to stderr. For example, if the application generates a GL_INVALID_ENUM error, a corresponding error - message indicating where the error occured, and possibly why, will be + message indicating where the error occurred, and possibly why, will be printed to stderr.
    If the value of MESA_DEBUG is 'FP' floating point arithmetic errors will generate exceptions. @@ -62,9 +71,25 @@ If the extension string is too long, the buffer overrun can cause the game to crash. This is a work-around for that.
  • 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. +
  • 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 @@ -96,10 +121,38 @@ See the Xlib software driver page for details.

    i945/i965 driver environment variables (non-Gallium)

    @@ -121,14 +174,13 @@ Mesa EGL supports different sets of environment variables. See the

    Gallium environment variables

    Softpipe driver environment variables

    @@ -146,14 +201,14 @@ Mesa EGL supports different sets of environment variables. See the to stderr
  • SOFTPIPE_NO_RAST - if set, rasterization is no-op'd. For profiling purposes.
  • SOFTPIPE_USE_LLVM - if set, the softpipe driver will try to use LLVM JIT for - vertex shading procesing. + vertex shading processing.

    LLVMpipe driver environment variables

    +

    VMware SVGA driver environment variables

    + +

    Other Gallium drivers have their own environment variables. These may change frequently so the source code should be consulted for details.

    +