From 2f51be75c55f69dc3e09036d6fd12f808f5a5028 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 3 Feb 2009 10:13:22 -0700 Subject: docs: document new MESA_GLX_FORCE_DIRECT env var for the Xlib driver --- docs/xlibdriver.html | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/xlibdriver.html b/docs/xlibdriver.html index d95f4d579c..029e2b1514 100644 --- a/docs/xlibdriver.html +++ b/docs/xlibdriver.html @@ -169,6 +169,20 @@ the Gamma FAQ

+

Direct Rendering Flag

+

+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: +

+
+	$ export MESA_GLX_FORCE_DIRECT=1
+
+ + +

Overlay Planes

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. -- cgit v1.2.3