Chapter 4. Android NDK OpenGL ES API

In this chapter we will cover the following recipes:

  • Drawing 2D Graphics and applying transforms with OpenGL ES 1.x API
  • Drawing 3D graphics and lighting up the scene with the OpenGL ES 1.x API
  • Mapping texture to 3D objects with the OpenGL ES 1.x API
  • Drawing 3D graphics with the OpenGL ES 2.0 API
  • Displaying graphics with EGL

Introduction

Open Graphics Library (OpenGL) is a cross-platform industry standard API for producing 2D and 3D graphics. It specifies a language-independent software interface for graphics hardware or software graphics engines. OpenGL ES is a flavor of OpenGL for embedded devices. It consists of a subset of OpenGL specifications and some additional extensions that are specific to OpenGL ES .

OpenGL ...

Get Android Native Development Kit Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.