|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EGL12
The EGL12 interface contains the BlackBerry Java(TM) programming language bindings for EGL 1.2.
This api adds the minimal functionality required extending the base egl 1.0 and 1.1 functionality defined in JSR-239 and for supporting OpenVG 1.1.
The documentation in this interface is normative with respect to instance variable names and values, method names and signatures, and exception behavior. The remaining documentation is placed here for convenience and does not replace the normative documentation found in the EGL specification and relevant extension specifications.
EGL documentation is available at the Khronos web site.
Field Summary | ||
---|---|---|
static int |
EGL_ALPHA_MASK_SIZE
EGL 1.2 constant. |
|
static int |
EGL_CLIENT_APIS
EGL 1.2 constant. |
|
static int |
EGL_OPENGL_ES_API
EGL 1.2 constant. |
|
static int |
EGL_OPENGL_ES_BIT
EGL 1.2 constant. |
|
static int |
EGL_OPENVG_API
EGL 1.2 constant. |
|
static int |
EGL_OPENVG_BIT
EGL 1.2 constant. |
|
static int |
EGL_RENDERABLE_TYPE
EGL 1.2 constant. |
Fields inherited from interface javax.microedition.khronos.egl.EGL11 |
---|
EGL_BACK_BUFFER, EGL_BIND_TO_TEXTURE_RGB, EGL_BIND_TO_TEXTURE_RGBA, EGL_CONTEXT_LOST, EGL_MAX_SWAP_INTERVAL, EGL_MIN_SWAP_INTERVAL, EGL_MIPMAP_LEVEL, EGL_MIPMAP_TEXTURE, EGL_NO_TEXTURE, EGL_TEXTURE_2D, EGL_TEXTURE_FORMAT, EGL_TEXTURE_RGB, EGL_TEXTURE_RGBA, EGL_TEXTURE_TARGET |
Method Summary | ||
---|---|---|
boolean |
eglBindAPI(int api)
Sets the current rendering api. |
|
int |
eglQueryAPI()
Used to obtain the value of the currently bound client api. |
|
boolean |
eglWaitClient()
Complete all client execution prior to subsequent native rendering calls. |
Methods inherited from interface javax.microedition.khronos.egl.EGL11 |
---|
eglBindTexImage, eglReleaseTexImage, eglSurfaceAttrib, eglSwapInterval |
Methods inherited from interface javax.microedition.khronos.egl.EGL10 |
---|
eglChooseConfig, eglCopyBuffers, eglCreateContext, eglCreatePbufferSurface, eglCreatePixmapSurface, eglCreateWindowSurface, eglDestroyContext, eglDestroySurface, eglGetConfigAttrib, eglGetConfigs, eglGetCurrentContext, eglGetCurrentDisplay, eglGetCurrentSurface, eglGetDisplay, eglGetError, eglInitialize, eglMakeCurrent, eglQueryContext, eglQueryString, eglQuerySurface, eglSwapBuffers, eglTerminate, eglWaitGL, eglWaitNative |
Field Detail |
---|
static final int EGL_ALPHA_MASK_SIZE
static final int EGL_CLIENT_APIS
static final int EGL_OPENGL_ES_API
static final int EGL_OPENVG_API
static final int EGL_RENDERABLE_TYPE
static final int EGL_OPENGL_ES_BIT
static final int EGL_OPENVG_BIT
Method Detail |
---|
boolean eglBindAPI(int api)
api
- The api to bind for. Must be EGL_OPENGL_ES_API
or EGL_OPENVG_API
.
true
if the api specified was successfully bound as current.int eglQueryAPI()
EGL_OPENGL_ES_API
or EGL_OPENVG_API
.boolean eglWaitClient()
Client rendering calls made prior to eglWaitClient
are
guaranteed to be executed before native rendering calls made
after eglWaitClient
. The same result can be achieved
using eglWaitGL
,glFinish
for OpenGL ES or
using vgFinish
using OpenVG.
eglWaitClient
is ignored if there is no current EGL
rendering context.
false
is returned if eglWaitClient
fails,
true
otherwise.
EGL_BAD_NATIVE_SURFACE
is generated if the surface
associated with the current context has a native window or
pixmap, and that window or pixmap is no longer valid.
true
if the operation succeeds.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal