blob: 442ee522f18094c6092a766c328c9a68aa4ffd4b [file] [log] [blame]
Zack Rusin544dd4b2009-05-01 12:41:38 -04001<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>
14The current version of the OpenVG state tracker implements OpenVG 1.0.
15</p>
16<p>
Brian Pauld6318ba2009-05-01 11:37:09 -060017More informations about OpenVG can be found at
18<a href="http://www.khronos.org/openvg/" target="_parent">
19http://www.khronos.org/openvg/</a> .
Zack Rusin544dd4b2009-05-01 12:41:38 -040020</p>
21<p>
22The OpenVG state tracker depends on the Gallium architecture and a working EGL implementation.
23</p>
24
25
26<h2>Building the library</h2>
27<ol>
28<li>Build Mesa3D with Gallium3D. Any build that builds Gallium3D libraries and EGL will suffice</li>
29<li>cd src/gallium/state_trackers/vega; make</li>
30<li>The last step will build libOpenVG library. You can add the libdir to LD_LIBRARY_PATH or install libOpenVG</li>
31</ol>
32
33<h3>Sample build</h3>
34A sample build looks as follows:
35<pre>
Brian Pauld6318ba2009-05-01 11:37:09 -060036 make linux-x86-64-debug
37 cd src/gallium/state_trackers/vega
38 make
39 cd ../../../..
40 export LD_LIBRARY_PATH=$PWD/lib64
41 export EGL_DRIVER="egl_softpipe"
Zack Rusin544dd4b2009-05-01 12:41:38 -040042</pre>
43
Brian Pauld6318ba2009-05-01 11:37:09 -060044<h2>OpenVG Demos</h2>
45
46<p>
47To build the OpenVG demos:
48</p>
49<pre>
50 cd progs/openvg
51 make
52</pre>
53<p>
54To run a demo:
55</p>
56<pre>
57 cd openvg/demos
58 ./lion
59</pre>
60
61
Zack Rusin544dd4b2009-05-01 12:41:38 -040062<h2>Notes</h2>
63<ul>
64<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>
65</ul>
66
67</body>
68</html>