Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
Added in API level 1
package

android.opengl

Provides an OpenGL ES static interface and utilities.

For more information about how to use OpenGL, read the OpenGL developer guide.

Interfaces

GLSurfaceView.EGLConfigChooser An interface for choosing an EGLConfig configuration from a list of potential configurations. 
GLSurfaceView.EGLContextFactory An interface for customizing the eglCreateContext and eglDestroyContext calls. 
GLSurfaceView.EGLWindowSurfaceFactory An interface for customizing the eglCreateWindowSurface and eglDestroySurface calls. 
GLSurfaceView.GLWrapper An interface used to wrap a GL interface. 
GLSurfaceView.Renderer A generic renderer interface. 

Classes

EGL14 EGL 1.4  
EGLConfig Wrapper class for native EGLConfig objects. 
EGLContext Wrapper class for native EGLContext objects. 
EGLDisplay Wrapper class for native EGLDisplay objects. 
EGLExt EGL Extensions  
EGLObjectHandle Base class for wrapped EGL objects. 
EGLSurface Wrapper class for native EGLSurface objects. 
ETC1 Methods for encoding and decoding ETC1 textures. 
ETC1Util Utility methods for using ETC1 compressed textures. 
ETC1Util.ETC1Texture A utility class encapsulating a compressed ETC1 texture. 
GLDebugHelper A helper class for debugging OpenGL ES applications. 
GLES10  
GLES10Ext  
GLES11  
GLES11Ext  
GLES20 OpenGL ES 2.0  
GLES30 OpenGL ES 3.0  
GLSurfaceView An implementation of SurfaceView that uses the dedicated surface for displaying OpenGL rendering. 
GLU A set of GL utilities inspired by the OpenGL Utility Toolkit. 
GLUtils Utility class to help bridging OpenGL ES and Android APIs. 
Matrix Matrix math utilities. 
Visibility A collection of utility methods for computing the visibility of triangle meshes. 

Exceptions

GLException An exception class for OpenGL errors.