© Ted Hagos, Mario Zechner, J.F. DiMarzio and Robert Green 2020
T. Hagos et al.Beginning Android Games Developmenthttps://doi.org/10.1007/978-1-4842-6121-7_9

9. Introduction to OpenGL ES

Ted Hagos1 , Mario Zechner2, J. F. DiMarzio3 and Robert Green4
(1)
Makati, Philippines
(2)
Graz, Steiermark, Austria
(3)
Kissimmee, FL, USA
(4)
Portland, OR, USA
 
What we’ll cover:
  • About OpenGL ES

  • OpenGL ES theories

  • GLSurfaceView and GLSurfaceView.Renderer

  • Using Blender data in OpenGL ES

Starting from API level 11 (Android 3), the 2D rendering pipeline already supports hardware acceleration. When you draw on the Canvas (which is what we used in the last two games we built), the drawing operation is already done on the GPU; but this also meant the app consumes more RAM because ...

Get Beginning Android Games Development: From Beginner to Pro 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.