Developers
EGL10 - Android SDK
close
Developer
Console
Results
Loading...
Developers
Home
Android
Wear
TV
Auto
Design
Develop
Training
API Guides
Reference
Tools
Google Services
Preview
Distribute
Google Play
Essentials
Get Users
Engage & Retain
Earn
Analyze
Stories
API level:
Android APIs
android
android.accessibilityservice
android.accounts
android.animation
android.annotation
android.app
android.app.admin
android.app.assist
android.app.backup
android.app.job
android.app.usage
android.appwidget
android.bluetooth
android.bluetooth.le
android.content
android.content.pm
android.content.res
android.database
android.database.sqlite
android.databinding
android.drm
android.gesture
android.graphics
android.graphics.drawable
android.graphics.drawable.shapes
android.graphics.pdf
android.hardware
android.hardware.camera2
android.hardware.camera2.params
android.hardware.display
android.hardware.fingerprint
android.hardware.input
android.hardware.usb
android.inputmethodservice
android.location
android.media
android.media.audiofx
android.media.browse
android.media.effect
android.media.midi
android.media.projection
android.media.session
android.media.tv
android.mtp
android.net
android.net.http
android.net.nsd
android.net.rtp
android.net.sip
android.net.wifi
android.net.wifi.p2p
android.net.wifi.p2p.nsd
android.nfc
android.nfc.cardemulation
android.nfc.tech
android.opengl
android.os
android.os.storage
android.preference
android.print
android.print.pdf
android.printservice
android.provider
android.renderscript
android.sax
android.security
android.security.keystore
android.service.carrier
android.service.chooser
android.service.dreams
android.service.media
android.service.notification
android.service.restrictions
android.service.textservice
android.service.voice
android.service.wallpaper
android.speech
android.speech.tts
android.support.annotation
android.support.app.recommendation
android.support.customtabs
android.support.design
android.support.design.widget
android.support.multidex
android.support.percent
android.support.v13.app
android.support.v14.preference
android.support.v17.leanback
android.support.v17.leanback.app
android.support.v17.leanback.database
android.support.v17.leanback.graphics
android.support.v17.leanback.system
android.support.v17.leanback.widget
android.support.v17.preference
android.support.v4.accessibilityservice
android.support.v4.animation
android.support.v4.app
android.support.v4.content
android.support.v4.content.pm
android.support.v4.content.res
android.support.v4.database
android.support.v4.graphics
android.support.v4.graphics.drawable
android.support.v4.hardware.display
android.support.v4.hardware.fingerprint
android.support.v4.media
android.support.v4.media.session
android.support.v4.net
android.support.v4.os
android.support.v4.print
android.support.v4.provider
android.support.v4.text
android.support.v4.util
android.support.v4.view
android.support.v4.view.accessibility
android.support.v4.view.animation
android.support.v4.widget
android.support.v7.app
android.support.v7.appcompat
android.support.v7.cardview
android.support.v7.graphics
android.support.v7.graphics.drawable
android.support.v7.gridlayout
android.support.v7.media
android.support.v7.mediarouter
android.support.v7.preference
android.support.v7.recyclerview
android.support.v7.util
android.support.v7.view
android.support.v7.widget
android.support.v7.widget.helper
android.support.v7.widget.util
android.support.v8.renderscript
android.system
android.telecom
android.telephony
android.telephony.cdma
android.telephony.gsm
android.test
android.test.mock
android.test.suitebuilder
android.test.suitebuilder.annotation
android.text
android.text.format
android.text.method
android.text.style
android.text.util
android.transition
android.util
android.view
android.view.accessibility
android.view.animation
android.view.inputmethod
android.view.textservice
android.webkit
android.widget
com.android.internal.backup
com.android.internal.logging
com.android.internal.os
com.android.internal.statusbar
com.android.internal.widget
com.android.test.runner
dalvik.annotation
dalvik.bytecode
dalvik.system
java.awt.font
java.beans
java.io
java.lang
java.lang.annotation
java.lang.ref
java.lang.reflect
java.math
java.net
java.nio
java.nio.channels
java.nio.channels.spi
java.nio.charset
java.nio.charset.spi
java.security
java.security.acl
java.security.cert
java.security.interfaces
java.security.spec
java.sql
java.text
java.util
java.util.concurrent
java.util.concurrent.atomic
java.util.concurrent.locks
java.util.jar
java.util.logging
java.util.prefs
java.util.regex
java.util.zip
javax.crypto
javax.crypto.interfaces
javax.crypto.spec
javax.microedition.khronos.egl
javax.microedition.khronos.opengles
javax.net
javax.net.ssl
javax.security.auth
javax.security.auth.callback
javax.security.auth.login
javax.security.auth.x500
javax.security.cert
javax.sql
javax.xml
javax.xml.datatype
javax.xml.namespace
javax.xml.parsers
javax.xml.transform
javax.xml.transform.dom
javax.xml.transform.sax
javax.xml.transform.stream
javax.xml.validation
javax.xml.xpath
junit.framework
junit.runner
org.apache.http.conn
org.apache.http.conn.scheme
org.apache.http.conn.ssl
org.apache.http.params
org.json
org.w3c.dom
org.w3c.dom.ls
org.xml.sax
org.xml.sax.ext
org.xml.sax.helpers
org.xmlpull.v1
org.xmlpull.v1.sax2
Interfaces
EGL
EGL10
EGL11
Classes
EGLConfig
EGLContext
EGLDisplay
EGLSurface
fullscreen
Use Tree Navigation
Use Panel Navigation
Summary:
Constants
|
Fields
|
Methods
|
[Expand All]
Added in
API level 1
public interface
EGL10
implements
EGL
javax.microedition.khronos.egl.EGL10
Known Indirect Subclasses
EGL11
EGL11
Summary
Constants
int
EGL_ALPHA_FORMAT
int
EGL_ALPHA_MASK_SIZE
int
EGL_ALPHA_SIZE
int
EGL_BAD_ACCESS
int
EGL_BAD_ALLOC
int
EGL_BAD_ATTRIBUTE
int
EGL_BAD_CONFIG
int
EGL_BAD_CONTEXT
int
EGL_BAD_CURRENT_SURFACE
int
EGL_BAD_DISPLAY
int
EGL_BAD_MATCH
int
EGL_BAD_NATIVE_PIXMAP
int
EGL_BAD_NATIVE_WINDOW
int
EGL_BAD_PARAMETER
int
EGL_BAD_SURFACE
int
EGL_BLUE_SIZE
int
EGL_BUFFER_SIZE
int
EGL_COLORSPACE
int
EGL_COLOR_BUFFER_TYPE
int
EGL_CONFIG_CAVEAT
int
EGL_CONFIG_ID
int
EGL_CORE_NATIVE_ENGINE
int
EGL_DEPTH_SIZE
int
EGL_DONT_CARE
int
EGL_DRAW
int
EGL_EXTENSIONS
int
EGL_GREEN_SIZE
int
EGL_HEIGHT
int
EGL_HORIZONTAL_RESOLUTION
int
EGL_LARGEST_PBUFFER
int
EGL_LEVEL
int
EGL_LUMINANCE_BUFFER
int
EGL_LUMINANCE_SIZE
int
EGL_MAX_PBUFFER_HEIGHT
int
EGL_MAX_PBUFFER_PIXELS
int
EGL_MAX_PBUFFER_WIDTH
int
EGL_NATIVE_RENDERABLE
int
EGL_NATIVE_VISUAL_ID
int
EGL_NATIVE_VISUAL_TYPE
int
EGL_NONE
int
EGL_NON_CONFORMANT_CONFIG
int
EGL_NOT_INITIALIZED
int
EGL_PBUFFER_BIT
int
EGL_PIXEL_ASPECT_RATIO
int
EGL_PIXMAP_BIT
int
EGL_READ
int
EGL_RED_SIZE
int
EGL_RENDERABLE_TYPE
int
EGL_RENDER_BUFFER
int
EGL_RGB_BUFFER
int
EGL_SAMPLES
int
EGL_SAMPLE_BUFFERS
int
EGL_SINGLE_BUFFER
int
EGL_SLOW_CONFIG
int
EGL_STENCIL_SIZE
int
EGL_SUCCESS
int
EGL_SURFACE_TYPE
int
EGL_TRANSPARENT_BLUE_VALUE
int
EGL_TRANSPARENT_GREEN_VALUE
int
EGL_TRANSPARENT_RED_VALUE
int
EGL_TRANSPARENT_RGB
int
EGL_TRANSPARENT_TYPE
int
EGL_VENDOR
int
EGL_VERSION
int
EGL_VERTICAL_RESOLUTION
int
EGL_WIDTH
int
EGL_WINDOW_BIT
Fields
public static final
Object
EGL_DEFAULT_DISPLAY
public static final
EGLContext
EGL_NO_CONTEXT
public static final
EGLDisplay
EGL_NO_DISPLAY
public static final
EGLSurface
EGL_NO_SURFACE
Public Methods
abstract boolean
eglChooseConfig
(
EGLDisplay
display, int[] attrib_list,
EGLConfig[]
configs, int config_size, int[] num_config)
abstract boolean
eglCopyBuffers
(
EGLDisplay
display,
EGLSurface
surface,
Object
native_pixmap)
abstract
EGLContext
eglCreateContext
(
EGLDisplay
display,
EGLConfig
config,
EGLContext
share_context, int[] attrib_list)
abstract
EGLSurface
eglCreatePbufferSurface
(
EGLDisplay
display,
EGLConfig
config, int[] attrib_list)
abstract
EGLSurface
eglCreatePixmapSurface
(
EGLDisplay
display,
EGLConfig
config,
Object
native_pixmap, int[] attrib_list)
abstract
EGLSurface
eglCreateWindowSurface
(
EGLDisplay
display,
EGLConfig
config,
Object
native_window, int[] attrib_list)
abstract boolean
eglDestroyContext
(
EGLDisplay
display,
EGLContext
context)
abstract boolean
eglDestroySurface
(
EGLDisplay
display,
EGLSurface
surface)
abstract boolean
eglGetConfigAttrib
(
EGLDisplay
display,
EGLConfig
config, int attribute, int[] value)
abstract boolean
eglGetConfigs
(
EGLDisplay
display,
EGLConfig[]
configs, int config_size, int[] num_config)
abstract
EGLContext
eglGetCurrentContext
()
abstract
EGLDisplay
eglGetCurrentDisplay
()
abstract
EGLSurface
eglGetCurrentSurface
(int readdraw)
abstract
EGLDisplay
eglGetDisplay
(
Object
native_display)
abstract int
eglGetError
()
abstract boolean
eglInitialize
(
EGLDisplay
display, int[] major_minor)
abstract boolean
eglMakeCurrent
(
EGLDisplay
display,
EGLSurface
draw,
EGLSurface
read,
EGLContext
context)
abstract boolean
eglQueryContext
(
EGLDisplay
display,
EGLContext
context, int attribute, int[] value)
abstract
String
eglQueryString
(
EGLDisplay
display, int name)
abstract boolean
eglQuerySurface
(
EGLDisplay
display,
EGLSurface
surface, int attribute, int[] value)
abstract boolean
eglSwapBuffers
(
EGLDisplay
display,
EGLSurface
surface)
abstract boolean
eglTerminate
(
EGLDisplay
display)
abstract boolean
eglWaitGL
()
abstract boolean
eglWaitNative
(int engine,
Object
bindTarget)
Constants
public static final int
EGL_ALPHA_FORMAT
Added in
API level 1
Constant Value:
12424 (0x00003088)
public static final int
EGL_ALPHA_MASK_SIZE
Added in
API level 1
Constant Value:
12350 (0x0000303e)
public static final int
EGL_ALPHA_SIZE
Added in
API level 1
Constant Value:
12321 (0x00003021)
public static final int
EGL_BAD_ACCESS
Added in
API level 1
Constant Value:
12290 (0x00003002)
public static final int
EGL_BAD_ALLOC
Added in
API level 1
Constant Value:
12291 (0x00003003)
public static final int
EGL_BAD_ATTRIBUTE
Added in
API level 1
Constant Value:
12292 (0x00003004)
public static final int
EGL_BAD_CONFIG
Added in
API level 1
Constant Value:
12293 (0x00003005)
public static final int
EGL_BAD_CONTEXT
Added in
API level 1
Constant Value:
12294 (0x00003006)
public static final int
EGL_BAD_CURRENT_SURFACE
Added in
API level 1
Constant Value:
12295 (0x00003007)
public static final int
EGL_BAD_DISPLAY
Added in
API level 1
Constant Value:
12296 (0x00003008)
public static final int
EGL_BAD_MATCH
Added in
API level 1
Constant Value:
12297 (0x00003009)
public static final int
EGL_BAD_NATIVE_PIXMAP
Added in
API level 1
Constant Value:
12298 (0x0000300a)
public static final int
EGL_BAD_NATIVE_WINDOW
Added in
API level 1
Constant Value:
12299 (0x0000300b)
public static final int
EGL_BAD_PARAMETER
Added in
API level 1
Constant Value:
12300 (0x0000300c)
public static final int
EGL_BAD_SURFACE
Added in
API level 1
Constant Value:
12301 (0x0000300d)
public static final int
EGL_BLUE_SIZE
Added in
API level 1
Constant Value:
12322 (0x00003022)
public static final int
EGL_BUFFER_SIZE
Added in
API level 1
Constant Value:
12320 (0x00003020)
public static final int
EGL_COLORSPACE
Added in
API level 1
Constant Value:
12423 (0x00003087)
public static final int
EGL_COLOR_BUFFER_TYPE
Added in
API level 1
Constant Value:
12351 (0x0000303f)
public static final int
EGL_CONFIG_CAVEAT
Added in
API level 1
Constant Value:
12327 (0x00003027)
public static final int
EGL_CONFIG_ID
Added in
API level 1
Constant Value:
12328 (0x00003028)
public static final int
EGL_CORE_NATIVE_ENGINE
Added in
API level 1
Constant Value:
12379 (0x0000305b)
public static final int
EGL_DEPTH_SIZE
Added in
API level 1
Constant Value:
12325 (0x00003025)
public static final int
EGL_DONT_CARE
Added in
API level 1
Constant Value:
-1 (0xffffffff)
public static final int
EGL_DRAW
Added in
API level 1
Constant Value:
12377 (0x00003059)
public static final int
EGL_EXTENSIONS
Added in
API level 1
Constant Value:
12373 (0x00003055)
public static final int
EGL_GREEN_SIZE
Added in
API level 1
Constant Value:
12323 (0x00003023)
public static final int
EGL_HEIGHT
Added in
API level 1
Constant Value:
12374 (0x00003056)
public static final int
EGL_HORIZONTAL_RESOLUTION
Added in
API level 1
Constant Value:
12432 (0x00003090)
public static final int
EGL_LARGEST_PBUFFER
Added in
API level 1
Constant Value:
12376 (0x00003058)
public static final int
EGL_LEVEL
Added in
API level 1
Constant Value:
12329 (0x00003029)
public static final int
EGL_LUMINANCE_BUFFER
Added in
API level 1
Constant Value:
12431 (0x0000308f)
public static final int
EGL_LUMINANCE_SIZE
Added in
API level 1
Constant Value:
12349 (0x0000303d)
public static final int
EGL_MAX_PBUFFER_HEIGHT
Added in
API level 1
Constant Value:
12330 (0x0000302a)
public static final int
EGL_MAX_PBUFFER_PIXELS
Added in
API level 1
Constant Value:
12331 (0x0000302b)
public static final int
EGL_MAX_PBUFFER_WIDTH
Added in
API level 1
Constant Value:
12332 (0x0000302c)
public static final int
EGL_NATIVE_RENDERABLE
Added in
API level 1
Constant Value:
12333 (0x0000302d)
public static final int
EGL_NATIVE_VISUAL_ID
Added in
API level 1
Constant Value:
12334 (0x0000302e)
public static final int
EGL_NATIVE_VISUAL_TYPE
Added in
API level 1
Constant Value:
12335 (0x0000302f)
public static final int
EGL_NONE
Added in
API level 1
Constant Value:
12344 (0x00003038)
public static final int
EGL_NON_CONFORMANT_CONFIG
Added in
API level 1
Constant Value:
12369 (0x00003051)
public static final int
EGL_NOT_INITIALIZED
Added in
API level 1
Constant Value:
12289 (0x00003001)
public static final int
EGL_PBUFFER_BIT
Added in
API level 1
Constant Value:
1 (0x00000001)
public static final int
EGL_PIXEL_ASPECT_RATIO
Added in
API level 1
Constant Value:
12434 (0x00003092)
public static final int
EGL_PIXMAP_BIT
Added in
API level 1
Constant Value:
2 (0x00000002)
public static final int
EGL_READ
Added in
API level 1
Constant Value:
12378 (0x0000305a)
public static final int
EGL_RED_SIZE
Added in
API level 1
Constant Value:
12324 (0x00003024)
public static final int
EGL_RENDERABLE_TYPE
Added in
API level 1
Constant Value:
12352 (0x00003040)
public static final int
EGL_RENDER_BUFFER
Added in
API level 1
Constant Value:
12422 (0x00003086)
public static final int
EGL_RGB_BUFFER
Added in
API level 1
Constant Value:
12430 (0x0000308e)
public static final int
EGL_SAMPLES
Added in
API level 1
Constant Value:
12337 (0x00003031)
public static final int
EGL_SAMPLE_BUFFERS
Added in
API level 1
Constant Value:
12338 (0x00003032)
public static final int
EGL_SINGLE_BUFFER
Added in
API level 1
Constant Value:
12421 (0x00003085)
public static final int
EGL_SLOW_CONFIG
Added in
API level 1
Constant Value:
12368 (0x00003050)
public static final int
EGL_STENCIL_SIZE
Added in
API level 1
Constant Value:
12326 (0x00003026)
public static final int
EGL_SUCCESS
Added in
API level 1
Constant Value:
12288 (0x00003000)
public static final int
EGL_SURFACE_TYPE
Added in
API level 1
Constant Value:
12339 (0x00003033)
public static final int
EGL_TRANSPARENT_BLUE_VALUE
Added in
API level 1
Constant Value:
12341 (0x00003035)
public static final int
EGL_TRANSPARENT_GREEN_VALUE
Added in
API level 1
Constant Value:
12342 (0x00003036)
public static final int
EGL_TRANSPARENT_RED_VALUE
Added in
API level 1
Constant Value:
12343 (0x00003037)
public static final int
EGL_TRANSPARENT_RGB
Added in
API level 1
Constant Value:
12370 (0x00003052)
public static final int
EGL_TRANSPARENT_TYPE
Added in
API level 1
Constant Value:
12340 (0x00003034)
public static final int
EGL_VENDOR
Added in
API level 1
Constant Value:
12371 (0x00003053)
public static final int
EGL_VERSION
Added in
API level 1
Constant Value:
12372 (0x00003054)
public static final int
EGL_VERTICAL_RESOLUTION
Added in
API level 1
Constant Value:
12433 (0x00003091)
public static final int
EGL_WIDTH
Added in
API level 1
Constant Value:
12375 (0x00003057)
public static final int
EGL_WINDOW_BIT
Added in
API level 1
Constant Value:
4 (0x00000004)
Fields
public static final
Object
EGL_DEFAULT_DISPLAY
Added in
API level 1
public static final
EGLContext
EGL_NO_CONTEXT
Added in
API level 1
public static final
EGLDisplay
EGL_NO_DISPLAY
Added in
API level 1
public static final
EGLSurface
EGL_NO_SURFACE
Added in
API level 1
Public Methods
public abstract boolean
eglChooseConfig
(
EGLDisplay
display, int[] attrib_list,
EGLConfig[]
configs, int config_size, int[] num_config)
Added in
API level 1
public abstract boolean
eglCopyBuffers
(
EGLDisplay
display,
EGLSurface
surface,
Object
native_pixmap)
Added in
API level 1
public abstract
EGLContext
eglCreateContext
(
EGLDisplay
display,
EGLConfig
config,
EGLContext
share_context, int[] attrib_list)
Added in
API level 1
public abstract
EGLSurface
eglCreatePbufferSurface
(
EGLDisplay
display,
EGLConfig
config, int[] attrib_list)
Added in
API level 1
public abstract
EGLSurface
eglCreatePixmapSurface
(
EGLDisplay
display,
EGLConfig
config,
Object
native_pixmap, int[] attrib_list)
Added in
API level 1
public abstract
EGLSurface
eglCreateWindowSurface
(
EGLDisplay
display,
EGLConfig
config,
Object
native_window, int[] attrib_list)
Added in
API level 1
public abstract boolean
eglDestroyContext
(
EGLDisplay
display,
EGLContext
context)
Added in
API level 1
public abstract boolean
eglDestroySurface
(
EGLDisplay
display,
EGLSurface
surface)
Added in
API level 1
public abstract boolean
eglGetConfigAttrib
(
EGLDisplay
display,
EGLConfig
config, int attribute, int[] value)
Added in
API level 1
public abstract boolean
eglGetConfigs
(
EGLDisplay
display,
EGLConfig[]
configs, int config_size, int[] num_config)
Added in
API level 1
public abstract
EGLContext
eglGetCurrentContext
()
Added in
API level 1
public abstract
EGLDisplay
eglGetCurrentDisplay
()
Added in
API level 1
public abstract
EGLSurface
eglGetCurrentSurface
(int readdraw)
Added in
API level 1
public abstract
EGLDisplay
eglGetDisplay
(
Object
native_display)
Added in
API level 1
public abstract int
eglGetError
()
Added in
API level 1
public abstract boolean
eglInitialize
(
EGLDisplay
display, int[] major_minor)
Added in
API level 1
public abstract boolean
eglMakeCurrent
(
EGLDisplay
display,
EGLSurface
draw,
EGLSurface
read,
EGLContext
context)
Added in
API level 1
public abstract boolean
eglQueryContext
(
EGLDisplay
display,
EGLContext
context, int attribute, int[] value)
Added in
API level 1
public abstract
String
eglQueryString
(
EGLDisplay
display, int name)
Added in
API level 1
public abstract boolean
eglQuerySurface
(
EGLDisplay
display,
EGLSurface
surface, int attribute, int[] value)
Added in
API level 1
public abstract boolean
eglSwapBuffers
(
EGLDisplay
display,
EGLSurface
surface)
Added in
API level 1
public abstract boolean
eglTerminate
(
EGLDisplay
display)
Added in
API level 1
public abstract boolean
eglWaitGL
()
Added in
API level 1
public abstract boolean
eglWaitNative
(int engine,
Object
bindTarget)
Added in
API level 1
Get the latest Android developer news and tips that will help you find success on Google Play.
* Required Fields
Hooray!
Full name
*
Email address
*
Company / developer name
One of your Play Store app URLs
*
Which best describes your business:
*
Apps
Games
Apps & Games
Add me to the mailing list for the monthly newsletter and occasional emails about development and Google Play opportunities.
*
I acknowledge that the information provided in this form will be subject to
Google's privacy policy
.
*
You have successfully signed up for the latest Android developer news and tips.