Clone of mesa.
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <HTML>
  2. <TITLE>Environment Variables</TITLE>
  3. <link rel="stylesheet" type="text/css" href="mesa.css"></head>
  4. <BODY>
  5. <H1>Environment Variables</H1>
  6. <p>
  7. Mesa supports the following environment variables:
  8. </p>
  9. <ul>
  10. <li>MESA_NO_ASM - if set, disables all assembly language optimizations
  11. <li>MESA_NO_MMX - if set, disables Intel MMX optimizations
  12. <li>MESA_NO_3DNOW - if set, disables AMD 3DNow! optimizations
  13. <li>MESA_NO_SSE - if set, disables Intel SSE optimizations
  14. <li>MESA_DEBUG - if set, error messages are printed to stderr.
  15. If the value of MESA_DEBUG is "FP" floating point arithmetic errors will
  16. generate exceptions.
  17. <li>MESA_NO_DITHER - if set, disables dithering, overriding glEnable(GL_DITHER)
  18. <li>MESA_TEX_PROG - if set, implement conventional texture env modes with
  19. fragment programs (intended for developers only)
  20. <li>MESA_TNL_PROG - if set, implement conventional vertex transformation
  21. operations with vertex programs (intended for developers only).
  22. Setting this variable automatically sets the MESA_TEX_PROG variable as well.
  23. <li>MESA_EXTENSION_OVERRIDE - can be used to enable/disable extensions.
  24. A value such as "GL_EXT_foo -GL_EXT_bar" will enable the GL_EXT_foo extension
  25. and disable the GL_EXT_bar extension.
  26. <li>MESA_GLSL - <a href="shading.html#envvars">shading language options</a>
  27. </ul>
  28. <p>
  29. The following are only applicable to the Xlib software driver.
  30. See the <A HREF="xlibdriver.html">Xlib software driver page</A> for details.
  31. </p>
  32. <ul>
  33. <li>MESA_RGB_VISUAL - specifies the X visual and depth for RGB mode
  34. <li>MESA_CI_VISUAL - specifies the X visual and depth for CI mode
  35. <li>MESA_BACK_BUFFER - specifies how to implement the back color buffer,
  36. either "pixmap" or "ximage"
  37. <li>MESA_GAMMA - gamma correction coefficients for red, green, blue channels
  38. <li>MESA_XSYNC - enable synchronous X behavior (for debugging only)
  39. <li>MESA_GLX_FORCE_CI - if set, force GLX to treat 8bpp visuals as CI visuals
  40. <li>MESA_GLX_FX - set to either "fullscreen" for full-screen rendering,
  41. "window" to render into a window, or "disable" to disable the Glide driver.
  42. <li>MESA_GLX_FORCE_ALPHA - if set, forces RGB windows to have an alpha channel.
  43. <li>MESA_GLX_DEPTH_BITS - specifies default number of bits for depth buffer.
  44. <li>MESA_GLX_ALPHA_BITS - specifies default number of bits for alpha channel.
  45. </ul>
  46. <p>
  47. These environment variables are for the Intel i945/i965 drivers:
  48. </p>
  49. <ul>
  50. <li>INTEL_STRICT_CONFORMANCE - if set to 1, enable sw fallbacks to improve
  51. OpenGL conformance. If set to 2, always use software rendering.
  52. <li>INTEL_NO_BLIT - if set, disable hardware-accelerated glBitmap,
  53. glCopyPixels, glDrawPixels.
  54. </ul>
  55. <p>
  56. These environment variables are for the Radeon R300 driver:
  57. </p>
  58. <ul>
  59. <li>R300_NO_TCL - if set, disable hardware-accelerated Transform/Clip/Lighting.
  60. </ul>
  61. <p>
  62. Mesa EGL supports different sets of environment variables. See the
  63. <a href="egl.html">Mesa EGL</a> page for the details.
  64. </p>
  65. </BODY>
  66. </HTML>