X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=docs%2Fopenvg.html;h=eff8c5828e2307ba3735a9f457925dfbda9d5117;hb=195bbe8ce218533569dde1368d04da0fd229913d;hp=442ee522f18094c6092a766c328c9a68aa4ffd4b;hpb=38f56411067d51ad0de0ea73498964baaacea90b;p=mesa.git diff --git a/docs/openvg.html b/docs/openvg.html index 442ee522f18..eff8c5828e2 100644 --- a/docs/openvg.html +++ b/docs/openvg.html @@ -1,6 +1,6 @@ -Mesa Release Notes +OpenVG State Tracker @@ -20,49 +20,33 @@ 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. cd src/gallium/state_trackers/vega; make
  4. -
  5. The last step will build libOpenVG library. You can add the libdir to LD_LIBRARY_PATH or install libOpenVG
  6. +
  7. Run configure with --enable-openvg. If you do +not need OpenGL, you can add --disable-opengl to save the +compilation time.
  8. + +
  9. Build and install Mesa as usual.

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 --disable-opengl --enable-openvg
+  $ make
+  $ make install
 
-

OpenVG Demos

- -

-To build the OpenVG demos: -

-
-  cd progs/openvg
-  make
-
-

-To run a demo: -

-
-  cd openvg/demos
-  ./lion
-
+

It will install libOpenVG.so, libEGL.so, and one +or more EGL drivers.

+

OpenVG Demos

-

Notes

- +

OpenVG demos can be found in mesa/demos repository.