Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

# android.opengl

*** ** * ** ***

Provides an OpenGL ES static interface and utilities.

For more information about how to use OpenGL, read the [OpenGL](https://developer.android.com/guide/topics/graphics/opengl) developer guide.

## Interfaces

|---|---|
| [GLES31Ext.DebugProcKHR](https://developer.android.com/reference/android/opengl/GLES31Ext.DebugProcKHR) |   |
| [GLES32.DebugProc](https://developer.android.com/reference/android/opengl/GLES32.DebugProc) |   |
| [GLSurfaceView.EGLConfigChooser](https://developer.android.com/reference/android/opengl/GLSurfaceView.EGLConfigChooser) | An interface for choosing an EGLConfig configuration from a list of potential configurations. |
| [GLSurfaceView.EGLContextFactory](https://developer.android.com/reference/android/opengl/GLSurfaceView.EGLContextFactory) | An interface for customizing the eglCreateContext and eglDestroyContext calls. |
| [GLSurfaceView.EGLWindowSurfaceFactory](https://developer.android.com/reference/android/opengl/GLSurfaceView.EGLWindowSurfaceFactory) | An interface for customizing the eglCreateWindowSurface and eglDestroySurface calls. |
| [GLSurfaceView.GLWrapper](https://developer.android.com/reference/android/opengl/GLSurfaceView.GLWrapper) | An interface used to wrap a GL interface. |
| [GLSurfaceView.Renderer](https://developer.android.com/reference/android/opengl/GLSurfaceView.Renderer) | A generic renderer interface. |

## Classes

|---|---|
| [EGL14](https://developer.android.com/reference/android/opengl/EGL14) | EGL 1.4 |
| [EGL15](https://developer.android.com/reference/android/opengl/EGL15) | EGL 1.5 |
| [EGLConfig](https://developer.android.com/reference/android/opengl/EGLConfig) | Wrapper class for native EGLConfig objects. |
| [EGLContext](https://developer.android.com/reference/android/opengl/EGLContext) | Wrapper class for native EGLContext objects. |
| [EGLDisplay](https://developer.android.com/reference/android/opengl/EGLDisplay) | Wrapper class for native EGLDisplay objects. |
| [EGLExt](https://developer.android.com/reference/android/opengl/EGLExt) | EGL Extensions |
| [EGLImage](https://developer.android.com/reference/android/opengl/EGLImage) | Wrapper class for native EGLImage objects. |
| [EGLObjectHandle](https://developer.android.com/reference/android/opengl/EGLObjectHandle) | Base class for wrapped EGL objects. |
| [EGLSurface](https://developer.android.com/reference/android/opengl/EGLSurface) | Wrapper class for native EGLSurface objects. |
| [EGLSync](https://developer.android.com/reference/android/opengl/EGLSync) | Wrapper class for native EGLSync objects. |
| [ETC1](https://developer.android.com/reference/android/opengl/ETC1) | Methods for encoding and decoding ETC1 textures. |
| [ETC1Util](https://developer.android.com/reference/android/opengl/ETC1Util) | Utility methods for using ETC1 compressed textures. |
| [ETC1Util.ETC1Texture](https://developer.android.com/reference/android/opengl/ETC1Util.ETC1Texture) | A utility class encapsulating a compressed ETC1 texture. |
| [GLDebugHelper](https://developer.android.com/reference/android/opengl/GLDebugHelper) | A helper class for debugging OpenGL ES applications. |
| [GLES10](https://developer.android.com/reference/android/opengl/GLES10) |   |
| [GLES10Ext](https://developer.android.com/reference/android/opengl/GLES10Ext) |   |
| [GLES11](https://developer.android.com/reference/android/opengl/GLES11) |   |
| [GLES11Ext](https://developer.android.com/reference/android/opengl/GLES11Ext) |   |
| [GLES20](https://developer.android.com/reference/android/opengl/GLES20) | OpenGL ES 2.0 |
| [GLES30](https://developer.android.com/reference/android/opengl/GLES30) | OpenGL ES 3.0 |
| [GLES31](https://developer.android.com/reference/android/opengl/GLES31) | OpenGL ES 3.1 |
| [GLES31Ext](https://developer.android.com/reference/android/opengl/GLES31Ext) |   |
| [GLES32](https://developer.android.com/reference/android/opengl/GLES32) | OpenGL ES 3.2 |
| [GLSurfaceView](https://developer.android.com/reference/android/opengl/GLSurfaceView) | An implementation of SurfaceView that uses the dedicated surface for displaying OpenGL rendering. |
| [GLU](https://developer.android.com/reference/android/opengl/GLU) | A set of GL utilities inspired by the OpenGL Utility Toolkit. |
| [GLUtils](https://developer.android.com/reference/android/opengl/GLUtils) | Utility class to help bridging OpenGL ES and Android APIs. |
| [Matrix](https://developer.android.com/reference/android/opengl/Matrix) | Matrix math utilities. |
| [Visibility](https://developer.android.com/reference/android/opengl/Visibility) | A collection of utility methods for computing the visibility of triangle meshes. |

## Exceptions

|---|---|
| [GLException](https://developer.android.com/reference/android/opengl/GLException) | An exception class for OpenGL errors. |

-

  ## Interfaces

  - [GLES31Ext.DebugProcKHR](https://developer.android.com/reference/android/opengl/GLES31Ext.DebugProcKHR)
  - [GLES32.DebugProc](https://developer.android.com/reference/android/opengl/GLES32.DebugProc)
  - [GLSurfaceView.EGLConfigChooser](https://developer.android.com/reference/android/opengl/GLSurfaceView.EGLConfigChooser)
  - [GLSurfaceView.EGLContextFactory](https://developer.android.com/reference/android/opengl/GLSurfaceView.EGLContextFactory)
  - [GLSurfaceView.EGLWindowSurfaceFactory](https://developer.android.com/reference/android/opengl/GLSurfaceView.EGLWindowSurfaceFactory)
  - [GLSurfaceView.GLWrapper](https://developer.android.com/reference/android/opengl/GLSurfaceView.GLWrapper)
  - [GLSurfaceView.Renderer](https://developer.android.com/reference/android/opengl/GLSurfaceView.Renderer)
-

  ## Classes

  - [EGL14](https://developer.android.com/reference/android/opengl/EGL14)
  - [EGL15](https://developer.android.com/reference/android/opengl/EGL15)
  - [EGLConfig](https://developer.android.com/reference/android/opengl/EGLConfig)
  - [EGLContext](https://developer.android.com/reference/android/opengl/EGLContext)
  - [EGLDisplay](https://developer.android.com/reference/android/opengl/EGLDisplay)
  - [EGLExt](https://developer.android.com/reference/android/opengl/EGLExt)
  - [EGLImage](https://developer.android.com/reference/android/opengl/EGLImage)
  - [EGLObjectHandle](https://developer.android.com/reference/android/opengl/EGLObjectHandle)
  - [EGLSurface](https://developer.android.com/reference/android/opengl/EGLSurface)
  - [EGLSync](https://developer.android.com/reference/android/opengl/EGLSync)
  - [ETC1](https://developer.android.com/reference/android/opengl/ETC1)
  - [ETC1Util](https://developer.android.com/reference/android/opengl/ETC1Util)
  - [ETC1Util.ETC1Texture](https://developer.android.com/reference/android/opengl/ETC1Util.ETC1Texture)
  - [GLDebugHelper](https://developer.android.com/reference/android/opengl/GLDebugHelper)
  - [GLES10](https://developer.android.com/reference/android/opengl/GLES10)
  - [GLES10Ext](https://developer.android.com/reference/android/opengl/GLES10Ext)
  - [GLES11](https://developer.android.com/reference/android/opengl/GLES11)
  - [GLES11Ext](https://developer.android.com/reference/android/opengl/GLES11Ext)
  - [GLES20](https://developer.android.com/reference/android/opengl/GLES20)
  - [GLES30](https://developer.android.com/reference/android/opengl/GLES30)
  - [GLES31](https://developer.android.com/reference/android/opengl/GLES31)
  - [GLES31Ext](https://developer.android.com/reference/android/opengl/GLES31Ext)
  - [GLES32](https://developer.android.com/reference/android/opengl/GLES32)
  - [GLSurfaceView](https://developer.android.com/reference/android/opengl/GLSurfaceView)
  - [GLU](https://developer.android.com/reference/android/opengl/GLU)
  - [GLUtils](https://developer.android.com/reference/android/opengl/GLUtils)
  - [Matrix](https://developer.android.com/reference/android/opengl/Matrix)
  - [Visibility](https://developer.android.com/reference/android/opengl/Visibility)
-

  ## Exceptions

  - [GLException](https://developer.android.com/reference/android/opengl/GLException)