The attached archive contains the starting point for developing an OpenVG-based embedded graphics application on the Wandboard.
It contains 2 items:
1) The training presentation:
These are the support slides for the OpenVG presentation held during the Linux Embedded Challenge workshop.
2) The support application:
This is a sample application meant to aid in setting up the platform for an OpenVG-based application.
In order to compile it directly on the Wandboard, you will need the arm-linux-gnueabi-g++ compiler. If it is not already installed on the board, you can obtain it by installing the g++-arm-linux-gnueabi package:
sudo apt-get install g++-arm-linux-gnueabi
Use the provided Makefile to build the application. It provides an example on how to:
- Set up the platform (using X11) and the EGL objects (context, rendering surface etc.)
- Create an OpenVG path
- Create a linear gradient paint
- Create a pattern paint based on a user-generated image
- Fill and stroke a path
- Use transformation matrices to scale, rotate and translate a rendered object