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
-
-
- Build Mesa3D with Gallium3D. Any build that builds Gallium3D libraries and EGL will suffice -
- cd src/gallium/state_trackers/vega; make -
- The last step will build libOpenVG library. You can add the libdir to LD_LIBRARY_PATH or install libOpenVG +
- 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.
+
+ - 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
--
-
- 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 -
OpenVG demos can be found in mesa/demos repository.
+