FileDocCategorySizeDatePackage
EGL11.javaAPI DocphoneME MR2 API (J2ME)14858Wed May 02 18:00:46 BST 2007javax.microedition.khronos.egl

EGL11

public interface EGL11 implements EGL10
The EGL11 interface contains the Java(TM) programming language bindings for EGL 1.1. It extends the EGL10 interface.

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.

Fields Summary
public static final int
EGL_CONTEXT_LOST
EGL 1.1 constant.
public static final int
EGL_BIND_TO_TEXTURE_RGB
EGL 1.1 constant.
public static final int
EGL_BIND_TO_TEXTURE_RGBA
EGL 1.1 constant.
public static final int
EGL_MIN_SWAP_INTERVAL
EGL 1.1 constant.
public static final int
EGL_MAX_SWAP_INTERVAL
EGL 1.1 constant.
public static final int
EGL_NO_TEXTURE
EGL 1.1 constant.
public static final int
EGL_TEXTURE_RGB
EGL 1.1 constant.
public static final int
EGL_TEXTURE_RGBA
EGL 1.1 constant.
public static final int
EGL_TEXTURE_2D
EGL 1.1 constant.
public static final int
EGL_TEXTURE_FORMAT
EGL 1.1 constant.
public static final int
EGL_TEXTURE_TARGET
EGL 1.1 constant.
public static final int
EGL_MIPMAP_TEXTURE
EGL 1.1 constant.
public static final int
EGL_MIPMAP_LEVEL
EGL 1.1 constant.
public static final int
EGL_BACK_BUFFER
EGL 1.1 constant.
Constructors Summary
Methods Summary
public booleaneglBindTexImage(EGLDisplay display, EGLSurface surface, int buffer)
(EGL 1.1 only) Defines a two-dimensional texture image.

The texture image consists of the image data in buffer for the specified surface, and need not be copied.

The texture target, the texture format and the size of the texture components are derived from attributes of the specified surface, which must be a pbuffer supporting one of the EGL_BIND_TO_TEXTURE_RGB or EGL_BIND_TO_TEXTURE_RGBA attributes.

The pbuffer attribute EGL_TEXTURE_FORMAT determines the base internal format of the texture.

The texture target is derived from the EGL_TEXTURE_TARGET attribute of surface. If the attribute value is EGL_TEXTURE_2D, then buffer defines a texture for the two-dimensional texture object which is bound to the current context (hereafter referred to as the current texture object).

If display and surface are the display and surface for the calling thread