EGL14

public class EGL14
extends Object

java.lang.Object
   ↳ android.opengl.EGL14


EGL 1.4

Summary

Constants

int EGL_ALPHA_MASK_SIZE

int EGL_ALPHA_SIZE

int EGL_BACK_BUFFER

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_BIND_TO_TEXTURE_RGB

int EGL_BIND_TO_TEXTURE_RGBA

int EGL_BLUE_SIZE

int EGL_BUFFER_DESTROYED

int EGL_BUFFER_PRESERVED

int EGL_BUFFER_SIZE

int EGL_CLIENT_APIS

int EGL_COLOR_BUFFER_TYPE

int EGL_CONFIG_CAVEAT

int EGL_CONFIG_ID

int EGL_CONFORMANT

int EGL_CONTEXT_CLIENT_TYPE

int EGL_CONTEXT_CLIENT_VERSION

int EGL_CONTEXT_LOST

int EGL_CORE_NATIVE_ENGINE

int EGL_DEFAULT_DISPLAY

int EGL_DEPTH_SIZE

int EGL_DISPLAY_SCALING

int EGL_DRAW

int EGL_EXTENSIONS

int EGL_FALSE

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_MATCH_NATIVE_PIXMAP

int EGL_MAX_PBUFFER_HEIGHT

int EGL_MAX_PBUFFER_PIXELS

int EGL_MAX_PBUFFER_WIDTH

int EGL_MAX_SWAP_INTERVAL

int EGL_MIN_SWAP_INTERVAL

int EGL_MIPMAP_LEVEL

int EGL_MIPMAP_TEXTURE

int EGL_MULTISAMPLE_RESOLVE

int EGL_MULTISAMPLE_RESOLVE_BOX

int EGL_MULTISAMPLE_RESOLVE_BOX_BIT

int EGL_MULTISAMPLE_RESOLVE_DEFAULT

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_NO_TEXTURE

int EGL_OPENGL_API

int EGL_OPENGL_BIT

int EGL_OPENGL_ES2_BIT

int EGL_OPENGL_ES_API

int EGL_OPENGL_ES_BIT

int EGL_OPENVG_API

int EGL_OPENVG_BIT

int EGL_OPENVG_IMAGE

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_SWAP_BEHAVIOR

int EGL_SWAP_BEHAVIOR_PRESERVED_BIT

int EGL_TEXTURE_2D

int EGL_TEXTURE_FORMAT

int EGL_TEXTURE_RGB

int EGL_TEXTURE_RGBA

int EGL_TEXTURE_TARGET

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_TRUE

int EGL_VENDOR

int EGL_VERSION

int EGL_VERTICAL_RESOLUTION

int EGL_VG_ALPHA_FORMAT

int EGL_VG_ALPHA_FORMAT_NONPRE

int EGL_VG_ALPHA_FORMAT_PRE

int EGL_VG_ALPHA_FORMAT_PRE_BIT

int EGL_VG_COLORSPACE

int EGL_VG_COLORSPACE_LINEAR

int EGL_VG_COLORSPACE_LINEAR_BIT

int EGL_VG_COLORSPACE_sRGB

int EGL_WIDTH

int EGL_WINDOW_BIT

Fields

public static EGLContext EGL_NO_CONTEXT

public static EGLDisplay EGL_NO_DISPLAY

public static EGLSurface EGL_NO_SURFACE

Public constructors

EGL14()

Public methods

static boolean eglBindAPI(int api)
static boolean eglBindTexImage(EGLDisplay dpy, EGLSurface surface, int buffer)
static boolean eglChooseConfig(EGLDisplay dpy, int[] attrib_list, int attrib_listOffset, EGLConfig[] configs, int configsOffset, int config_size, int[] num_config, int num_configOffset)
static boolean eglCopyBuffers(EGLDisplay dpy, EGLSurface surface, int target)
static EGLContext eglCreateContext(EGLDisplay dpy, EGLConfig config, EGLContext share_context, int[] attrib_list, int offset)
static EGLSurface eglCreatePbufferFromClientBuffer(EGLDisplay dpy, int buftype, int buffer, EGLConfig config, int[] attrib_list, int offset)
static EGLSurface eglCreatePbufferSurface(EGLDisplay dpy, EGLConfig config, int[] attrib_list, int offset)
static EGLSurface eglCreatePixmapSurface(EGLDisplay dpy, EGLConfig config, int pixmap, int[] attrib_list, int offset)
static EGLSurface eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config, Object win, int[] attrib_list, int offset)
static boolean eglDestroyContext(EGLDisplay dpy, EGLContext ctx)
static boolean eglDestroySurface(EGLDisplay dpy, EGLSurface surface)
static boolean eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config, int attribute, int[] value, int offset)
static boolean eglGetConfigs(EGLDisplay dpy, EGLConfig[] configs, int configsOffset, int config_size, int[] num_config, int num_configOffset)
static EGLContext eglGetCurrentContext()
static EGLDisplay eglGetCurrentDisplay()
static EGLSurface eglGetCurrentSurface(int readdraw)
static EGLDisplay eglGetDisplay(int display_id)
static int eglGetError()
static boolean eglInitialize(EGLDisplay dpy, int[] major, int majorOffset, int[] minor, int minorOffset)
static boolean eglMakeCurrent(EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx)
static int eglQueryAPI()
static boolean eglQueryContext(EGLDisplay dpy, EGLContext ctx, int attribute, int[] value, int offset)
static String eglQueryString(EGLDisplay dpy, int name)
static boolean eglQuerySurface(EGLDisplay dpy, EGLSurface surface, int attribute, int[] value, int offset)
static boolean eglReleaseTexImage(EGLDisplay dpy, EGLSurface surface, int buffer)
static boolean eglReleaseThread()
static boolean eglSurfaceAttrib(EGLDisplay dpy, EGLSurface surface, int attribute, int value)
static boolean eglSwapBuffers(EGLDisplay dpy, EGLSurface surface)
static boolean eglSwapInterval(EGLDisplay dpy, int interval)
static boolean eglTerminate(EGLDisplay dpy)
static boolean eglWaitClient()
static boolean eglWaitGL()
static boolean eglWaitNative(int engine)

Inherited methods

Constants

EGL_ALPHA_MASK_SIZE

Added in API level 17
public static final int EGL_ALPHA_MASK_SIZE

Constant Value: 12350 (0x0000303e)

EGL_ALPHA_SIZE

Added in API level 17
public static final int EGL_ALPHA_SIZE

Constant Value: 12321 (0x00003021)

EGL_BACK_BUFFER

Added in API level 17
public static final int EGL_BACK_BUFFER

Constant Value: 12420 (0x00003084)

EGL_BAD_ACCESS

Added in API level 17
public static final int EGL_BAD_ACCESS

Constant Value: 12290 (0x00003002)

EGL_BAD_ALLOC

Added in API level 17
public static final int EGL_BAD_ALLOC

Constant Value: 12291 (0x00003003)

EGL_BAD_ATTRIBUTE

Added in API level 17
public static final int EGL_BAD_ATTRIBUTE

Constant Value: 12292 (0x00003004)

EGL_BAD_CONFIG

Added in API level 17
public static final int EGL_BAD_CONFIG

Constant Value: 12293 (0x00003005)

EGL_BAD_CONTEXT

Added in API level 17
public static final int EGL_BAD_CONTEXT

Constant Value: 12294 (0x00003006)

EGL_BAD_CURRENT_SURFACE

Added in API level 17
public static final int EGL_BAD_CURRENT_SURFACE

Constant Value: 12295 (0x00003007)

EGL_BAD_DISPLAY

Added in API level 17
public static final int EGL_BAD_DISPLAY

Constant Value: 12296 (0x00003008)

EGL_BAD_MATCH

Added in API level 17
public static final int EGL_BAD_MATCH

Constant Value: 12297 (0x00003009)

EGL_BAD_NATIVE_PIXMAP

Added in API level 17
public static final int EGL_BAD_NATIVE_PIXMAP

Constant Value: 12298 (0x0000300a)

EGL_BAD_NATIVE_WINDOW

Added in API level 17
public static final int EGL_BAD_NATIVE_WINDOW

Constant Value: 12299 (0x0000300b)

EGL_BAD_PARAMETER

Added in API level 17
public static final int EGL_BAD_PARAMETER

Constant Value: 12300 (0x0000300c)

EGL_BAD_SURFACE

Added in API level 17
public static final int EGL_BAD_SURFACE

Constant Value: 12301 (0x0000300d)

EGL_BIND_TO_TEXTURE_RGB

Added in API level 17
public static final int EGL_BIND_TO_TEXTURE_RGB

Constant Value: 12345 (0x00003039)

EGL_BIND_TO_TEXTURE_RGBA

Added in API level 17
public static final int EGL_BIND_TO_TEXTURE_RGBA

Constant Value: 12346 (0x0000303a)

EGL_BLUE_SIZE

Added in API level 17
public static final int EGL_BLUE_SIZE

Constant Value: 12322 (0x00003022)

EGL_BUFFER_DESTROYED

Added in API level 17
public static final int EGL_BUFFER_DESTROYED

Constant Value: 12437 (0x00003095)

EGL_BUFFER_PRESERVED

Added in API level 17
public static final int EGL_BUFFER_PRESERVED

Constant Value: 12436 (0x00003094)

EGL_BUFFER_SIZE

Added in API level 17
public static final int EGL_BUFFER_SIZE

Constant Value: 12320 (0x00003020)

EGL_CLIENT_APIS

Added in API level 17
public static final int EGL_CLIENT_APIS

Constant Value: 12429 (0x0000308d)

EGL_COLOR_BUFFER_TYPE

Added in API level 17
public static final int EGL_COLOR_BUFFER_TYPE

Constant Value: 12351 (0x0000303f)

EGL_CONFIG_CAVEAT

Added in API level 17
public static final int EGL_CONFIG_CAVEAT

Constant Value: 12327 (0x00003027)

EGL_CONFIG_ID

Added in API level 17
public static final int EGL_CONFIG_ID

Constant Value: 12328 (0x00003028)

EGL_CONFORMANT

Added in API level 17
public static final int EGL_CONFORMANT

Constant Value: 12354 (0x00003042)

EGL_CONTEXT_CLIENT_TYPE

Added in API level 17
public static final int EGL_CONTEXT_CLIENT_TYPE

Constant Value: 12439 (0x00003097)

EGL_CONTEXT_CLIENT_VERSION

Added in API level 17
public static final int EGL_CONTEXT_CLIENT_VERSION

Constant Value: 12440 (0x00003098)

EGL_CONTEXT_LOST

Added in API level 17
public static final int EGL_CONTEXT_LOST

Constant Value: 12302 (0x0000300e)

EGL_CORE_NATIVE_ENGINE

Added in API level 17
public static final int EGL_CORE_NATIVE_ENGINE

Constant Value: 12379 (0x0000305b)

EGL_DEFAULT_DISPLAY

Added in API level 17
public static final int EGL_DEFAULT_DISPLAY

Constant Value: 0 (0x00000000)

EGL_DEPTH_SIZE

Added in API level 17
public static final int EGL_DEPTH_SIZE

Constant Value: 12325 (0x00003025)

EGL_DISPLAY_SCALING

Added in API level 17
public static final int EGL_DISPLAY_SCALING

Constant Value: 10000 (0x00002710)

EGL_DRAW

Added in API level 17
public static final int EGL_DRAW

Constant Value: 12377 (0x00003059)

EGL_EXTENSIONS

Added in API level 17
public static final int EGL_EXTENSIONS

Constant Value: 12373 (0x00003055)

EGL_FALSE

Added in API level 17
public static final int EGL_FALSE

Constant Value: 0 (0x00000000)

EGL_GREEN_SIZE

Added in API level 17
public static final int EGL_GREEN_SIZE

Constant Value: 12323 (0x00003023)

EGL_HEIGHT

Added in API level 17
public static final int EGL_HEIGHT

Constant Value: 12374 (0x00003056)

EGL_HORIZONTAL_RESOLUTION

Added in API level 17
public static final int EGL_HORIZONTAL_RESOLUTION

Constant Value: 12432 (0x00003090)

EGL_LARGEST_PBUFFER

Added in API level 17
public static final int EGL_LARGEST_PBUFFER

Constant Value: 12376 (0x00003058)

EGL_LEVEL

Added in API level 17
public static final int EGL_LEVEL

Constant Value: 12329 (0x00003029)

EGL_LUMINANCE_BUFFER

Added in API level 17
public static final int EGL_LUMINANCE_BUFFER

Constant Value: 12431 (0x0000308f)

EGL_LUMINANCE_SIZE

Added in API level 17
public static final int EGL_LUMINANCE_SIZE

Constant Value: 12349 (0x0000303d)

EGL_MATCH_NATIVE_PIXMAP

Added in API level 17
public static final int EGL_MATCH_NATIVE_PIXMAP

Constant Value: 12353 (0x00003041)

EGL_MAX_PBUFFER_HEIGHT

Added in API level 17
public static final int EGL_MAX_PBUFFER_HEIGHT

Constant Value: 12330 (0x0000302a)

EGL_MAX_PBUFFER_PIXELS

Added in API level 17
public static final int EGL_MAX_PBUFFER_PIXELS

Constant Value: 12331 (0x0000302b)

EGL_MAX_PBUFFER_WIDTH

Added in API level 17
public static final int EGL_MAX_PBUFFER_WIDTH

Constant Value: 12332 (0x0000302c)

EGL_MAX_SWAP_INTERVAL

Added in API level 17
public static final int EGL_MAX_SWAP_INTERVAL

Constant Value: 12348 (0x0000303c)

EGL_MIN_SWAP_INTERVAL

Added in API level 17
public static final int EGL_MIN_SWAP_INTERVAL

Constant Value: 12347 (0x0000303b)

EGL_MIPMAP_LEVEL

Added in API level 17
public static final int EGL_MIPMAP_LEVEL

Constant Value: 12419 (0x00003083)

EGL_MIPMAP_TEXTURE

Added in API level 17
public static final int EGL_MIPMAP_TEXTURE

Constant Value: 12418 (0x00003082)

EGL_MULTISAMPLE_RESOLVE

Added in API level 17
public static final int EGL_MULTISAMPLE_RESOLVE

Constant Value: 12441 (0x00003099)

EGL_MULTISAMPLE_RESOLVE_BOX

Added in API level 17
public static final int EGL_MULTISAMPLE_RESOLVE_BOX

Constant Value: 12443 (0x0000309b)

EGL_MULTISAMPLE_RESOLVE_BOX_BIT

Added in API level 17
public static final int EGL_MULTISAMPLE_RESOLVE_BOX_BIT

Constant Value: 512 (0x00000200)

EGL_MULTISAMPLE_RESOLVE_DEFAULT

Added in API level 17
public static final int EGL_MULTISAMPLE_RESOLVE_DEFAULT

Constant Value: 12442 (0x0000309a)

EGL_NATIVE_RENDERABLE

Added in API level 17
public static final int EGL_NATIVE_RENDERABLE

Constant Value: 12333 (0x0000302d)

EGL_NATIVE_VISUAL_ID

Added in API level 17
public static final int EGL_NATIVE_VISUAL_ID

Constant Value: 12334 (0x0000302e)

EGL_NATIVE_VISUAL_TYPE

Added in API level 17
public static final int EGL_NATIVE_VISUAL_TYPE

Constant Value: 12335 (0x0000302f)

EGL_NONE

Added in API level 17
public static final int EGL_NONE

Constant Value: 12344 (0x00003038)

EGL_NON_CONFORMANT_CONFIG

Added in API level 17
public static final int EGL_NON_CONFORMANT_CONFIG

Constant Value: 12369 (0x00003051)

EGL_NOT_INITIALIZED

Added in API level 17
public static final int EGL_NOT_INITIALIZED

Constant Value: 12289 (0x00003001)

EGL_NO_TEXTURE

Added in API level 17
public static final int EGL_NO_TEXTURE

Constant Value: 12380 (0x0000305c)

EGL_OPENGL_API

Added in API level 17
public static final int EGL_OPENGL_API

Constant Value: 12450 (0x000030a2)

EGL_OPENGL_BIT

Added in API level 17
public static final int EGL_OPENGL_BIT

Constant Value: 8 (0x00000008)

EGL_OPENGL_ES2_BIT

Added in API level 17
public static final int EGL_OPENGL_ES2_BIT

Constant Value: 4 (0x00000004)

EGL_OPENGL_ES_API

Added in API level 17
public static final int EGL_OPENGL_ES_API

Constant Value: 12448 (0x000030a0)

EGL_OPENGL_ES_BIT

Added in API level 17
public static final int EGL_OPENGL_ES_BIT

Constant Value: 1 (0x00000001)

EGL_OPENVG_API

Added in API level 17
public static final int EGL_OPENVG_API

Constant Value: 12449 (0x000030a1)

EGL_OPENVG_BIT

Added in API level 17
public static final int EGL_OPENVG_BIT

Constant Value: 2 (0x00000002)

EGL_OPENVG_IMAGE

Added in API level 17
public static final int EGL_OPENVG_IMAGE

Constant Value: 12438 (0x00003096)

EGL_PBUFFER_BIT

Added in API level 17
public static final int EGL_PBUFFER_BIT

Constant Value: 1 (0x00000001)

EGL_PIXEL_ASPECT_RATIO

Added in API level 17
public static final int EGL_PIXEL_ASPECT_RATIO

Constant Value: 12434 (0x00003092)

EGL_PIXMAP_BIT

Added in API level 17
public static final int EGL_PIXMAP_BIT

Constant Value: 2 (0x00000002)

EGL_READ

Added in API level 17
public static final int EGL_READ

Constant Value: 12378 (0x0000305a)

EGL_RED_SIZE

Added in API level 17
public static final int EGL_RED_SIZE

Constant Value: 12324 (0x00003024)

EGL_RENDERABLE_TYPE

Added in API level 17
public static final int EGL_RENDERABLE_TYPE

Constant Value: 12352 (0x00003040)

EGL_RENDER_BUFFER

Added in API level 17
public static final int EGL_RENDER_BUFFER

Constant Value: 12422 (0x00003086)

EGL_RGB_BUFFER

Added in API level 17
public static final int EGL_RGB_BUFFER

Constant Value: 12430 (0x0000308e)

EGL_SAMPLES

Added in API level 17
public static final int EGL_SAMPLES

Constant Value: 12337 (0x00003031)

EGL_SAMPLE_BUFFERS

Added in API level 17
public static final int EGL_SAMPLE_BUFFERS

Constant Value: 12338 (0x00003032)

EGL_SINGLE_BUFFER

Added in API level 17
public static final int EGL_SINGLE_BUFFER

Constant Value: 12421 (0x00003085)

EGL_SLOW_CONFIG

Added in API level 17
public static final int EGL_SLOW_CONFIG

Constant Value: 12368 (0x00003050)

EGL_STENCIL_SIZE

Added in API level 17
public static final int EGL_STENCIL_SIZE

Constant Value: 12326 (0x00003026)

EGL_SUCCESS

Added in API level 17
public static final int EGL_SUCCESS

Constant Value: 12288 (0x00003000)

EGL_SURFACE_TYPE

Added in API level 17
public static final int EGL_SURFACE_TYPE

Constant Value: 12339 (0x00003033)

EGL_SWAP_BEHAVIOR

Added in API level 17
public static final int EGL_SWAP_BEHAVIOR

Constant Value: 12435 (0x00003093)

EGL_SWAP_BEHAVIOR_PRESERVED_BIT

Added in API level 17
public static final int EGL_SWAP_BEHAVIOR_PRESERVED_BIT

Constant Value: 1024 (0x00000400)

EGL_TEXTURE_2D

Added in API level 17
public static final int EGL_TEXTURE_2D

Constant Value: 12383 (0x0000305f)

EGL_TEXTURE_FORMAT

Added in API level 17
public static final int EGL_TEXTURE_FORMAT

Constant Value: 12416 (0x00003080)

EGL_TEXTURE_RGB

Added in API level 17
public static final int EGL_TEXTURE_RGB

Constant Value: 12381 (0x0000305d)

EGL_TEXTURE_RGBA

Added in API level 17
public static final int EGL_TEXTURE_RGBA

Constant Value: 12382 (0x0000305e)

EGL_TEXTURE_TARGET

Added in API level 17
public static final int EGL_TEXTURE_TARGET

Constant Value: 12417 (0x00003081)

EGL_TRANSPARENT_BLUE_VALUE

Added in API level 17
public static final int EGL_TRANSPARENT_BLUE_VALUE

Constant Value: 12341 (0x00003035)

EGL_TRANSPARENT_GREEN_VALUE

Added in API level 17
public static final int EGL_TRANSPARENT_GREEN_VALUE

Constant Value: 12342 (0x00003036)

EGL_TRANSPARENT_RED_VALUE

Added in API level 17
public static final int EGL_TRANSPARENT_RED_VALUE

Constant Value: 12343 (0x00003037)

EGL_TRANSPARENT_RGB

Added in API level 17
public static final int EGL_TRANSPARENT_RGB

Constant Value: 12370 (0x00003052)

EGL_TRANSPARENT_TYPE

Added in API level 17
public static final int EGL_TRANSPARENT_TYPE

Constant Value: 12340 (0x00003034)

EGL_TRUE

Added in API level 17
public static final int EGL_TRUE

Constant Value: 1 (0x00000001)

EGL_VENDOR

Added in API level 17
public static final int EGL_VENDOR

Constant Value: 12371 (0x00003053)

EGL_VERSION

Added in API level 17
public static final int EGL_VERSION

Constant Value: 12372 (0x00003054)

EGL_VERTICAL_RESOLUTION

Added in API level 17
public static final int EGL_VERTICAL_RESOLUTION

Constant Value: 12433 (0x00003091)

EGL_VG_ALPHA_FORMAT

Added in API level 17
public static final int EGL_VG_ALPHA_FORMAT

Constant Value: 12424 (0x00003088)

EGL_VG_ALPHA_FORMAT_NONPRE

Added in API level 17
public static final int EGL_VG_ALPHA_FORMAT_NONPRE

Constant Value: 12427 (0x0000308b)

EGL_VG_ALPHA_FORMAT_PRE

Added in API level 17
public static final int EGL_VG_ALPHA_FORMAT_PRE

Constant Value: 12428 (0x0000308c)

EGL_VG_ALPHA_FORMAT_PRE_BIT

Added in API level 17
public static final int EGL_VG_ALPHA_FORMAT_PRE_BIT

Constant Value: 64 (0x00000040)

EGL_VG_COLORSPACE

Added in API level 17
public static final int EGL_VG_COLORSPACE

Constant Value: 12423 (0x00003087)

EGL_VG_COLORSPACE_LINEAR

Added in API level 17
public static final int EGL_VG_COLORSPACE_LINEAR

Constant Value: 12426 (0x0000308a)

EGL_VG_COLORSPACE_LINEAR_BIT

Added in API level 17
public static final int EGL_VG_COLORSPACE_LINEAR_BIT

Constant Value: 32 (0x00000020)

EGL_VG_COLORSPACE_sRGB

Added in API level 17
public static final int EGL_VG_COLORSPACE_sRGB

Constant Value: 12425 (0x00003089)

EGL_WIDTH

Added in API level 17
public static final int EGL_WIDTH

Constant Value: 12375 (0x00003057)

EGL_WINDOW_BIT

Added in API level 17
public static final int EGL_WINDOW_BIT

Constant Value: 4 (0x00000004)

Fields

EGL_NO_CONTEXT

Added in API level 17
public static EGLContext EGL_NO_CONTEXT

EGL_NO_DISPLAY

Added in API level 17
public static EGLDisplay EGL_NO_DISPLAY

EGL_NO_SURFACE

Added in API level 17
public static EGLSurface EGL_NO_SURFACE

Public constructors

EGL14

public EGL14 ()

Public methods

eglBindAPI

Added in API level 17
public static boolean eglBindAPI (int api)

Parameters
api int

Returns
boolean

eglBindTexImage

Added in API level 17
public static boolean eglBindTexImage (EGLDisplay dpy, 
                EGLSurface surface, 
                int buffer)

Parameters
dpy EGLDisplay

surface EGLSurface

buffer int

Returns
boolean

eglChooseConfig

Added in API level 17
public static boolean eglChooseConfig (EGLDisplay dpy, 
                int[] attrib_list, 
                int attrib_listOffset, 
                EGLConfig[] configs, 
                int configsOffset, 
                int config_size, 
                int[] num_config, 
                int num_configOffset)

Parameters
dpy EGLDisplay

attrib_list int

attrib_listOffset int

configs EGLConfig

configsOffset int

config_size int

num_config int

num_configOffset int

Returns
boolean

eglCopyBuffers

Added in API level 17
public static boolean eglCopyBuffers (EGLDisplay dpy, 
                EGLSurface surface, 
                int target)

Parameters
dpy EGLDisplay

surface EGLSurface

target int

Returns
boolean

eglCreateContext

Added in API level 17
public static EGLContext eglCreateContext (EGLDisplay dpy, 
                EGLConfig config, 
                EGLContext share_context, 
                int[] attrib_list, 
                int offset)

Parameters
dpy EGLDisplay

config EGLConfig

share_context EGLContext

attrib_list int

offset int

Returns
EGLContext

eglCreatePbufferFromClientBuffer

Added in API level 17
public static EGLSurface eglCreatePbufferFromClientBuffer (EGLDisplay dpy, 
                int buftype, 
                int buffer, 
                EGLConfig config, 
                int[] attrib_list, 
                int offset)

Parameters
dpy EGLDisplay

buftype int

buffer int

config EGLConfig

attrib_list int

offset int

Returns
EGLSurface

eglCreatePbufferSurface

Added in API level 17
public static EGLSurface eglCreatePbufferSurface (EGLDisplay dpy, 
                EGLConfig config, 
                int[] attrib_list, 
                int offset)

Parameters
dpy EGLDisplay

config EGLConfig

attrib_list int

offset int

Returns
EGLSurface

eglCreatePixmapSurface

Added in API level 17
Deprecated in API level 26
public static EGLSurface eglCreatePixmapSurface (EGLDisplay dpy, 
                EGLConfig config, 
                int pixmap, 
                int[] attrib_list, 
                int offset)

Parameters
dpy EGLDisplay

config EGLConfig

pixmap int

attrib_list int

offset int

Returns
EGLSurface

eglCreateWindowSurface

Added in API level 17
public static EGLSurface eglCreateWindowSurface (EGLDisplay dpy, 
                EGLConfig config, 
                Object win, 
                int[] attrib_list, 
                int offset)

Parameters
dpy EGLDisplay

config EGLConfig

win Object

attrib_list int

offset int

Returns
EGLSurface

eglDestroyContext

Added in API level 17
public static boolean eglDestroyContext (EGLDisplay dpy, 
                EGLContext ctx)

Parameters
dpy EGLDisplay

ctx EGLContext

Returns
boolean

eglDestroySurface

Added in API level 17
public static boolean eglDestroySurface (EGLDisplay dpy, 
                EGLSurface surface)

Parameters
dpy EGLDisplay

surface EGLSurface

Returns
boolean

eglGetConfigAttrib

Added in API level 17
public static boolean eglGetConfigAttrib (EGLDisplay dpy, 
                EGLConfig config, 
                int attribute, 
                int[] value, 
                int offset)

Parameters
dpy EGLDisplay

config EGLConfig

attribute int

value int

offset int

Returns
boolean

eglGetConfigs

Added in API level 17
public static boolean eglGetConfigs (EGLDisplay dpy, 
                EGLConfig[] configs, 
                int configsOffset, 
                int config_size, 
                int[] num_config, 
                int num_configOffset)

Parameters
dpy EGLDisplay

configs EGLConfig

configsOffset int

config_size int

num_config int

num_configOffset int

Returns
boolean

eglGetCurrentContext

Added in API level 17
public static EGLContext eglGetCurrentContext ()

Returns
EGLContext

eglGetCurrentDisplay

Added in API level 17
public static EGLDisplay eglGetCurrentDisplay ()

Returns
EGLDisplay

eglGetCurrentSurface

Added in API level 17
public static EGLSurface eglGetCurrentSurface (int readdraw)

Parameters
readdraw int

Returns
EGLSurface

eglGetDisplay

Added in API level 17
public static EGLDisplay eglGetDisplay (int display_id)

Parameters
display_id int

Returns
EGLDisplay

eglGetError

Added in API level 17
public static int eglGetError ()

Returns
int

eglInitialize

Added in API level 17
public static boolean eglInitialize (EGLDisplay dpy, 
                int[] major, 
                int majorOffset, 
                int[] minor, 
                int minorOffset)

Parameters
dpy EGLDisplay

major int

majorOffset int

minor int

minorOffset int

Returns
boolean

eglMakeCurrent

Added in API level 17
public static boolean eglMakeCurrent (EGLDisplay dpy, 
                EGLSurface draw, 
                EGLSurface read, 
                EGLContext ctx)

Parameters
dpy EGLDisplay

draw EGLSurface

read EGLSurface

ctx EGLContext

Returns
boolean

eglQueryAPI

Added in API level 17
public static int eglQueryAPI ()

Returns
int

eglQueryContext

Added in API level 17
public static boolean eglQueryContext (EGLDisplay dpy, 
                EGLContext ctx, 
                int attribute, 
                int[] value, 
                int offset)

Parameters
dpy EGLDisplay

ctx EGLContext

attribute int

value int

offset int

Returns
boolean

eglQueryString

Added in API level 17
public static String eglQueryString (EGLDisplay dpy, 
                int name)

Parameters
dpy EGLDisplay

name int

Returns
String

eglQuerySurface

Added in API level 17
public static boolean eglQuerySurface (EGLDisplay dpy, 
                EGLSurface surface, 
                int attribute, 
                int[] value, 
                int offset)

Parameters
dpy EGLDisplay

surface EGLSurface

attribute int

value int

offset int

Returns
boolean

eglReleaseTexImage

Added in API level 17
public static boolean eglReleaseTexImage (EGLDisplay dpy, 
                EGLSurface surface, 
                int buffer)

Parameters
dpy EGLDisplay

surface EGLSurface

buffer int

Returns
boolean

eglReleaseThread

Added in API level 17
public static boolean eglReleaseThread ()

Returns
boolean

eglSurfaceAttrib

Added in API level 17
public static boolean eglSurfaceAttrib (EGLDisplay dpy, 
                EGLSurface surface, 
                int attribute, 
                int value)

Parameters
dpy EGLDisplay

surface EGLSurface

attribute int

value int

Returns
boolean

eglSwapBuffers

Added in API level 17
public static boolean eglSwapBuffers (EGLDisplay dpy, 
                EGLSurface surface)

Parameters
dpy EGLDisplay

surface EGLSurface

Returns
boolean

eglSwapInterval

Added in API level 17
public static boolean eglSwapInterval (EGLDisplay dpy, 
                int interval)

Parameters
dpy EGLDisplay

interval int

Returns
boolean

eglTerminate

Added in API level 17
public static boolean eglTerminate (EGLDisplay dpy)

Parameters
dpy EGLDisplay

Returns
boolean

eglWaitClient

Added in API level 17
public static boolean eglWaitClient ()

Returns
boolean

eglWaitGL

Added in API level 17
public static boolean eglWaitGL ()

Returns
boolean

eglWaitNative

Added in API level 17
public static boolean eglWaitNative (int engine)

Parameters
engine int

Returns
boolean