Clone of mesa.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

openvg.html 1.5KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <HTML>
  2. <TITLE>Mesa Release Notes</TITLE>
  3. <head><link rel="stylesheet" type="text/css" href="mesa.css"></head>
  4. <BODY>
  5. <body bgcolor="#eeeeee">
  6. <H1>OpenVG State Tracker</H1>
  7. <p>
  8. The current version of the OpenVG state tracker implements OpenVG 1.0.
  9. </p>
  10. <p>
  11. More informations about OpenVG can be found at
  12. <a href="http://www.khronos.org/openvg/" target="_parent">
  13. http://www.khronos.org/openvg/</a> .
  14. </p>
  15. <p>
  16. The OpenVG state tracker depends on the Gallium architecture and a working EGL implementation.
  17. </p>
  18. <h2>Building the library</h2>
  19. <ol>
  20. <li>Build Mesa3D with Gallium3D. Any build that builds Gallium3D libraries and EGL will suffice</li>
  21. <li>cd src/gallium/state_trackers/vega; make</li>
  22. <li>The last step will build libOpenVG library. You can add the libdir to LD_LIBRARY_PATH or install libOpenVG</li>
  23. </ol>
  24. <h3>Sample build</h3>
  25. A sample build looks as follows:
  26. <pre>
  27. make linux-x86-64-debug
  28. cd src/gallium/state_trackers/vega
  29. make
  30. cd ../../../..
  31. export LD_LIBRARY_PATH=$PWD/lib64
  32. export EGL_DRIVER="egl_softpipe"
  33. </pre>
  34. <h2>OpenVG Demos</h2>
  35. <p>
  36. To build the OpenVG demos:
  37. </p>
  38. <pre>
  39. cd progs/openvg
  40. make
  41. </pre>
  42. <p>
  43. To run a demo:
  44. </p>
  45. <pre>
  46. cd openvg/demos
  47. ./lion
  48. </pre>
  49. <h2>Notes</h2>
  50. <ul>
  51. <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>
  52. </ul>
  53. </body>
  54. </html>