From: Chia-I Wu Date: Thu, 21 Jan 2010 07:29:28 +0000 (+0800) Subject: docs: Update documentation for OpenVG and OpenGL ES. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1af67195b31f66c725293c916b794fbdb633aec9;p=mesa.git docs: Update documentation for OpenVG and OpenGL ES. Update the instructions and add references to egl.html. --- diff --git a/docs/opengles.html b/docs/opengles.html index d460bccf6c5..8665a9c353e 100644 --- a/docs/opengles.html +++ b/docs/opengles.html @@ -13,7 +13,8 @@ More informations about OpenGL ES can be found at http://www.khronos.org/opengles/.

The OpenGL ES state trackers depends on the Gallium architecture and a -working EGL implementation.

+working EGL implementation. Please refer to Mesa EGL +for more information about EGL.

Build the Libraries

@@ -28,7 +29,6 @@ working EGL implementation.

There are some demos in progs/es1/ and progs/es2/. You can use them to test your build. For example,

-  $ 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 442ee522f18..cd39b133c43 100644
--- a/docs/openvg.html
+++ b/docs/openvg.html
@@ -1,6 +1,6 @@
 
 
-Mesa Release Notes
+OpenVG State Tracker
 
 
 
@@ -20,12 +20,13 @@ http://www.khronos.org/openvg/ .
 

The OpenVG state tracker depends on the Gallium architecture and a working EGL implementation. +Please refer to Mesa EGL for more information about EGL.

Building the library

    -
  1. Build Mesa3D with Gallium3D. Any build that builds Gallium3D libraries and EGL will suffice
  2. +
  3. Build Mesa3D with Gallium3D. Any build that builds Gallium3D libraries, EGL, and Gallium EGL drivers will suffice
  4. cd src/gallium/state_trackers/vega; make
  5. The last step will build libOpenVG library. You can add the libdir to LD_LIBRARY_PATH or install libOpenVG
@@ -33,12 +34,9 @@ The OpenVG state tracker depends on the Gallium architecture and a working EGL i

Sample build

A sample build looks as follows:
-  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
 

OpenVG Demos

@@ -59,10 +57,5 @@ To run a demo:
-

Notes

- -