3.4. Using the Template to write a sample application for Linux on ARM

Using the Template sample as a base you can easily get started writing OpenGL ES 2.0 applications.

To add code to Template:

  1. Add setup code that will be run only at the start in the setupGraphics() method. This method performs startup actions such as loading shaders, enabling OpenGL ES states, and loading textures.

  2. Place the code that will draw each frame in the renderFrame() method

Copyright © 2011 ARM. All rights reserved.ARM DUI 0607A
Non-ConfidentialID120411