javax.media.opengl.DebugGLES1 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jogl-all Show documentation
Show all versions of jogl-all Show documentation
Java™ Binding for the OpenGL® API
package javax.media.opengl;
import java.io.*;
import javax.media.opengl.*;
import com.jogamp.gluegen.runtime.*;
import java.nio.*;
import javax.media.opengl.GL2ES1;
import javax.media.opengl.GLES1;
/**
*
* Composable pipeline which wraps an underlying {@link GL} implementation,
* providing error checking after each OpenGL method call. If an error occurs,
* causes a {@link GLException} to be thrown at exactly the point of failure.
*
*
* Sample code which installs this pipeline:
*
* gl = drawable.setGL(new DebugGL(drawable.getGL()));
*
* For automatic instantiation see {@link GLPipelineFactory#create(String, Class, GL, Object[])}
*
*/
public class DebugGLES1 implements javax.media.opengl.GL2ES1, javax.media.opengl.GLES1{
public static final boolean DEBUG = jogamp.opengl.Debug.debug("DebugGLES1");
public DebugGLES1(GLES1 downstreamGLES1)
{
if (downstreamGLES1 == null) {
throw new IllegalArgumentException("null downstreamGLES1");
}
this.downstreamGLES1 = downstreamGLES1;
// Fetch GLContext object for better error checking (if possible)
_context = downstreamGLES1.getContext();
}
@Override
public final boolean isGL() {
return downstreamGLES1.isGL();
}
@Override
public final boolean isGL4bc() {
return downstreamGLES1.isGL4bc();
}
@Override
public final boolean isGL4() {
return downstreamGLES1.isGL4();
}
@Override
public final boolean isGL3bc() {
return downstreamGLES1.isGL3bc();
}
@Override
public final boolean isGL3() {
return downstreamGLES1.isGL3();
}
@Override
public final boolean isGL2() {
return downstreamGLES1.isGL2();
}
@Override
public final boolean isGLES1() {
return downstreamGLES1.isGLES1();
}
@Override
public final boolean isGLES2() {
return downstreamGLES1.isGLES2();
}
@Override
public final boolean isGLES3() {
return downstreamGLES1.isGLES3();
}
@Override
public final boolean isGL2ES1() {
return downstreamGLES1.isGL2ES1();
}
@Override
public final boolean isGL2ES2() {
return downstreamGLES1.isGL2ES2();
}
@Override
public final boolean isGL3ES3() {
return downstreamGLES1.isGL3ES3();
}
@Override
public final boolean isGL4ES3() {
return downstreamGLES1.isGL4ES3();
}
@Override
public final boolean isGL2GL3() {
return downstreamGLES1.isGL2GL3();
}
@Override
public final boolean isGLES() {
return downstreamGLES1.isGLES();
}
@Override
public final boolean isGL4core() {
return downstreamGLES1.isGL4core();
}
@Override
public final boolean isGL3core() {
return downstreamGLES1.isGL3core();
}
@Override
public final boolean isGLcore() {
return downstreamGLES1.isGLcore();
}
@Override
public final boolean isGLES2Compatible() {
return downstreamGLES1.isGLES2Compatible();
}
@Override
public final boolean isGLES3Compatible() {
return downstreamGLES1.isGLES3Compatible();
}
@Override
public final javax.media.opengl.GL getGL() {
return downstreamGLES1.getGL();
}
@Override
public final javax.media.opengl.GL4bc getGL4bc() {
return downstreamGLES1.getGL4bc();
}
@Override
public final javax.media.opengl.GL4 getGL4() {
return downstreamGLES1.getGL4();
}
@Override
public final javax.media.opengl.GL3bc getGL3bc() {
return downstreamGLES1.getGL3bc();
}
@Override
public final javax.media.opengl.GL3 getGL3() {
return downstreamGLES1.getGL3();
}
@Override
public final javax.media.opengl.GL2 getGL2() {
return downstreamGLES1.getGL2();
}
@Override
public final javax.media.opengl.GLES1 getGLES1() {
return downstreamGLES1.getGLES1();
}
@Override
public final javax.media.opengl.GLES2 getGLES2() {
return downstreamGLES1.getGLES2();
}
@Override
public final javax.media.opengl.GLES3 getGLES3() {
return downstreamGLES1.getGLES3();
}
@Override
public final javax.media.opengl.GL2ES1 getGL2ES1() {
return downstreamGLES1.getGL2ES1();
}
@Override
public final javax.media.opengl.GL2ES2 getGL2ES2() {
return downstreamGLES1.getGL2ES2();
}
@Override
public final javax.media.opengl.GL3ES3 getGL3ES3() {
return downstreamGLES1.getGL3ES3();
}
@Override
public final javax.media.opengl.GL4ES3 getGL4ES3() {
return downstreamGLES1.getGL4ES3();
}
@Override
public final javax.media.opengl.GL2GL3 getGL2GL3() {
return downstreamGLES1.getGL2GL3();
}
@Override
public final GL getDownstreamGL() throws GLException {
return downstreamGLES1;
}
@Override
public final GLProfile getGLProfile() {
return downstreamGLES1.getGLProfile();
}
public void glDeleteTextures(int arg0,int[] arg1,int arg2)
{
checkContext();
downstreamGLES1.glDeleteTextures(arg0,arg1,arg2);
String txt = new String("glDeleteTextures(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public int glGetError()
{
checkContext();
int _res = downstreamGLES1.glGetError();
String txt = new String("glGetError(" +
")");
checkGLGetError( txt );
return _res;
}
public void glGenFramebuffers(int arg0,int[] arg1,int arg2)
{
checkContext();
downstreamGLES1.glGenFramebuffers(arg0,arg1,arg2);
String txt = new String("glGenFramebuffers(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glFogxv(int arg0,int[] arg1,int arg2)
{
checkContext();
downstreamGLES1.glFogxv(arg0,arg1,arg2);
String txt = new String("glFogxv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glOrthof(float arg0,float arg1,float arg2,float arg3,float arg4,float arg5)
{
checkContext();
downstreamGLES1.glOrthof(arg0,arg1,arg2,arg3,arg4,arg5);
String txt = new String("glOrthof(" +
" "+arg0 + ", " +
" "+arg1 + ", " +
" "+arg2 + ", " +
" "+arg3 + ", " +
" "+arg4 + ", " +
" "+arg5 + ")");
checkGLGetError( txt );
}
public void glMultMatrixx(java.nio.IntBuffer arg0)
{
checkContext();
downstreamGLES1.glMultMatrixx(arg0);
String txt = new String("glMultMatrixx(" +
" "+arg0 + ")");
checkGLGetError( txt );
}
public void glFramebufferTexture2D(int arg0,int arg1,int arg2,int arg3,int arg4)
{
checkContext();
downstreamGLES1.glFramebufferTexture2D(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glFramebufferTexture2D(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg4).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glPointSizePointerOES(int arg0,int arg1,java.nio.Buffer arg2)
{
checkContext();
downstreamGLES1.glPointSizePointerOES(arg0,arg1,arg2);
String txt = new String("glPointSizePointerOES(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glGetMaterialxv(int arg0,int arg1,java.nio.IntBuffer arg2)
{
checkContext();
downstreamGLES1.glGetMaterialxv(arg0,arg1,arg2);
String txt = new String("glGetMaterialxv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glTexEnvx(int arg0,int arg1,int arg2)
{
checkContext();
downstreamGLES1.glTexEnvx(arg0,arg1,arg2);
String txt = new String("glTexEnvx(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glFrustum(double arg0,double arg1,double arg2,double arg3,double arg4,double arg5)
{
checkContext();
downstreamGLES1.glFrustum(arg0,arg1,arg2,arg3,arg4,arg5);
String txt = new String("glFrustum(" +
" "+arg0 + ", " +
" "+arg1 + ", " +
" "+arg2 + ", " +
" "+arg3 + ", " +
" "+arg4 + ", " +
" "+arg5 + ")");
checkGLGetError( txt );
}
public void glClipPlanexIMG(int arg0,int[] arg1,int arg2)
{
checkContext();
downstreamGLES1.glClipPlanexIMG(arg0,arg1,arg2);
String txt = new String("glClipPlanexIMG(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glActiveTexture(int arg0)
{
checkContext();
downstreamGLES1.glActiveTexture(arg0);
String txt = new String("glActiveTexture(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glColorPointer(int arg0,int arg1,int arg2,long arg3)
{
checkContext();
downstreamGLES1.glColorPointer(arg0,arg1,arg2,arg3);
String txt = new String("glColorPointer(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
" "+arg3 + ")");
checkGLGetError( txt );
}
public void glTexStorage3D(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5)
{
checkContext();
downstreamGLES1.glTexStorage3D(arg0,arg1,arg2,arg3,arg4,arg5);
String txt = new String("glTexStorage3D(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg4).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg5).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glHint(int arg0,int arg1)
{
checkContext();
downstreamGLES1.glHint(arg0,arg1);
String txt = new String("glHint(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glGetIntegerv(int arg0,int[] arg1,int arg2)
{
checkContext();
downstreamGLES1.glGetIntegerv(arg0,arg1,arg2);
String txt = new String("glGetIntegerv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glTexEnvxv(int arg0,int arg1,int[] arg2,int arg3)
{
checkContext();
downstreamGLES1.glTexEnvxv(arg0,arg1,arg2,arg3);
String txt = new String("glTexEnvxv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glTexStorage2D(int arg0,int arg1,int arg2,int arg3,int arg4)
{
checkContext();
downstreamGLES1.glTexStorage2D(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glTexStorage2D(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg4).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glEGLImageTargetRenderbufferStorageOES(int arg0,long arg1)
{
checkContext();
downstreamGLES1.glEGLImageTargetRenderbufferStorageOES(arg0,arg1);
String txt = new String("glEGLImageTargetRenderbufferStorageOES(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ")");
checkGLGetError( txt );
}
public void glDrawTexiOES(int arg0,int arg1,int arg2,int arg3,int arg4)
{
checkContext();
downstreamGLES1.glDrawTexiOES(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glDrawTexiOES(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg4).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glTextureStorage1D(int arg0,int arg1,int arg2,int arg3,int arg4)
{
checkContext();
downstreamGLES1.glTextureStorage1D(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glTextureStorage1D(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg4).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glSetFenceNV(int arg0,int arg1)
{
checkContext();
downstreamGLES1.glSetFenceNV(arg0,arg1);
String txt = new String("glSetFenceNV(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glFinish()
{
checkContext();
downstreamGLES1.glFinish();
String txt = new String("glFinish(" +
")");
checkGLGetError( txt );
}
public void glGenRenderbuffers(int arg0,int[] arg1,int arg2)
{
checkContext();
downstreamGLES1.glGenRenderbuffers(arg0,arg1,arg2);
String txt = new String("glGenRenderbuffers(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glMaterialx(int arg0,int arg1,int arg2)
{
checkContext();
downstreamGLES1.glMaterialx(arg0,arg1,arg2);
String txt = new String("glMaterialx(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glGetRenderbufferParameteriv(int arg0,int arg1,java.nio.IntBuffer arg2)
{
checkContext();
downstreamGLES1.glGetRenderbufferParameteriv(arg0,arg1,arg2);
String txt = new String("glGetRenderbufferParameteriv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glEnableClientState(int arg0)
{
checkContext();
downstreamGLES1.glEnableClientState(arg0);
String txt = new String("glEnableClientState(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glGenBuffers(int arg0,int[] arg1,int arg2)
{
checkContext();
downstreamGLES1.glGenBuffers(arg0,arg1,arg2);
String txt = new String("glGenBuffers(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glTexSubImage2D(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5,int arg6,int arg7,java.nio.Buffer arg8)
{
checkContext();
downstreamGLES1.glTexSubImage2D(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
String txt = new String("glTexSubImage2D(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg4).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg5).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg6).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg7).toUpperCase() + ", " +
" "+arg8 + ")");
checkGLGetError( txt );
}
public void glExtGetBufferPointervQCOM(int arg0,com.jogamp.common.nio.PointerBuffer arg1)
{
checkContext();
downstreamGLES1.glExtGetBufferPointervQCOM(arg0,arg1);
String txt = new String("glExtGetBufferPointervQCOM(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ")");
checkGLGetError( txt );
}
public void glDrawTexivOES(java.nio.IntBuffer arg0)
{
checkContext();
downstreamGLES1.glDrawTexivOES(arg0);
String txt = new String("glDrawTexivOES(" +
" "+arg0 + ")");
checkGLGetError( txt );
}
public void glGetFenceivNV(int arg0,int arg1,int[] arg2,int arg3)
{
checkContext();
downstreamGLES1.glGetFenceivNV(arg0,arg1,arg2,arg3);
String txt = new String("glGetFenceivNV(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glLightxv(int arg0,int arg1,java.nio.IntBuffer arg2)
{
checkContext();
downstreamGLES1.glLightxv(arg0,arg1,arg2);
String txt = new String("glLightxv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glPointSizex(int arg0)
{
checkContext();
downstreamGLES1.glPointSizex(arg0);
String txt = new String("glPointSizex(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glTexParameteri(int arg0,int arg1,int arg2)
{
checkContext();
downstreamGLES1.glTexParameteri(arg0,arg1,arg2);
String txt = new String("glTexParameteri(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glGetTexEnviv(int arg0,int arg1,java.nio.IntBuffer arg2)
{
checkContext();
downstreamGLES1.glGetTexEnviv(arg0,arg1,arg2);
String txt = new String("glGetTexEnviv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glGetnUniformfv(int arg0,int arg1,int arg2,java.nio.FloatBuffer arg3)
{
checkContext();
downstreamGLES1.glGetnUniformfv(arg0,arg1,arg2,arg3);
String txt = new String("glGetnUniformfv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
" "+arg3 + ")");
checkGLGetError( txt );
}
public void glClearStencil(int arg0)
{
checkContext();
downstreamGLES1.glClearStencil(arg0);
String txt = new String("glClearStencil(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glGetClipPlanef(int arg0,float[] arg1,int arg2)
{
checkContext();
downstreamGLES1.glGetClipPlanef(arg0,arg1,arg2);
String txt = new String("glGetClipPlanef(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
"<[F>" + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glTexParameterfv(int arg0,int arg1,java.nio.FloatBuffer arg2)
{
checkContext();
downstreamGLES1.glTexParameterfv(arg0,arg1,arg2);
String txt = new String("glTexParameterfv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glRenderbufferStorage(int arg0,int arg1,int arg2,int arg3)
{
checkContext();
downstreamGLES1.glRenderbufferStorage(arg0,arg1,arg2,arg3);
String txt = new String("glRenderbufferStorage(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ")");
checkGLGetError( txt );
}
public boolean hasBasicFBOSupport()
{
return downstreamGLES1.hasBasicFBOSupport();
}
public void glWeightPointer(int arg0,int arg1,int arg2,java.nio.Buffer arg3)
{
checkContext();
downstreamGLES1.glWeightPointer(arg0,arg1,arg2,arg3);
String txt = new String("glWeightPointer(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
" "+arg3 + ")");
checkGLGetError( txt );
}
public void glFlushMappedBufferRange(int arg0,long arg1,long arg2)
{
checkContext();
downstreamGLES1.glFlushMappedBufferRange(arg0,arg1,arg2);
String txt = new String("glFlushMappedBufferRange(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glClearColorx(int arg0,int arg1,int arg2,int arg3)
{
checkContext();
downstreamGLES1.glClearColorx(arg0,arg1,arg2,arg3);
String txt = new String("glClearColorx(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glGetLightxv(int arg0,int arg1,java.nio.IntBuffer arg2)
{
checkContext();
downstreamGLES1.glGetLightxv(arg0,arg1,arg2);
String txt = new String("glGetLightxv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glClearDepth(double arg0)
{
checkContext();
downstreamGLES1.glClearDepth(arg0);
String txt = new String("glClearDepth(" +
" "+arg0 + ")");
checkGLGetError( txt );
}
public void glTexParameterx(int arg0,int arg1,int arg2)
{
checkContext();
downstreamGLES1.glTexParameterx(arg0,arg1,arg2);
String txt = new String("glTexParameterx(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glTexGeni(int arg0,int arg1,int arg2)
{
checkContext();
downstreamGLES1.glTexGeni(arg0,arg1,arg2);
String txt = new String("glTexGeni(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glPointParameterf(int arg0,float arg1)
{
checkContext();
downstreamGLES1.glPointParameterf(arg0,arg1);
String txt = new String("glPointParameterf(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ")");
checkGLGetError( txt );
}
public void glFinishFenceNV(int arg0)
{
checkContext();
downstreamGLES1.glFinishFenceNV(arg0);
String txt = new String("glFinishFenceNV(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glStencilOp(int arg0,int arg1,int arg2)
{
checkContext();
downstreamGLES1.glStencilOp(arg0,arg1,arg2);
String txt = new String("glStencilOp(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glCompressedTexSubImage2D(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5,int arg6,int arg7,long arg8)
{
checkContext();
downstreamGLES1.glCompressedTexSubImage2D(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
String txt = new String("glCompressedTexSubImage2D(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg4).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg5).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg6).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg7).toUpperCase() + ", " +
" "+arg8 + ")");
checkGLGetError( txt );
}
public void glDrawTexxOES(int arg0,int arg1,int arg2,int arg3,int arg4)
{
checkContext();
downstreamGLES1.glDrawTexxOES(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glDrawTexxOES(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg4).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glTexParameterxv(int arg0,int arg1,java.nio.IntBuffer arg2)
{
checkContext();
downstreamGLES1.glTexParameterxv(arg0,arg1,arg2);
String txt = new String("glTexParameterxv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glTexEnviv(int arg0,int arg1,int[] arg2,int arg3)
{
checkContext();
downstreamGLES1.glTexEnviv(arg0,arg1,arg2,arg3);
String txt = new String("glTexEnviv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ")");
checkGLGetError( txt );
}
public void setSwapInterval(int arg0)
{
downstreamGLES1.setSwapInterval(arg0);
}
public boolean glUnmapBuffer(int arg0)
{
checkContext();
boolean _res = downstreamGLES1.glUnmapBuffer(arg0);
String txt = new String("glUnmapBuffer(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ")");
checkGLGetError( txt );
return _res;
}
public void glClearDepthf(float arg0)
{
checkContext();
downstreamGLES1.glClearDepthf(arg0);
String txt = new String("glClearDepthf(" +
" "+arg0 + ")");
checkGLGetError( txt );
}
public void glTexStorage1D(int arg0,int arg1,int arg2,int arg3)
{
checkContext();
downstreamGLES1.glTexStorage1D(arg0,arg1,arg2,arg3);
String txt = new String("glTexStorage1D(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glCompressedTexImage2D(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5,int arg6,long arg7)
{
checkContext();
downstreamGLES1.glCompressedTexImage2D(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7);
String txt = new String("glCompressedTexImage2D(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg4).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg5).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg6).toUpperCase() + ", " +
" "+arg7 + ")");
checkGLGetError( txt );
}
public java.lang.Object getExtension(java.lang.String arg0)
{
return downstreamGLES1.getExtension(arg0);
}
public void glFogx(int arg0,int arg1)
{
checkContext();
downstreamGLES1.glFogx(arg0,arg1);
String txt = new String("glFogx(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glCopyTextureLevelsAPPLE(int arg0,int arg1,int arg2,int arg3)
{
checkContext();
downstreamGLES1.glCopyTextureLevelsAPPLE(arg0,arg1,arg2,arg3);
String txt = new String("glCopyTextureLevelsAPPLE(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glBlendEquation(int arg0)
{
checkContext();
downstreamGLES1.glBlendEquation(arg0);
String txt = new String("glBlendEquation(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glMaterialxv(int arg0,int arg1,java.nio.IntBuffer arg2)
{
checkContext();
downstreamGLES1.glMaterialxv(arg0,arg1,arg2);
String txt = new String("glMaterialxv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glSampleCoveragex(int arg0,boolean arg1)
{
checkContext();
downstreamGLES1.glSampleCoveragex(arg0,arg1);
String txt = new String("glSampleCoveragex(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ")");
checkGLGetError( txt );
}
public void glTexParameteriv(int arg0,int arg1,java.nio.IntBuffer arg2)
{
checkContext();
downstreamGLES1.glTexParameteriv(arg0,arg1,arg2);
String txt = new String("glTexParameteriv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glFrustumf(float arg0,float arg1,float arg2,float arg3,float arg4,float arg5)
{
checkContext();
downstreamGLES1.glFrustumf(arg0,arg1,arg2,arg3,arg4,arg5);
String txt = new String("glFrustumf(" +
" "+arg0 + ", " +
" "+arg1 + ", " +
" "+arg2 + ", " +
" "+arg3 + ", " +
" "+arg4 + ", " +
" "+arg5 + ")");
checkGLGetError( txt );
}
public void glExtGetTexLevelParameterivQCOM(int arg0,int arg1,int arg2,int arg3,java.nio.IntBuffer arg4)
{
checkContext();
downstreamGLES1.glExtGetTexLevelParameterivQCOM(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glExtGetTexLevelParameterivQCOM(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ", " +
" "+arg4 + ")");
checkGLGetError( txt );
}
public void glGenTextures(int arg0,int[] arg1,int arg2)
{
checkContext();
downstreamGLES1.glGenTextures(arg0,arg1,arg2);
String txt = new String("glGenTextures(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public int glQueryMatrixxOES(java.nio.IntBuffer arg0,java.nio.IntBuffer arg1)
{
checkContext();
int _res = downstreamGLES1.glQueryMatrixxOES(arg0,arg1);
String txt = new String("glQueryMatrixxOES(" +
" "+arg0 + ", " +
" "+arg1 + ")");
checkGLGetError( txt );
return _res;
}
public int glQueryMatrixxOES(int[] arg0,int arg1,int[] arg2,int arg3)
{
checkContext();
int _res = downstreamGLES1.glQueryMatrixxOES(arg0,arg1,arg2,arg3);
String txt = new String("glQueryMatrixxOES(" +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ")");
checkGLGetError( txt );
return _res;
}
public boolean glTestFenceNV(int arg0)
{
checkContext();
boolean _res = downstreamGLES1.glTestFenceNV(arg0);
String txt = new String("glTestFenceNV(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ")");
checkGLGetError( txt );
return _res;
}
public void glGetTexParameterxv(int arg0,int arg1,int[] arg2,int arg3)
{
checkContext();
downstreamGLES1.glGetTexParameterxv(arg0,arg1,arg2,arg3);
String txt = new String("glGetTexParameterxv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glNormal3f(float arg0,float arg1,float arg2)
{
checkContext();
downstreamGLES1.glNormal3f(arg0,arg1,arg2);
String txt = new String("glNormal3f(" +
" "+arg0 + ", " +
" "+arg1 + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glTextureStorage3D(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5,int arg6)
{
checkContext();
downstreamGLES1.glTextureStorage3D(arg0,arg1,arg2,arg3,arg4,arg5,arg6);
String txt = new String("glTextureStorage3D(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg4).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg5).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg6).toUpperCase() + ")");
checkGLGetError( txt );
}
public boolean isNPOTTextureAvailable()
{
return downstreamGLES1.isNPOTTextureAvailable();
}
public void glGetTexGeniv(int arg0,int arg1,int[] arg2,int arg3)
{
checkContext();
downstreamGLES1.glGetTexGeniv(arg0,arg1,arg2,arg3);
String txt = new String("glGetTexGeniv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glTextureStorage2D(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5)
{
checkContext();
downstreamGLES1.glTextureStorage2D(arg0,arg1,arg2,arg3,arg4,arg5);
String txt = new String("glTextureStorage2D(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg4).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg5).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glGenVertexArraysOES(int arg0,int[] arg1,int arg2)
{
checkContext();
downstreamGLES1.glGenVertexArraysOES(arg0,arg1,arg2);
String txt = new String("glGenVertexArraysOES(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glPointParameterxv(int arg0,int[] arg1,int arg2)
{
checkContext();
downstreamGLES1.glPointParameterxv(arg0,arg1,arg2);
String txt = new String("glPointParameterxv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glClipPlanef(int arg0,java.nio.FloatBuffer arg1)
{
checkContext();
downstreamGLES1.glClipPlanef(arg0,arg1);
String txt = new String("glClipPlanef(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ")");
checkGLGetError( txt );
}
public void glGetBooleanv(int arg0,java.nio.ByteBuffer arg1)
{
checkContext();
downstreamGLES1.glGetBooleanv(arg0,arg1);
String txt = new String("glGetBooleanv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ")");
checkGLGetError( txt );
}
public void glScissor(int arg0,int arg1,int arg2,int arg3)
{
checkContext();
downstreamGLES1.glScissor(arg0,arg1,arg2,arg3);
String txt = new String("glScissor(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glFrustumx(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5)
{
checkContext();
downstreamGLES1.glFrustumx(arg0,arg1,arg2,arg3,arg4,arg5);
String txt = new String("glFrustumx(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
"