FileDocCategorySizeDatePackage
EGL11Impl.javaAPI DocphoneME MR2 API (J2ME)3219Wed May 02 18:00:48 BST 2007javax.microedition.khronos.egl

EGL11Impl

public class EGL11Impl extends EGL10Impl implements EGL11

Fields Summary
Constructors Summary
public EGL11Impl()

Methods Summary
public synchronized booleaneglBindTexImage(EGLDisplay display, EGLSurface surface, int buffer)

	if (display == null) {
	    throw new IllegalArgumentException(Errors.EGL_DISPLAY_NULL);
	}
	if (surface == null) {
	    throw new IllegalArgumentException(Errors.EGL_SURFACE_NULL);
	}

	return EGL_TRUE ==
	    _eglBindTexImage(((EGLDisplayImpl)display).nativeId(),
			     ((EGLSurfaceImpl)surface).nativeId(),
			     buffer);
    
public synchronized booleaneglReleaseTexImage(EGLDisplay display, EGLSurface surface, int buffer)

	if (display == null) {
	    throw new IllegalArgumentException(Errors.EGL_DISPLAY_NULL);
	}
	if (surface == null) {
	    throw new IllegalArgumentException(Errors.EGL_SURFACE_NULL);
	}

	return EGL_TRUE ==
	    _eglReleaseTexImage(((EGLDisplayImpl)display).nativeId(),
				((EGLSurfaceImpl)surface).nativeId(),
				buffer);
    
public synchronized booleaneglSurfaceAttrib(EGLDisplay display, EGLSurface surface, int attribute, int value)

	if (display == null) {
	    throw new IllegalArgumentException(Errors.EGL_DISPLAY_NULL);
	}
	if (surface == null) {
	    throw new IllegalArgumentException(Errors.EGL_SURFACE_NULL);
	}

	return EGL_TRUE ==
	    _eglSurfaceAttrib(((EGLDisplayImpl)display).nativeId(),
			      ((EGLSurfaceImpl)surface).nativeId(),
			      attribute, value);
    
public synchronized booleaneglSwapInterval(EGLDisplay display, int interval)

	if (display == null) {
	    throw new IllegalArgumentException(Errors.EGL_DISPLAY_NULL);
	}

	return EGL_TRUE ==
	    _eglSwapInterval(((EGLDisplayImpl)display).nativeId(),
			     interval);