Skip to content

Most visited

Recently visited

added in API level 1


Provides an OpenGL ES static interface and utilities.

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


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. 


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. 
GLES20 OpenGL ES 2.0  
GLES30 OpenGL ES 3.0  
GLES31 OpenGL ES 3.1  
GLES32 OpenGL ES 3.2  
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. 


GLException An exception class for OpenGL errors. 
This site uses cookies to store your preferences for site-specific language and display options.

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields


Follow Google Developers on WeChat

Browse this site in ?

You requested a page in , but your language preference for this site is .

Would you like to change your language preference and browse this site in ? If you want to change your language preference later, use the language menu at the bottom of each page.

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a short survey?
Help us improve the Android developer experience. (April 2018 — Developer Survey)