llvmpipe: twoside for specular color also
[mesa.git] / docs / openvg.html
1 <HTML>
2
3 <TITLE>OpenVG State Tracker</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
18 <a href="http://www.khronos.org/openvg/" target="_parent">
19 http://www.khronos.org/openvg/</a> .
20 </p>
21 <p>
22 The OpenVG state tracker depends on the Gallium architecture and a working EGL implementation.
23 Please refer to <a href="egl.html">Mesa EGL</a> for more information about EGL.
24 </p>
25
26
27 <h2>Building the library</h2>
28 <ol>
29 <li>Build Mesa3D with Gallium3D. Any build that builds Gallium3D libraries, EGL, and Gallium EGL drivers will suffice</li>
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>
37 $ ./configure --with-state-trackers=egl,vega --enable-gallium-intel
38 $ make
39 $ make install
40 </pre>
41
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
60 </body>
61 </html>