Mali GPU User Interface Engine Application Development Guide
Mali GPU User Interface Engine Application Development Guide
Mali GPU User Interface Engine Application Development Guide
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
List of Figures<strong>Mali</strong> <strong>GPU</strong> <strong>User</strong> <strong>Interface</strong> <strong>Engine</strong> <strong>Application</strong><strong>Development</strong> <strong>Guide</strong>Figure 1-1 <strong>Mali</strong> <strong>GPU</strong> <strong>Development</strong> Tools work flow ..................................................................................... 1-2Figure 1-2 Asset classes .............................................................................................................................. 1-3Figure 1-3 Loader classes ............................................................................................................................ 1-4Figure 1-4 Loader classes ............................................................................................................................ 1-4Figure 2-1 System window showing exception trapping .............................................................................. 2-5Figure 2-2 Blank graphics context ................................................................................................................ 2-7Figure 3-1 The 2D red triangle ..................................................................................................................... 3-6Figure 3-2 The 2D triangle with per-vertex coloring ..................................................................................... 3-7Figure 3-3 The 2D triangle with per-vertex coloring and floating-point color values .................................... 3-9Figure 3-4 The 2D triangle with combined position and color values in one vertexBuffer array ................ 3-10Figure 3-5 A custom texture on a 2D shape ............................................................................................... 3-14Figure 4-1 The Hello World shape ............................................................................................................... 4-5Figure 4-2 The Hello World shape with vertex coloring ................................................................................ 4-7Figure 4-3 The cube shape with texturing .................................................................................................. 4-11Figure 4-4 The cube shape with half of the triangles removed .................................................................. 4-13Figure 4-5 The teapot shape with lighting effects ....................................................................................... 4-21Figure 4-6 The lighting example with a cube shape instead of the teapot ................................................. 4-22Figure 4-7 The lighting example with a cube and teapot ............................................................................ 4-23Figure 4-8 The lighting example with a cube and teapot vertically offset ................................................... 4-24Figure 4-9 Contents of rock texture and normal files ................................................................................. 4-26Figure 4-10 The cube shape with bump-mapped shading ........................................................................... 4-30Figure 4-11 Ambient light only ...................................................................................................................... 4-30Figure 4-12 Diffuse light only ........................................................................................................................ 4-31Figure 4-13 Specular light only ..................................................................................................................... 4-31Figure 4-14 Red specular light ..................................................................................................................... 4-31Figure 4-15 Environment bitmap 1.png ........................................................................................................ 4-33Figure 4-16 Environment bitmap 2.png ........................................................................................................ 4-33ARM DUI 0527A-02a Copyright © 2010 ARM. All rights reserved. viID070710Non-Confidential - Draft - Beta