X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Fopenvg.html;h=5bc866a33b12401dac0ce84e43f8955525352732;hb=74cbe6e49764aa3b059481344a77cdfdb8376d69;hp=cdf6b57e0f432b22136e2f00b5c0d31f13d1e678;hpb=bcc13b74443137043e8a34f8cb64a5add0d8af93;p=mesa.git diff --git a/docs/openvg.html b/docs/openvg.html index cdf6b57e0f4..5bc866a33b1 100644 --- a/docs/openvg.html +++ b/docs/openvg.html @@ -1,21 +1,27 @@ - + + + + + OpenVG State Tracker + + + -OpenVG State Tracker +
+

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 - + http://www.khronos.org/openvg/ .

@@ -26,36 +32,28 @@ Please refer to Mesa EGL for more information about EGL.

Building the library

    -
  1. Build Mesa3D with Gallium3D. Any build that builds Gallium3D libraries, EGL, and Gallium EGL drivers 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:
-  $ ./configure --with-state-trackers=egl,vega --enable-gallium-intel
+  $ ./configure --disable-opengl --enable-openvg --enable-gallium-egl
   $ make
   $ make install
 
-

OpenVG Demos

+

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

-

-To build the OpenVG demos: -

-
-  cd progs/openvg
-  make
-
-

-To run a demo: -

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

OpenVG Demos

+

OpenVG demos can be found in mesa/demos repository.

+