OpenVG State Tracker
The current version of the OpenVG state tracker implements OpenVG 1.0.
More informations 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.
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
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"
OpenVG Demos
To build the OpenVG demos:
cd progs/openvg
make
To run a demo:
cd openvg/demos
./lion
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