X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=docs%2Fopenvg.html;h=28ebb82e83d7a786dd11e8f9485c380c6bad67d5;hb=2d9c33009a62b704e64b49b87ed1cee9c8dcb12b;hp=442ee522f18094c6092a766c328c9a68aa4ffd4b;hpb=0c309bb494b6ee1c403442d1207743f749f95b6e;p=mesa.git diff --git a/docs/openvg.html b/docs/openvg.html index 442ee522f18..28ebb82e83d 100644 --- a/docs/openvg.html +++ b/docs/openvg.html @@ -1,68 +1,59 @@ - + + + + + OpenVG State Tracker + + + -Mesa Release Notes +
+

The Mesa 3D Graphics Library

+
- + +
- - - - -

OpenVG State Tracker

+

OpenVG State Tracker

-The current version of the OpenVG state tracker implements OpenVG 1.0. +The current version of the OpenVG state tracker implements OpenVG 1.1.

-More informations about OpenVG can be found at - +More information about OpenVG can be found at + 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 and +--enable-gallium-egl. 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 --enable-gallium-egl
+  $ 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.

+