Zack Rusin | 544dd4b | 2009-05-01 12:41:38 -0400 | [diff] [blame] | 1 | <HTML> |
| 2 | |
Chia-I Wu | 1af6719 | 2010-01-21 15:29:28 +0800 | [diff] [blame] | 3 | <TITLE>OpenVG State Tracker</TITLE> |
Zack Rusin | 544dd4b | 2009-05-01 12:41:38 -0400 | [diff] [blame] | 4 | |
| 5 | <head><link rel="stylesheet" type="text/css" href="mesa.css"></head> |
| 6 | |
| 7 | <BODY> |
| 8 | |
| 9 | <body bgcolor="#eeeeee"> |
| 10 | |
| 11 | <H1>OpenVG State Tracker</H1> |
| 12 | |
| 13 | <p> |
| 14 | The current version of the OpenVG state tracker implements OpenVG 1.0. |
| 15 | </p> |
| 16 | <p> |
Brian Paul | d6318ba | 2009-05-01 11:37:09 -0600 | [diff] [blame] | 17 | More informations about OpenVG can be found at |
| 18 | <a href="http://www.khronos.org/openvg/" target="_parent"> |
| 19 | http://www.khronos.org/openvg/</a> . |
Zack Rusin | 544dd4b | 2009-05-01 12:41:38 -0400 | [diff] [blame] | 20 | </p> |
| 21 | <p> |
| 22 | The OpenVG state tracker depends on the Gallium architecture and a working EGL implementation. |
Chia-I Wu | 1af6719 | 2010-01-21 15:29:28 +0800 | [diff] [blame] | 23 | Please refer to <a href="egl.html">Mesa EGL</a> for more information about EGL. |
Zack Rusin | 544dd4b | 2009-05-01 12:41:38 -0400 | [diff] [blame] | 24 | </p> |
| 25 | |
| 26 | |
| 27 | <h2>Building the library</h2> |
| 28 | <ol> |
Chia-I Wu | 1af6719 | 2010-01-21 15:29:28 +0800 | [diff] [blame] | 29 | <li>Build Mesa3D with Gallium3D. Any build that builds Gallium3D libraries, EGL, and Gallium EGL drivers will suffice</li> |
Zack Rusin | 544dd4b | 2009-05-01 12:41:38 -0400 | [diff] [blame] | 30 | <li>cd src/gallium/state_trackers/vega; make</li> |
| 31 | <li>The last step will build libOpenVG library. You can add the libdir to LD_LIBRARY_PATH or install libOpenVG</li> |
| 32 | </ol> |
| 33 | |
| 34 | <h3>Sample build</h3> |
| 35 | A sample build looks as follows: |
| 36 | <pre> |
Chia-I Wu | 3c967a9 | 2010-01-22 16:31:43 +0800 | [diff] [blame] | 37 | $ ./configure --with-state-trackers=egl,vega --enable-gallium-intel |
Chia-I Wu | 1af6719 | 2010-01-21 15:29:28 +0800 | [diff] [blame] | 38 | $ make |
| 39 | $ make install |
Zack Rusin | 544dd4b | 2009-05-01 12:41:38 -0400 | [diff] [blame] | 40 | </pre> |
| 41 | |
Brian Paul | d6318ba | 2009-05-01 11:37:09 -0600 | [diff] [blame] | 42 | <h2>OpenVG Demos</h2> |
| 43 | |
| 44 | <p> |
| 45 | To build the OpenVG demos: |
| 46 | </p> |
| 47 | <pre> |
| 48 | cd progs/openvg |
| 49 | make |
| 50 | </pre> |
| 51 | <p> |
| 52 | To run a demo: |
| 53 | </p> |
| 54 | <pre> |
| 55 | cd openvg/demos |
| 56 | ./lion |
| 57 | </pre> |
| 58 | |
| 59 | |
Zack Rusin | 544dd4b | 2009-05-01 12:41:38 -0400 | [diff] [blame] | 60 | </body> |
| 61 | </html> |