# 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. 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. cd src/gallium/state_trackers/vega; make
3. 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:

      $ ./configure --with-state-trackers=egl,vega --enable-gallium-intel
      $ make
      $ make install

## OpenVG Demos

To build the OpenVG demos:

      cd progs/openvg
      make

To run a demo:

      cd openvg/demos
      ./lion