Mesa (gallium-mesa-7.4): docs: document new MESA_GLX_FORCE_DIRECT env var for the Xlib driver

Alan Hourihane alanh at kemper.freedesktop.org
Mon Feb 16 17:31:27 UTC 2009


Module: Mesa
Branch: gallium-mesa-7.4
Commit: 88c97a266296ba93d2dc45ac2eb79a1120861477
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=88c97a266296ba93d2dc45ac2eb79a1120861477

Author: Brian Paul <brianp at vmware.com>
Date:   Tue Feb  3 15:39:13 2009 -0700

docs: document new MESA_GLX_FORCE_DIRECT env var for the Xlib driver

(cherry picked from master, commit 2f51be75c55f69dc3e09036d6fd12f808f5a5028)

---

 docs/xlibdriver.html |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/docs/xlibdriver.html b/docs/xlibdriver.html
index d95f4d5..029e2b1 100644
--- a/docs/xlibdriver.html
+++ b/docs/xlibdriver.html
@@ -169,6 +169,20 @@ the Gamma FAQ</a>
 </p>
 
 
+<H2>Direct Rendering Flag</H2>
+<p>
+Some applications won't run with indirect rendering contexts (which is
+what the Xlib driver supports).
+To force the glXIsDirect() query to return True, set the MESA_GLX_FORCE_DIRECT
+environment variable.
+For example:
+</p>
+<pre>
+	$ export MESA_GLX_FORCE_DIRECT=1
+</pre>
+
+
+
 <H2>Overlay Planes</H2>
 <p>
 Hardware overlay planes are supported by the Xlib driver.  To
@@ -268,6 +282,8 @@ This extension was added in Mesa 2.6
    MESA_BACK_BUFFER - specifies how to implement the back color buffer (X only)
    MESA_PRIVATE_CMAP - force aux/tk libraries to use private colormaps (X only)
    MESA_GAMMA - gamma correction coefficients (X only)
+   MESA_GLX_FORCE_DIRECT - report that the driver is direct rendering, even
+      though it's not.
 </pre>
 
 




More information about the mesa-commit mailing list