| <HTML> |
| |
| <TITLE>OpenVG State Tracker</TITLE> |
| |
| <head><link rel="stylesheet" type="text/css" href="mesa.css"></head> |
| |
| <BODY> |
| |
| <body bgcolor="#eeeeee"> |
| |
| <H1>OpenVG State Tracker</H1> |
| |
| <p> |
| The current version of the OpenVG state tracker implements OpenVG 1.0. |
| </p> |
| <p> |
| More informations about OpenVG can be found at |
| <a href="http://www.khronos.org/openvg/" target="_parent"> |
| http://www.khronos.org/openvg/</a> . |
| </p> |
| <p> |
| The OpenVG state tracker depends on the Gallium architecture and a working EGL implementation. |
| Please refer to <a href="egl.html">Mesa EGL</a> for more information about EGL. |
| </p> |
| |
| |
| <h2>Building the library</h2> |
| <ol> |
| <li>Build Mesa3D with Gallium3D. Any build that builds Gallium3D libraries, EGL, and Gallium EGL drivers will suffice</li> |
| <li>cd src/gallium/state_trackers/vega; make</li> |
| <li>The last step will build libOpenVG library. You can add the libdir to LD_LIBRARY_PATH or install libOpenVG</li> |
| </ol> |
| |
| <h3>Sample build</h3> |
| A sample build looks as follows: |
| <pre> |
| $ ./configure --with-state-trackers=egl,vega --enable-gallium-intel |
| $ make |
| $ make install |
| </pre> |
| |
| <h2>OpenVG Demos</h2> |
| |
| <p> |
| To build the OpenVG demos: |
| </p> |
| <pre> |
| cd progs/openvg |
| make |
| </pre> |
| <p> |
| To run a demo: |
| </p> |
| <pre> |
| cd openvg/demos |
| ./lion |
| </pre> |
| |
| |
| </body> |
| </html> |