Mesa (master): docs: Update documentation for OpenVG and OpenGL ES.

Chia-I Wu olv at kemper.freedesktop.org
Thu Jan 21 07:59:24 UTC 2010


Module: Mesa
Branch: master
Commit: 1af67195b31f66c725293c916b794fbdb633aec9
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1af67195b31f66c725293c916b794fbdb633aec9

Author: Chia-I Wu <olvaffe at gmail.com>
Date:   Thu Jan 21 15:29:28 2010 +0800

docs: Update documentation for OpenVG and OpenGL ES.

Update the instructions and add references to egl.html.

---

 docs/opengles.html |    4 ++--
 docs/openvg.html   |   19 ++++++-------------
 2 files changed, 8 insertions(+), 15 deletions(-)

diff --git a/docs/opengles.html b/docs/opengles.html
index d460bcc..8665a9c 100644
--- a/docs/opengles.html
+++ b/docs/opengles.html
@@ -13,7 +13,8 @@ More informations about OpenGL ES can be found at
 <a href="http://www.khronos.org/opengles/">http://www.khronos.org/opengles/</a>.</p>
 
 <p>The OpenGL ES state trackers depends on the Gallium architecture and a
-working EGL implementation.</p>
+working EGL implementation.  Please refer to <a href="egl.html">Mesa EGL</a>
+for more information about EGL.</p>
 
 
 <h2>Build the Libraries</h2>
@@ -28,7 +29,6 @@ working EGL implementation.</p>
 <p>There are some demos in <code>progs/es1/</code> and <code>progs/es2/</code>.  You can use them to test your build.  For example,</p>
 
 <pre>
-  $ export EGL_DRIVER=/usr/local/lib/dri/egl_x11_i915.so # specify the EGL driver
   $ cd progs/es1/xegl
   $ make
   $ ./torus
diff --git a/docs/openvg.html b/docs/openvg.html
index 442ee52..cd39b13 100644
--- a/docs/openvg.html
+++ b/docs/openvg.html
@@ -1,6 +1,6 @@
 <HTML>
 
-<TITLE>Mesa Release Notes</TITLE>
+<TITLE>OpenVG State Tracker</TITLE>
 
 <head><link rel="stylesheet" type="text/css" href="mesa.css"></head>
 
@@ -20,12 +20,13 @@ http://www.khronos.org/openvg/</a> .
 </p>
 <p>
 The OpenVG state tracker depends on the Gallium architecture and a working EGL implementation.
+Please refer to <a href="egl.html">Mesa EGL</a> for more information about EGL.
 </p>
 
 
 <h2>Building the library</h2>
 <ol>
-<li>Build Mesa3D with Gallium3D. Any build that builds Gallium3D libraries and EGL will suffice</li>
+<li>Build Mesa3D with Gallium3D. Any build that builds Gallium3D libraries, EGL, and Gallium EGL drivers will suffice</li>
 <li>cd src/gallium/state_trackers/vega; make</li>
 <li>The last step will build libOpenVG library. You can add the libdir to LD_LIBRARY_PATH or install libOpenVG</li>
 </ol>
@@ -33,12 +34,9 @@ The OpenVG state tracker depends on the Gallium architecture and a working EGL i
 <h3>Sample build</h3>
 A sample build looks as follows:
 <pre>
-  make linux-x86-64-debug
-  cd src/gallium/state_trackers/vega
-  make
-  cd ../../../..
-  export LD_LIBRARY_PATH=$PWD/lib64
-  export EGL_DRIVER="egl_softpipe"
+  $ ./configure --with-state-trackers=egl_g3d,vega --enable-gallium-intel
+  $ make
+  $ make install
 </pre>
 
 <h2>OpenVG Demos</h2>
@@ -59,10 +57,5 @@ To run a demo:
 </pre>
 
 
-<h2>Notes</h2>
-<ul>
-<li>EGL_DRIVER environmental variable: forces usage of a specific EGL driver. Unless you force egl_softpipe the implementation will look for a DRI hardware accelerate driver and unless you have a Gallium driver that supports it, you'll see crashes</li>
-</ul>
-
 </body>
 </html>




More information about the mesa-commit mailing list