Merge branch 'mesa_7_5_branch'
[mesa.git] / docs / openvg.html
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
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 </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>
34 A sample build looks as follows:
35 <pre>
36 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"
42 </pre>
43
44 <h2>OpenVG Demos</h2>
45
46 <p>
47 To build the OpenVG demos:
48 </p>
49 <pre>
50 cd progs/openvg
51 make
52 </pre>
53 <p>
54 To run a demo:
55 </p>
56 <pre>
57 cd openvg/demos
58 ./lion
59 </pre>
60
61
62 <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>