# Print output for @column tags ?> EGL10 - Android SDK | Android Developers

Most visited

Recently visited

EGL10

public interface EGL10
implements EGL

javax.microedition.khronos.egl.EGL10


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

EGL_ALPHA_FORMAT

public static final int EGL_ALPHA_FORMAT

Constant Value: 12424 (0x00003088)

EGL_ALPHA_MASK_SIZE

public static final int EGL_ALPHA_MASK_SIZE

Constant Value: 12350 (0x0000303e)

EGL_ALPHA_SIZE

public static final int EGL_ALPHA_SIZE

Constant Value: 12321 (0x00003021)

EGL_BAD_ACCESS

public static final int EGL_BAD_ACCESS

Constant Value: 12290 (0x00003002)

EGL_BAD_ALLOC

public static final int EGL_BAD_ALLOC

Constant Value: 12291 (0x00003003)

EGL_BAD_ATTRIBUTE

public static final int EGL_BAD_ATTRIBUTE

Constant Value: 12292 (0x00003004)

EGL_BAD_CONFIG

public static final int EGL_BAD_CONFIG

Constant Value: 12293 (0x00003005)

EGL_BAD_CONTEXT

public static final int EGL_BAD_CONTEXT

Constant Value: 12294 (0x00003006)

EGL_BAD_CURRENT_SURFACE

public static final int EGL_BAD_CURRENT_SURFACE

Constant Value: 12295 (0x00003007)

EGL_BAD_DISPLAY

public static final int EGL_BAD_DISPLAY

Constant Value: 12296 (0x00003008)

EGL_BAD_MATCH

public static final int EGL_BAD_MATCH

Constant Value: 12297 (0x00003009)

EGL_BAD_NATIVE_PIXMAP

public static final int EGL_BAD_NATIVE_PIXMAP

Constant Value: 12298 (0x0000300a)

EGL_BAD_NATIVE_WINDOW

public static final int EGL_BAD_NATIVE_WINDOW

Constant Value: 12299 (0x0000300b)

EGL_BAD_PARAMETER

public static final int EGL_BAD_PARAMETER

Constant Value: 12300 (0x0000300c)

EGL_BAD_SURFACE

public static final int EGL_BAD_SURFACE

Constant Value: 12301 (0x0000300d)

EGL_BLUE_SIZE

public static final int EGL_BLUE_SIZE

Constant Value: 12322 (0x00003022)

EGL_BUFFER_SIZE

public static final int EGL_BUFFER_SIZE

Constant Value: 12320 (0x00003020)

EGL_COLORSPACE

public static final int EGL_COLORSPACE

Constant Value: 12423 (0x00003087)

EGL_COLOR_BUFFER_TYPE

public static final int EGL_COLOR_BUFFER_TYPE

Constant Value: 12351 (0x0000303f)

EGL_CONFIG_CAVEAT

public static final int EGL_CONFIG_CAVEAT

Constant Value: 12327 (0x00003027)

EGL_CONFIG_ID

public static final int EGL_CONFIG_ID

Constant Value: 12328 (0x00003028)

EGL_CORE_NATIVE_ENGINE

public static final int EGL_CORE_NATIVE_ENGINE

Constant Value: 12379 (0x0000305b)

EGL_DEPTH_SIZE

public static final int EGL_DEPTH_SIZE

Constant Value: 12325 (0x00003025)

EGL_DONT_CARE

public static final int EGL_DONT_CARE

Constant Value: -1 (0xffffffff)

EGL_DRAW

public static final int EGL_DRAW

Constant Value: 12377 (0x00003059)

EGL_EXTENSIONS

public static final int EGL_EXTENSIONS

Constant Value: 12373 (0x00003055)

EGL_GREEN_SIZE

public static final int EGL_GREEN_SIZE

Constant Value: 12323 (0x00003023)

EGL_HEIGHT

public static final int EGL_HEIGHT

Constant Value: 12374 (0x00003056)

EGL_HORIZONTAL_RESOLUTION

public static final int EGL_HORIZONTAL_RESOLUTION

Constant Value: 12432 (0x00003090)

EGL_LARGEST_PBUFFER

public static final int EGL_LARGEST_PBUFFER

Constant Value: 12376 (0x00003058)

EGL_LEVEL

public static final int EGL_LEVEL

Constant Value: 12329 (0x00003029)

EGL_LUMINANCE_BUFFER

public static final int EGL_LUMINANCE_BUFFER

Constant Value: 12431 (0x0000308f)

EGL_LUMINANCE_SIZE

public static final int EGL_LUMINANCE_SIZE

Constant Value: 12349 (0x0000303d)

EGL_MAX_PBUFFER_HEIGHT

public static final int EGL_MAX_PBUFFER_HEIGHT

Constant Value: 12330 (0x0000302a)

EGL_MAX_PBUFFER_PIXELS

public static final int EGL_MAX_PBUFFER_PIXELS

Constant Value: 12331 (0x0000302b)

EGL_MAX_PBUFFER_WIDTH

public static final int EGL_MAX_PBUFFER_WIDTH

Constant Value: 12332 (0x0000302c)

EGL_NATIVE_RENDERABLE

public static final int EGL_NATIVE_RENDERABLE

Constant Value: 12333 (0x0000302d)

EGL_NATIVE_VISUAL_ID

public static final int EGL_NATIVE_VISUAL_ID

Constant Value: 12334 (0x0000302e)

EGL_NATIVE_VISUAL_TYPE

public static final int EGL_NATIVE_VISUAL_TYPE

Constant Value: 12335 (0x0000302f)

EGL_NONE

public static final int EGL_NONE

Constant Value: 12344 (0x00003038)

EGL_NON_CONFORMANT_CONFIG

public static final int EGL_NON_CONFORMANT_CONFIG

Constant Value: 12369 (0x00003051)

EGL_NOT_INITIALIZED

public static final int EGL_NOT_INITIALIZED

Constant Value: 12289 (0x00003001)

EGL_PBUFFER_BIT

public static final int EGL_PBUFFER_BIT

Constant Value: 1 (0x00000001)

EGL_PIXEL_ASPECT_RATIO

public static final int EGL_PIXEL_ASPECT_RATIO

Constant Value: 12434 (0x00003092)

EGL_PIXMAP_BIT

public static final int EGL_PIXMAP_BIT

Constant Value: 2 (0x00000002)

EGL_READ

public static final int EGL_READ

Constant Value: 12378 (0x0000305a)

EGL_RED_SIZE

public static final int EGL_RED_SIZE

Constant Value: 12324 (0x00003024)

EGL_RENDERABLE_TYPE

public static final int EGL_RENDERABLE_TYPE

Constant Value: 12352 (0x00003040)

EGL_RENDER_BUFFER

public static final int EGL_RENDER_BUFFER

Constant Value: 12422 (0x00003086)

EGL_RGB_BUFFER

public static final int EGL_RGB_BUFFER

Constant Value: 12430 (0x0000308e)

EGL_SAMPLES

public static final int EGL_SAMPLES

Constant Value: 12337 (0x00003031)

EGL_SAMPLE_BUFFERS

public static final int EGL_SAMPLE_BUFFERS

Constant Value: 12338 (0x00003032)

EGL_SINGLE_BUFFER

public static final int EGL_SINGLE_BUFFER

Constant Value: 12421 (0x00003085)

EGL_SLOW_CONFIG

public static final int EGL_SLOW_CONFIG

Constant Value: 12368 (0x00003050)

EGL_STENCIL_SIZE

public static final int EGL_STENCIL_SIZE

Constant Value: 12326 (0x00003026)

EGL_SUCCESS

public static final int EGL_SUCCESS

Constant Value: 12288 (0x00003000)

EGL_SURFACE_TYPE

public static final int EGL_SURFACE_TYPE

Constant Value: 12339 (0x00003033)

EGL_TRANSPARENT_BLUE_VALUE

public static final int EGL_TRANSPARENT_BLUE_VALUE

Constant Value: 12341 (0x00003035)

EGL_TRANSPARENT_GREEN_VALUE

public static final int EGL_TRANSPARENT_GREEN_VALUE

Constant Value: 12342 (0x00003036)

EGL_TRANSPARENT_RED_VALUE

public static final int EGL_TRANSPARENT_RED_VALUE

Constant Value: 12343 (0x00003037)

EGL_TRANSPARENT_RGB

public static final int EGL_TRANSPARENT_RGB

Constant Value: 12370 (0x00003052)

EGL_TRANSPARENT_TYPE

public static final int EGL_TRANSPARENT_TYPE

Constant Value: 12340 (0x00003034)

EGL_VENDOR

public static final int EGL_VENDOR

Constant Value: 12371 (0x00003053)

EGL_VERSION

public static final int EGL_VERSION

Constant Value: 12372 (0x00003054)

EGL_VERTICAL_RESOLUTION

public static final int EGL_VERTICAL_RESOLUTION

Constant Value: 12433 (0x00003091)

EGL_WIDTH

public static final int EGL_WIDTH

Constant Value: 12375 (0x00003057)

EGL_WINDOW_BIT

public static final int EGL_WINDOW_BIT

Constant Value: 4 (0x00000004)

Fields

EGL_DEFAULT_DISPLAY

public static final Object EGL_DEFAULT_DISPLAY

EGL_NO_CONTEXT

public static final EGLContext EGL_NO_CONTEXT

EGL_NO_DISPLAY

public static final EGLDisplay EGL_NO_DISPLAY

EGL_NO_SURFACE

public static final EGLSurface EGL_NO_SURFACE

Public methods

eglChooseConfig

public abstract boolean eglChooseConfig (EGLDisplay display, 
                int[] attrib_list, 
                EGLConfig[] configs, 
                int config_size, 
                int[] num_config)

Parameters
display EGLDisplay

attrib_list int

configs EGLConfig

config_size int

num_config int

Returns
boolean

eglCopyBuffers

public abstract boolean eglCopyBuffers (EGLDisplay display, 
                EGLSurface surface, 
                Object native_pixmap)

Parameters
display EGLDisplay

surface EGLSurface

native_pixmap Object

Returns
boolean

eglCreateContext

public abstract EGLContext eglCreateContext (EGLDisplay display, 
                EGLConfig config, 
                EGLContext share_context, 
                int[] attrib_list)

Parameters
display EGLDisplay

config EGLConfig

share_context EGLContext

attrib_list int

Returns
EGLContext

eglCreatePbufferSurface

public abstract EGLSurface eglCreatePbufferSurface (EGLDisplay display, 
                EGLConfig config, 
                int[] attrib_list)

Parameters
display EGLDisplay

config EGLConfig

attrib_list int

Returns
EGLSurface

eglCreatePixmapSurface

public abstract EGLSurface eglCreatePixmapSurface (EGLDisplay display, 
                EGLConfig config, 
                Object native_pixmap, 
                int[] attrib_list)

Parameters
display EGLDisplay

config EGLConfig

native_pixmap Object

attrib_list int

Returns
EGLSurface

eglCreateWindowSurface

public abstract EGLSurface eglCreateWindowSurface (EGLDisplay display, 
                EGLConfig config, 
                Object native_window, 
                int[] attrib_list)

Parameters
display EGLDisplay

config EGLConfig

native_window Object

attrib_list int

Returns
EGLSurface

eglDestroyContext

public abstract boolean eglDestroyContext (EGLDisplay display, 
                EGLContext context)

Parameters
display EGLDisplay

context EGLContext

Returns
boolean

eglDestroySurface

public abstract boolean eglDestroySurface (EGLDisplay display, 
                EGLSurface surface)

Parameters
display EGLDisplay

surface EGLSurface

Returns
boolean

eglGetConfigAttrib

public abstract boolean eglGetConfigAttrib (EGLDisplay display, 
                EGLConfig config, 
                int attribute, 
                int[] value)

Parameters
display EGLDisplay

config EGLConfig

attribute int

value int

Returns
boolean

eglGetConfigs

public abstract boolean eglGetConfigs (EGLDisplay display, 
                EGLConfig[] configs, 
                int config_size, 
                int[] num_config)

Parameters
display EGLDisplay

configs EGLConfig

config_size int

num_config int

Returns
boolean

eglGetCurrentContext

public abstract EGLContext eglGetCurrentContext ()

Returns
EGLContext

eglGetCurrentDisplay

public abstract EGLDisplay eglGetCurrentDisplay ()

Returns
EGLDisplay

eglGetCurrentSurface

public abstract EGLSurface eglGetCurrentSurface (int readdraw)

Parameters
readdraw int

Returns
EGLSurface

eglGetDisplay

public abstract EGLDisplay eglGetDisplay (Object native_display)

Parameters
native_display Object

Returns
EGLDisplay

eglGetError

public abstract int eglGetError ()

Returns
int

eglInitialize

public abstract boolean eglInitialize (EGLDisplay display, 
                int[] major_minor)

Parameters
display EGLDisplay

major_minor int

Returns
boolean

eglMakeCurrent

public abstract boolean eglMakeCurrent (EGLDisplay display, 
                EGLSurface draw, 
                EGLSurface read, 
                EGLContext context)

Parameters
display EGLDisplay

draw EGLSurface

read EGLSurface

context EGLContext

Returns
boolean

eglQueryContext

public abstract boolean eglQueryContext (EGLDisplay display, 
                EGLContext context, 
                int attribute, 
                int[] value)

Parameters
display EGLDisplay

context EGLContext

attribute int

value int

Returns
boolean

eglQueryString

public abstract String eglQueryString (EGLDisplay display, 
                int name)

Parameters
display EGLDisplay

name int

Returns
String

eglQuerySurface

public abstract boolean eglQuerySurface (EGLDisplay display, 
                EGLSurface surface, 
                int attribute, 
                int[] value)

Parameters
display EGLDisplay

surface EGLSurface

attribute int

value int

Returns
boolean

eglSwapBuffers

public abstract boolean eglSwapBuffers (EGLDisplay display, 
                EGLSurface surface)

Parameters
display EGLDisplay

surface EGLSurface

Returns
boolean

eglTerminate

public abstract boolean eglTerminate (EGLDisplay display)

Parameters
display EGLDisplay

Returns
boolean

eglWaitGL

public abstract boolean eglWaitGL ()

Returns
boolean

eglWaitNative

public abstract boolean eglWaitNative (int engine, 
                Object bindTarget)

Parameters
engine int

bindTarget Object

Returns
boolean