Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
The Android Game Developer???s Handbook

You're reading from   The Android Game Developer???s Handbook Discover an all in one handbook to developing immersive and cross-platform Android games

Arrow left icon
Product type Paperback
Published in Aug 2016
Publisher Packt
ISBN-13 9781785885860
Length 368 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Avisekhar Roy Avisekhar Roy
Author Profile Icon Avisekhar Roy
Avisekhar Roy
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Preface 1. Android Game Development FREE CHAPTER 2. Introduction to Different Android Platforms 3. Different Android Development Tools 4. Android Development Style and Standards in the Industry 5. Understanding the Game Loop and Frame Rate 6. Improving Performance of 2D/3D Games 7. Working with Shaders 8. Performance and Memory Optimization 9. Testing Code and Debugging 10. Scope for Android in VR Games 11. Android Game Development Using C++ and OpenGL 12. Polishing Android Games 13. Third-Party Integration, Monetization, and Services Index

Rendering using OpenGL

Android uses OpenGL for rendering. Android SDK libraries include the OpenGL libraries, specially optimized for Android. Android started supporting OpenGL from API level 4 and then increased its support as the level increased. Currently, the maximum supported version of OpenGL is OpenGL ES 3.1 from API level 21.

OpenGL versions

Different OpenGL versions have a different set of features. Versions 1.0 and 2.0 have a lot of differences in terms of coding style, API convenience, functionality, and feature support. Let's discuss the following OpenGL ES versions that are significant to Android development:

  • OpenGL ES 1.x
  • OpenGL ES 2.0
  • OpenGL ES 3.0
  • OpenGL ES 3.1

OpenGL 1.x

OpenGL version 1.x has been supported from Android API level 4 with a shared OpenGL ES 1.x library, libGLESv1.so. The headers gl.h and glext.h contain all the necessary APIs for OpenGL functionality.

OpenGL 2.0

In the current industry, a developer prefers to use OpenGL ES 2.0 for games, because almost every...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image