13.07.2015 Views

Mali GPU User Interface Engine Application Development Guide

Mali GPU User Interface Engine Application Development Guide

Mali GPU User Interface Engine Application Development Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 3Tutorial on Drawing 2D ShapesThis chapter describes how to use the MDE library to draw 2D shapes. It contains the followingsections:• Drawing a triangle on page 3-2• Vertex coloring on page 3-7• Drawing a rectangle with a custom texture on page 3-11.NoteThese examples uses OpenGL ES, the 3D graphics standard, to draw the shapes. OpenVG, the 2Dgraphics standard, is not supported by the MDE library.ARM DUI 0527A-02a Copyright © 2010 ARM. All rights reserved. 3-1ID070710Non-Confidential - Draft - Beta

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!