summaryrefslogtreecommitdiffstats
path: root/docs/openvg.html
blob: cdf6b57e0f432b22136e2f00b5c0d31f13d1e678 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<HTML>

<TITLE>OpenVG State Tracker</TITLE>

<head><link rel="stylesheet" type="text/css" href="mesa.css"></head>

<BODY>

<body bgcolor="#eeeeee">

<H1>OpenVG State Tracker</H1>

<p>
The current version of the OpenVG state tracker implements OpenVG 1.0.
</p>
<p>
More informations about OpenVG can be found at
<a href="http://www.khronos.org/openvg/" target="_parent">
http://www.khronos.org/openvg/</a> .
</p>
<p>
The OpenVG state tracker depends on the Gallium architecture and a working EGL implementation.
Please refer to <a href="egl.html">Mesa EGL</a> for more information about EGL.
</p>


<h2>Building the library</h2>
<ol>
<li>Build Mesa3D with Gallium3D. Any build that builds Gallium3D libraries, EGL, and Gallium EGL drivers will suffice</li>
<li>cd src/gallium/state_trackers/vega; make</li>
<li>The last step will build libOpenVG library. You can add the libdir to LD_LIBRARY_PATH or install libOpenVG</li>
</ol>

<h3>Sample build</h3>
A sample build looks as follows:
<pre>
  $ ./configure --with-state-trackers=egl,vega --enable-gallium-intel
  $ make
  $ make install
</pre>

<h2>OpenVG Demos</h2>

<p>
To build the OpenVG demos:
</p>
<pre>
  cd progs/openvg
  make
</pre>
<p>
To run a demo:
</p>
<pre>
  cd openvg/demos
  ./lion
</pre>


</body>
</html>