Zack Rusin | 544dd4b | 2009-05-01 12:41:38 -0400 | [diff] [blame^] | 1 | <HTML> |
| 2 | |
| 3 | <TITLE>Mesa Release Notes</TITLE> |
| 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> |
| 17 | More informations about OpenVG can be found at <a href="http://www.khronos.org/openvg/">http://www.khronos.org/openvg/</a> . |
| 18 | </p> |
| 19 | <p> |
| 20 | The OpenVG state tracker depends on the Gallium architecture and a working EGL implementation. |
| 21 | </p> |
| 22 | |
| 23 | |
| 24 | <h2>Building the library</h2> |
| 25 | <ol> |
| 26 | <li>Build Mesa3D with Gallium3D. Any build that builds Gallium3D libraries and EGL will suffice</li> |
| 27 | <li>cd src/gallium/state_trackers/vega; make</li> |
| 28 | <li>The last step will build libOpenVG library. You can add the libdir to LD_LIBRARY_PATH or install libOpenVG</li> |
| 29 | </ol> |
| 30 | |
| 31 | <h3>Sample build</h3> |
| 32 | A sample build looks as follows: |
| 33 | <pre> |
| 34 | make linux-x86-64-debug |
| 35 | cd src/gallium/state_trackers/vega |
| 36 | make |
| 37 | cd ../../../.. |
| 38 | export LD_LIBRARY_PATH=$PWD/lib64 |
| 39 | export EGL_DRIVER="egl_softpipe" |
| 40 | </pre> |
| 41 | |
| 42 | <h2>Notes</h2> |
| 43 | <ul> |
| 44 | <li>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</li> |
| 45 | </ul> |
| 46 | |
| 47 | </body> |
| 48 | </html> |