Embedded Graphics

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Embedded Graphics

Embedded Graphics

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


 


Labels (1)
Attachments
%3CLINGO-SUB%20id%3D%22lingo-sub-1104291%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EEmbedded%20Graphics%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1104291%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThe%20attached%20archive%20contains%20the%20starting%20point%20for%20developing%20an%20OpenVG-based%20embedded%20graphics%20application%20on%20the%20Wandboard.%3C%2FP%3E%3CP%3EIt%20contains%202%20items%3A%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3CBR%20%2F%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E1)%20The%20training%20presentation%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20These%20are%20the%20support%20slides%20for%20the%20OpenVG%20presentation%20held%20during%20the%20Linux%20Embedded%20Challenge%20workshop.%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3CBR%20%2F%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E2)%20The%20support%20application%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20This%20is%20a%20sample%20application%20meant%20to%20aid%20in%20setting%20up%20the%20platform%20for%20an%20OpenVG-based%20application.%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20In%20order%20to%20compile%20it%20directly%20on%20the%20Wandboard%2C%20you%20will%20need%20the%20%3CSTRONG%3Earm-linux-gnueabi-g%2B%2B%3C%2FSTRONG%3E%20compiler.%20If%20it%20is%20not%20already%20installed%20on%20the%20board%2C%20you%20can%20obtain%20it%20by%20installing%20the%3CSTRONG%3E%20g%2B%2B-arm-linux-gnueabi%3C%2FSTRONG%3E%20package%3A%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CSPAN%20style%3D%22font-family%3A%20courier%20new%2Ccourier%3B%22%3Esudo%20apt-get%20install%3C%2FSPAN%3E%3C%2FSTRONG%3E%20%3CSPAN%20style%3D%22font-family%3A%20courier%20new%2Ccourier%3B%22%3E%3CSTRONG%3Eg%2B%2B-arm-linux-gnueabi%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Use%20the%20provided%20Makefile%20to%20build%20the%20application.%20It%20provides%20an%20example%20on%20how%20to%3A%3C%2FP%3E%3CUL%3E%3CLI%3ESet%20up%20the%20platform%20(using%20X11)%20and%20the%20EGL%20objects%20(context%2C%20rendering%20surface%20etc.)%3C%2FLI%3E%3CLI%3ECreate%20an%20OpenVG%20path%3C%2FLI%3E%3CLI%3ECreate%20a%20linear%20gradient%20paint%3C%2FLI%3E%3CLI%3ECreate%20a%20pattern%20paint%20based%20on%20a%20user-generated%20image%3C%2FLI%3E%3CLI%3EFill%20and%20stroke%20a%20path%3C%2FLI%3E%3CLI%3EUse%20transformation%20matrices%20to%20scale%2C%20rotate%20and%20translate%20a%20rendered%20object%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22font-family%3A%20courier%20new%2Ccourier%3B%22%3E%3CSTRONG%3E%3CBR%20%2F%3E%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22font-family%3A%20courier%20new%2Ccourier%3B%22%3E%3CSTRONG%3E%26nbsp%3B%20%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%3CH3%20id%3D%22toc-hId-1081670919%22%20id%3D%22toc-hId-1998698232%22%3E%3CSTRONG%3E%3CBR%20%2F%3E%3C%2FSTRONG%3E%3C%2FH3%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1104291%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3ELinux%20Embedded%20Challenge%202014%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
No ratings
Version history
Last update:
‎08-04-2014 05:30 AM
Updated by: