Mesa (7.10): docs: Add an example for EGL_DRIVERS_PATH.

Chia-I Wu olv at kemper.freedesktop.org
Wed Jan 5 04:50:57 UTC 2011


Module: Mesa
Branch: 7.10
Commit: ebcb7f27e5950041478d92c82f0f2419b35cdbd2
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ebcb7f27e5950041478d92c82f0f2419b35cdbd2

Author: Chia-I Wu <olv at lunarg.com>
Date:   Tue Jan  4 00:53:19 2011 +0800

docs: Add an example for EGL_DRIVERS_PATH.

EGL_DRIVERS_PATH can be set to test EGL without installation.
(cherry picked from commit cba77869547f8edb1c1fdafcf457bccc4097042b)

---

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

diff --git a/docs/egl.html b/docs/egl.html
index ff610c3..33e9187 100644
--- a/docs/egl.html
+++ b/docs/egl.html
@@ -134,6 +134,16 @@ colon-separated directories where the main library will look for drivers, in
 addition to the default directory.  This variable is ignored for setuid/setgid
 binaries.</p>
 
+<p>This variable is usually set to test an uninstalled build.  For example, one
+may set</p>
+
+<pre>
+  $ export LD_LIBRARY_PATH=$mesa/lib
+  $ export EGL_DRIVERS_PATH=$mesa/lib/egl
+</pre>
+
+<p>to test a build without installation</p>
+
 </li>
 
 <li><code>EGL_DRIVER</code>




More information about the mesa-commit mailing list