blob: cdf6b57e0f432b22136e2f00b5c0d31f13d1e678 [file] [log] [blame]
Zack Rusin544dd4b2009-05-01 12:41:38 -04001<HTML>
2
Chia-I Wu1af67192010-01-21 15:29:28 +08003<TITLE>OpenVG State Tracker</TITLE>
Zack Rusin544dd4b2009-05-01 12:41:38 -04004
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.
Chia-I Wu1af67192010-01-21 15:29:28 +080023Please refer to <a href="egl.html">Mesa EGL</a> for more information about EGL.
Zack Rusin544dd4b2009-05-01 12:41:38 -040024</p>
25
26
27<h2>Building the library</h2>
28<ol>
Chia-I Wu1af67192010-01-21 15:29:28 +080029<li>Build Mesa3D with Gallium3D. Any build that builds Gallium3D libraries, EGL, and Gallium EGL drivers will suffice</li>
Zack Rusin544dd4b2009-05-01 12:41:38 -040030<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>
35A sample build looks as follows:
36<pre>
Chia-I Wu3c967a92010-01-22 16:31:43 +080037 $ ./configure --with-state-trackers=egl,vega --enable-gallium-intel
Chia-I Wu1af67192010-01-21 15:29:28 +080038 $ make
39 $ make install
Zack Rusin544dd4b2009-05-01 12:41:38 -040040</pre>
41
Brian Pauld6318ba2009-05-01 11:37:09 -060042<h2>OpenVG Demos</h2>
43
44<p>
45To build the OpenVG demos:
46</p>
47<pre>
48 cd progs/openvg
49 make
50</pre>
51<p>
52To run a demo:
53</p>
54<pre>
55 cd openvg/demos
56 ./lion
57</pre>
58
59
Zack Rusin544dd4b2009-05-01 12:41:38 -040060</body>
61</html>