All Downloads are FREE. Search and download functionalities are using the official Maven repository.

javax.media.opengl.DebugGLES1 Maven / Gradle / Ivy

There is a newer version: 2.3.2
Show newest version
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() + ", " + " 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 glDeleteFencesNV(int arg0,int[] arg1,int arg2) { checkContext(); downstreamGLES1.glDeleteFencesNV(arg0,arg1,arg2); String txt = new String("glDeleteFencesNV(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + "<[I>" + ", " + " 0x"+Integer.toHexString(arg2).toUpperCase() + ")"); checkGLGetError( txt ); } public void glLightModelxv(int arg0,int[] arg1,int arg2) { checkContext(); downstreamGLES1.glLightModelxv(arg0,arg1,arg2); String txt = new String("glLightModelxv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + "<[I>" + ", " + " 0x"+Integer.toHexString(arg2).toUpperCase() + ")"); checkGLGetError( txt ); } public void glDeleteVertexArraysOES(int arg0,int[] arg1,int arg2) { checkContext(); downstreamGLES1.glDeleteVertexArraysOES(arg0,arg1,arg2); String txt = new String("glDeleteVertexArraysOES(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + "<[I>" + ", " + " 0x"+Integer.toHexString(arg2).toUpperCase() + ")"); checkGLGetError( txt ); } public void glAlphaFunc(int arg0,float arg1) { checkContext(); downstreamGLES1.glAlphaFunc(arg0,arg1); String txt = new String("glAlphaFunc(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " "+arg1 + ")"); checkGLGetError( txt ); } public void glTexEnvi(int arg0,int arg1,int arg2) { checkContext(); downstreamGLES1.glTexEnvi(arg0,arg1,arg2); String txt = new String("glTexEnvi(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg2).toUpperCase() + ")"); checkGLGetError( txt ); } public void glPixelStorei(int arg0,int arg1) { checkContext(); downstreamGLES1.glPixelStorei(arg0,arg1); String txt = new String("glPixelStorei(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ")"); checkGLGetError( txt ); } public void glCullFace(int arg0) { checkContext(); downstreamGLES1.glCullFace(arg0); String txt = new String("glCullFace(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ")"); checkGLGetError( txt ); } public void glDrawTexxvOES(int[] arg0,int arg1) { checkContext(); downstreamGLES1.glDrawTexxvOES(arg0,arg1); String txt = new String("glDrawTexxvOES(" + "<[I>" + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ")"); checkGLGetError( txt ); } public void glLoadMatrixx(java.nio.IntBuffer arg0) { checkContext(); downstreamGLES1.glLoadMatrixx(arg0); String txt = new String("glLoadMatrixx(" + " "+arg0 + ")"); checkGLGetError( txt ); } public void glFogfv(int arg0,java.nio.FloatBuffer arg1) { checkContext(); downstreamGLES1.glFogfv(arg0,arg1); String txt = new String("glFogfv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " "+arg1 + ")"); checkGLGetError( txt ); } public boolean glExtIsProgramBinaryQCOM(int arg0) { checkContext(); boolean _res = downstreamGLES1.glExtIsProgramBinaryQCOM(arg0); String txt = new String("glExtIsProgramBinaryQCOM(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ")"); checkGLGetError( txt ); return _res; } public void glGetTexEnvxv(int arg0,int arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES1.glGetTexEnvxv(arg0,arg1,arg2); String txt = new String("glGetTexEnvxv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " "+arg2 + ")"); checkGLGetError( txt ); } public void glDrawTexfvOES(float[] arg0,int arg1) { checkContext(); downstreamGLES1.glDrawTexfvOES(arg0,arg1); String txt = new String("glDrawTexfvOES(" + "<[F>" + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ")"); checkGLGetError( txt ); } public void glClientActiveTexture(int arg0) { checkContext(); downstreamGLES1.glClientActiveTexture(arg0); String txt = new String("glClientActiveTexture(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ")"); checkGLGetError( txt ); } public void glTexGeniv(int arg0,int arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES1.glTexGeniv(arg0,arg1,arg2); String txt = new String("glTexGeniv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " "+arg2 + ")"); checkGLGetError( txt ); } public void glClipPlanefIMG(int arg0,float[] arg1,int arg2) { checkContext(); downstreamGLES1.glClipPlanefIMG(arg0,arg1,arg2); String txt = new String("glClipPlanefIMG(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + "<[F>" + ", " + " 0x"+Integer.toHexString(arg2).toUpperCase() + ")"); checkGLGetError( txt ); } public void glDrawTexsvOES(java.nio.ShortBuffer arg0) { checkContext(); downstreamGLES1.glDrawTexsvOES(arg0); String txt = new String("glDrawTexsvOES(" + " "+arg0 + ")"); checkGLGetError( txt ); } public void glCurrentPaletteMatrix(int arg0) { checkContext(); downstreamGLES1.glCurrentPaletteMatrix(arg0); String txt = new String("glCurrentPaletteMatrix(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ")"); checkGLGetError( txt ); } public void glReadPixels(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5,long arg6) { checkContext(); downstreamGLES1.glReadPixels(arg0,arg1,arg2,arg3,arg4,arg5,arg6); String txt = new String("glReadPixels(" + " 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() + ", " + " "+arg6 + ")"); checkGLGetError( txt ); } public void glExtGetBuffersQCOM(int[] arg0,int arg1,int arg2,int[] arg3,int arg4) { checkContext(); downstreamGLES1.glExtGetBuffersQCOM(arg0,arg1,arg2,arg3,arg4); String txt = new String("glExtGetBuffersQCOM(" + "<[I>" + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg2).toUpperCase() + ", " + "<[I>" + ", " + " 0x"+Integer.toHexString(arg4).toUpperCase() + ")"); checkGLGetError( txt ); } public void glExtGetBuffersQCOM(java.nio.IntBuffer arg0,int arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES1.glExtGetBuffersQCOM(arg0,arg1,arg2); String txt = new String("glExtGetBuffersQCOM(" + " "+arg0 + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " "+arg2 + ")"); checkGLGetError( txt ); } public void glExtGetTexturesQCOM(java.nio.IntBuffer arg0,int arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES1.glExtGetTexturesQCOM(arg0,arg1,arg2); String txt = new String("glExtGetTexturesQCOM(" + " "+arg0 + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " "+arg2 + ")"); checkGLGetError( txt ); } public void glExtGetTexturesQCOM(int[] arg0,int arg1,int arg2,int[] arg3,int arg4) { checkContext(); downstreamGLES1.glExtGetTexturesQCOM(arg0,arg1,arg2,arg3,arg4); String txt = new String("glExtGetTexturesQCOM(" + "<[I>" + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg2).toUpperCase() + ", " + "<[I>" + ", " + " 0x"+Integer.toHexString(arg4).toUpperCase() + ")"); checkGLGetError( txt ); } public void glMaterialfv(int arg0,int arg1,java.nio.FloatBuffer arg2) { checkContext(); downstreamGLES1.glMaterialfv(arg0,arg1,arg2); String txt = new String("glMaterialfv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " "+arg2 + ")"); checkGLGetError( txt ); } public void glLightf(int arg0,int arg1,float arg2) { checkContext(); downstreamGLES1.glLightf(arg0,arg1,arg2); String txt = new String("glLightf(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " "+arg2 + ")"); checkGLGetError( txt ); } public void glCopyTexSubImage2D(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5,int arg6,int arg7) { checkContext(); downstreamGLES1.glCopyTexSubImage2D(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7); String txt = new String("glCopyTexSubImage2D(" + " 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() + ")"); checkGLGetError( txt ); } public void glGetFixedv(int arg0,int[] arg1,int arg2) { checkContext(); downstreamGLES1.glGetFixedv(arg0,arg1,arg2); String txt = new String("glGetFixedv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + "<[I>" + ", " + " 0x"+Integer.toHexString(arg2).toUpperCase() + ")"); checkGLGetError( txt ); } public boolean glIsFramebuffer(int arg0) { checkContext(); boolean _res = downstreamGLES1.glIsFramebuffer(arg0); String txt = new String("glIsFramebuffer(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ")"); checkGLGetError( txt ); return _res; } public void glMultMatrixf(float[] arg0,int arg1) { checkContext(); downstreamGLES1.glMultMatrixf(arg0,arg1); String txt = new String("glMultMatrixf(" + "<[F>" + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ")"); checkGLGetError( txt ); } public void glVertexPointer(int arg0,int arg1,int arg2,long arg3) { checkContext(); downstreamGLES1.glVertexPointer(arg0,arg1,arg2,arg3); String txt = new String("glVertexPointer(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg2).toUpperCase() + ", " + " "+arg3 + ")"); checkGLGetError( txt ); } public void glPointSize(float arg0) { checkContext(); downstreamGLES1.glPointSize(arg0); String txt = new String("glPointSize(" + " "+arg0 + ")"); checkGLGetError( txt ); } public void glPolygonOffsetx(int arg0,int arg1) { checkContext(); downstreamGLES1.glPolygonOffsetx(arg0,arg1); String txt = new String("glPolygonOffsetx(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ")"); checkGLGetError( txt ); } public void glPointParameterfv(int arg0,java.nio.FloatBuffer arg1) { checkContext(); downstreamGLES1.glPointParameterfv(arg0,arg1); String txt = new String("glPointParameterfv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " "+arg1 + ")"); checkGLGetError( txt ); } public void glDeleteFramebuffers(int arg0,java.nio.IntBuffer arg1) { checkContext(); downstreamGLES1.glDeleteFramebuffers(arg0,arg1); String txt = new String("glDeleteFramebuffers(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " "+arg1 + ")"); checkGLGetError( txt ); } public void glTexCoordPointer(int arg0,int arg1,int arg2,java.nio.Buffer arg3) { checkContext(); downstreamGLES1.glTexCoordPointer(arg0,arg1,arg2,arg3); String txt = new String("glTexCoordPointer(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg2).toUpperCase() + ", " + " "+arg3 + ")"); checkGLGetError( txt ); } public void glGetBufferParameteriv(int arg0,int arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES1.glGetBufferParameteriv(arg0,arg1,arg2); String txt = new String("glGetBufferParameteriv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " "+arg2 + ")"); checkGLGetError( txt ); } public void glGetTexParameterfv(int arg0,int arg1,java.nio.FloatBuffer arg2) { checkContext(); downstreamGLES1.glGetTexParameterfv(arg0,arg1,arg2); String txt = new String("glGetTexParameterfv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " "+arg2 + ")"); checkGLGetError( txt ); } public void glBufferSubData(int arg0,long arg1,long arg2,java.nio.Buffer arg3) { checkContext(); downstreamGLES1.glBufferSubData(arg0,arg1,arg2,arg3); String txt = new String("glBufferSubData(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " "+arg1 + ", " + " "+arg2 + ", " + " "+arg3 + ")"); checkGLGetError( txt ); } public int getDefaultDrawFramebuffer() { return downstreamGLES1.getDefaultDrawFramebuffer(); } public void glEndTilingQCOM(int arg0) { checkContext(); downstreamGLES1.glEndTilingQCOM(arg0); String txt = new String("glEndTilingQCOM(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ")"); checkGLGetError( txt ); } public void glLightModelfv(int arg0,java.nio.FloatBuffer arg1) { checkContext(); downstreamGLES1.glLightModelfv(arg0,arg1); String txt = new String("glLightModelfv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " "+arg1 + ")"); checkGLGetError( txt ); } public void glGetClipPlanex(int arg0,java.nio.IntBuffer arg1) { checkContext(); downstreamGLES1.glGetClipPlanex(arg0,arg1); String txt = new String("glGetClipPlanex(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " "+arg1 + ")"); checkGLGetError( txt ); } public void glTexGenfv(int arg0,int arg1,float[] arg2,int arg3) { checkContext(); downstreamGLES1.glTexGenfv(arg0,arg1,arg2,arg3); String txt = new String("glTexGenfv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + "<[F>" + ", " + " 0x"+Integer.toHexString(arg3).toUpperCase() + ")"); checkGLGetError( txt ); } public void glGetFramebufferAttachmentParameteriv(int arg0,int arg1,int arg2,java.nio.IntBuffer arg3) { checkContext(); downstreamGLES1.glGetFramebufferAttachmentParameteriv(arg0,arg1,arg2,arg3); String txt = new String("glGetFramebufferAttachmentParameteriv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg2).toUpperCase() + ", " + " "+arg3 + ")"); checkGLGetError( txt ); } public void glReadnPixels(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5,int arg6,java.nio.Buffer arg7) { checkContext(); downstreamGLES1.glReadnPixels(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7); String txt = new String("glReadnPixels(" + " 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.nio.ByteBuffer glMapBufferRange(int arg0,long arg1,long arg2,int arg3) { checkContext(); java.nio.ByteBuffer _res = downstreamGLES1.glMapBufferRange(arg0,arg1,arg2,arg3); String txt = new String("glMapBufferRange(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " "+arg1 + ", " + " "+arg2 + ", " + " 0x"+Integer.toHexString(arg3).toUpperCase() + ")"); checkGLGetError( txt ); return _res; } public void glTexCoordPointer(javax.media.opengl.GLArrayData arg0) { checkContext(); downstreamGLES1.glTexCoordPointer(arg0); String txt = new String("glTexCoordPointer(" + " "+arg0 + ")"); checkGLGetError( txt ); } public void glPopMatrix() { checkContext(); downstreamGLES1.glPopMatrix(); String txt = new String("glPopMatrix(" + ")"); checkGLGetError( txt ); } public void glColor4ub(byte arg0,byte arg1,byte arg2,byte arg3) { checkContext(); downstreamGLES1.glColor4ub(arg0,arg1,arg2,arg3); String txt = new String("glColor4ub(" + " "+arg0 + ", " + " "+arg1 + ", " + " "+arg2 + ", " + " "+arg3 + ")"); checkGLGetError( txt ); } public void glClipPlanex(int arg0,int[] arg1,int arg2) { checkContext(); downstreamGLES1.glClipPlanex(arg0,arg1,arg2); String txt = new String("glClipPlanex(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + "<[I>" + ", " + " 0x"+Integer.toHexString(arg2).toUpperCase() + ")"); checkGLGetError( txt ); } public void glGetMaterialfv(int arg0,int arg1,float[] arg2,int arg3) { checkContext(); downstreamGLES1.glGetMaterialfv(arg0,arg1,arg2,arg3); String txt = new String("glGetMaterialfv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + "<[F>" + ", " + " 0x"+Integer.toHexString(arg3).toUpperCase() + ")"); checkGLGetError( txt ); } public void glGetnUniformiv(int arg0,int arg1,int arg2,int[] arg3,int arg4) { checkContext(); downstreamGLES1.glGetnUniformiv(arg0,arg1,arg2,arg3,arg4); String txt = new String("glGetnUniformiv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg2).toUpperCase() + ", " + "<[I>" + ", " + " 0x"+Integer.toHexString(arg4).toUpperCase() + ")"); checkGLGetError( txt ); } public void glGetFloatv(int arg0,java.nio.FloatBuffer arg1) { checkContext(); downstreamGLES1.glGetFloatv(arg0,arg1); String txt = new String("glGetFloatv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " "+arg1 + ")"); checkGLGetError( txt ); } public void glDrawElements(int arg0,int arg1,int arg2,java.nio.Buffer arg3) { checkContext(); downstreamGLES1.glDrawElements(arg0,arg1,arg2,arg3); String txt = new String("glDrawElements(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg2).toUpperCase() + ", " + " "+arg3 + ")"); checkGLGetError( txt ); } public void glBindVertexArrayOES(int arg0) { checkContext(); downstreamGLES1.glBindVertexArrayOES(arg0); String txt = new String("glBindVertexArrayOES(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ")"); checkGLGetError( txt ); } public void glExtGetShadersQCOM(java.nio.IntBuffer arg0,int arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES1.glExtGetShadersQCOM(arg0,arg1,arg2); String txt = new String("glExtGetShadersQCOM(" + " "+arg0 + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " "+arg2 + ")"); checkGLGetError( txt ); } public void glExtGetShadersQCOM(int[] arg0,int arg1,int arg2,int[] arg3,int arg4) { checkContext(); downstreamGLES1.glExtGetShadersQCOM(arg0,arg1,arg2,arg3,arg4); String txt = new String("glExtGetShadersQCOM(" + "<[I>" + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg2).toUpperCase() + ", " + "<[I>" + ", " + " 0x"+Integer.toHexString(arg4).toUpperCase() + ")"); checkGLGetError( txt ); } public void glTexImage2D(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5,int arg6,int arg7,long arg8) { checkContext(); downstreamGLES1.glTexImage2D(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8); String txt = new String("glTexImage2D(" + " 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 boolean isExtensionAvailable(java.lang.String arg0) { return downstreamGLES1.isExtensionAvailable(arg0); } public void glScalef(float arg0,float arg1,float arg2) { checkContext(); downstreamGLES1.glScalef(arg0,arg1,arg2); String txt = new String("glScalef(" + " "+arg0 + ", " + " "+arg1 + ", " + " "+arg2 + ")"); checkGLGetError( txt ); } public void glGetTexParameteriv(int arg0,int arg1,int[] arg2,int arg3) { checkContext(); downstreamGLES1.glGetTexParameteriv(arg0,arg1,arg2,arg3); String txt = new String("glGetTexParameteriv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + "<[I>" + ", " + " 0x"+Integer.toHexString(arg3).toUpperCase() + ")"); checkGLGetError( txt ); } public void glExtGetFramebuffersQCOM(int[] arg0,int arg1,int arg2,int[] arg3,int arg4) { checkContext(); downstreamGLES1.glExtGetFramebuffersQCOM(arg0,arg1,arg2,arg3,arg4); String txt = new String("glExtGetFramebuffersQCOM(" + "<[I>" + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg2).toUpperCase() + ", " + "<[I>" + ", " + " 0x"+Integer.toHexString(arg4).toUpperCase() + ")"); checkGLGetError( txt ); } public void glExtGetFramebuffersQCOM(java.nio.IntBuffer arg0,int arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES1.glExtGetFramebuffersQCOM(arg0,arg1,arg2); String txt = new String("glExtGetFramebuffersQCOM(" + " "+arg0 + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " "+arg2 + ")"); checkGLGetError( txt ); } public int glGetGraphicsResetStatus() { checkContext(); int _res = downstreamGLES1.glGetGraphicsResetStatus(); String txt = new String("glGetGraphicsResetStatus(" + ")"); checkGLGetError( txt ); return _res; } public boolean glIsEnabled(int arg0) { checkContext(); boolean _res = downstreamGLES1.glIsEnabled(arg0); String txt = new String("glIsEnabled(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ")"); checkGLGetError( txt ); return _res; } public void glGetTexEnvfv(int arg0,int arg1,java.nio.FloatBuffer arg2) { checkContext(); downstreamGLES1.glGetTexEnvfv(arg0,arg1,arg2); String txt = new String("glGetTexEnvfv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " "+arg2 + ")"); checkGLGetError( txt ); } public void glGetTexGenfv(int arg0,int arg1,java.nio.FloatBuffer arg2) { checkContext(); downstreamGLES1.glGetTexGenfv(arg0,arg1,arg2); String txt = new String("glGetTexGenfv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " "+arg2 + ")"); checkGLGetError( txt ); } public void glLoadMatrixf(float[] arg0,int arg1) { checkContext(); downstreamGLES1.glLoadMatrixf(arg0,arg1); String txt = new String("glLoadMatrixf(" + "<[F>" + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ")"); checkGLGetError( txt ); } public boolean glIsTexture(int arg0) { checkContext(); boolean _res = downstreamGLES1.glIsTexture(arg0); String txt = new String("glIsTexture(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ")"); checkGLGetError( txt ); return _res; } public void glLineWidthx(int arg0) { checkContext(); downstreamGLES1.glLineWidthx(arg0); String txt = new String("glLineWidthx(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ")"); checkGLGetError( txt ); } public void glDiscardFramebufferEXT(int arg0,int arg1,int[] arg2,int arg3) { checkContext(); downstreamGLES1.glDiscardFramebufferEXT(arg0,arg1,arg2,arg3); String txt = new String("glDiscardFramebufferEXT(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + "<[I>" + ", " + " 0x"+Integer.toHexString(arg3).toUpperCase() + ")"); checkGLGetError( txt ); } public int getDefaultReadBuffer() { return downstreamGLES1.getDefaultReadBuffer(); } public void glViewport(int arg0,int arg1,int arg2,int arg3) { checkContext(); downstreamGLES1.glViewport(arg0,arg1,arg2,arg3); String txt = new String("glViewport(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg2).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg3).toUpperCase() + ")"); checkGLGetError( txt ); } public void glBindRenderbuffer(int arg0,int arg1) { checkContext(); downstreamGLES1.glBindRenderbuffer(arg0,arg1); String txt = new String("glBindRenderbuffer(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ")"); checkGLGetError( txt ); } public void glRotatex(int arg0,int arg1,int arg2,int arg3) { checkContext(); downstreamGLES1.glRotatex(arg0,arg1,arg2,arg3); String txt = new String("glRotatex(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg2).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg3).toUpperCase() + ")"); checkGLGetError( txt ); } public void glNormalPointer(int arg0,int arg1,long arg2) { checkContext(); downstreamGLES1.glNormalPointer(arg0,arg1,arg2); String txt = new String("glNormalPointer(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " "+arg2 + ")"); checkGLGetError( txt ); } public void glGenerateMipmap(int arg0) { checkContext(); downstreamGLES1.glGenerateMipmap(arg0); String txt = new String("glGenerateMipmap(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ")"); checkGLGetError( txt ); } public void glTranslatex(int arg0,int arg1,int arg2) { checkContext(); downstreamGLES1.glTranslatex(arg0,arg1,arg2); String txt = new String("glTranslatex(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg2).toUpperCase() + ")"); checkGLGetError( txt ); } public void glGenFencesNV(int arg0,int[] arg1,int arg2) { checkContext(); downstreamGLES1.glGenFencesNV(arg0,arg1,arg2); String txt = new String("glGenFencesNV(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + "<[I>" + ", " + " 0x"+Integer.toHexString(arg2).toUpperCase() + ")"); checkGLGetError( txt ); } public void glMatrixMode(int arg0) { checkContext(); downstreamGLES1.glMatrixMode(arg0); String txt = new String("glMatrixMode(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ")"); checkGLGetError( txt ); } public void glTexEnvfv(int arg0,int arg1,java.nio.FloatBuffer arg2) { checkContext(); downstreamGLES1.glTexEnvfv(arg0,arg1,arg2); String txt = new String("glTexEnvfv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " "+arg2 + ")"); checkGLGetError( txt ); } public void glPolygonOffset(float arg0,float arg1) { checkContext(); downstreamGLES1.glPolygonOffset(arg0,arg1); String txt = new String("glPolygonOffset(" + " "+arg0 + ", " + " "+arg1 + ")"); checkGLGetError( txt ); } public void glDeleteRenderbuffers(int arg0,java.nio.IntBuffer arg1) { checkContext(); downstreamGLES1.glDeleteRenderbuffers(arg0,arg1); String txt = new String("glDeleteRenderbuffers(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " "+arg1 + ")"); checkGLGetError( txt ); } public void glRotatef(float arg0,float arg1,float arg2,float arg3) { checkContext(); downstreamGLES1.glRotatef(arg0,arg1,arg2,arg3); String txt = new String("glRotatef(" + " "+arg0 + ", " + " "+arg1 + ", " + " "+arg2 + ", " + " "+arg3 + ")"); checkGLGetError( txt ); } public void glPushMatrix() { checkContext(); downstreamGLES1.glPushMatrix(); String txt = new String("glPushMatrix(" + ")"); checkGLGetError( txt ); } public void glLightfv(int arg0,int arg1,float[] arg2,int arg3) { checkContext(); downstreamGLES1.glLightfv(arg0,arg1,arg2,arg3); String txt = new String("glLightfv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + "<[F>" + ", " + " 0x"+Integer.toHexString(arg3).toUpperCase() + ")"); checkGLGetError( txt ); } public void glEnable(int arg0) { checkContext(); downstreamGLES1.glEnable(arg0); String txt = new String("glEnable(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ")"); checkGLGetError( txt ); } public void glDeleteBuffers(int arg0,int[] arg1,int arg2) { checkContext(); downstreamGLES1.glDeleteBuffers(arg0,arg1,arg2); String txt = new String("glDeleteBuffers(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + "<[I>" + ", " + " 0x"+Integer.toHexString(arg2).toUpperCase() + ")"); checkGLGetError( txt ); } public void glGetLightfv(int arg0,int arg1,float[] arg2,int arg3) { checkContext(); downstreamGLES1.glGetLightfv(arg0,arg1,arg2,arg3); String txt = new String("glGetLightfv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + "<[F>" + ", " + " 0x"+Integer.toHexString(arg3).toUpperCase() + ")"); checkGLGetError( txt ); } public void glRenderbufferStorageMultisampleIMG(int arg0,int arg1,int arg2,int arg3,int arg4) { checkContext(); downstreamGLES1.glRenderbufferStorageMultisampleIMG(arg0,arg1,arg2,arg3,arg4); String txt = new String("glRenderbufferStorageMultisampleIMG(" + " 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 glLineWidth(float arg0) { checkContext(); downstreamGLES1.glLineWidth(arg0); String txt = new String("glLineWidth(" + " "+arg0 + ")"); checkGLGetError( txt ); } public void glFogf(int arg0,float arg1) { checkContext(); downstreamGLES1.glFogf(arg0,arg1); String txt = new String("glFogf(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " "+arg1 + ")"); checkGLGetError( txt ); } public void glLightfv(int arg0,int arg1,java.nio.FloatBuffer arg2) { checkContext(); downstreamGLES1.glLightfv(arg0,arg1,arg2); String txt = new String("glLightfv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " "+arg2 + ")"); checkGLGetError( txt ); } public void glVertexPointer(int arg0,int arg1,int arg2,java.nio.Buffer arg3) { checkContext(); downstreamGLES1.glVertexPointer(arg0,arg1,arg2,arg3); String txt = new String("glVertexPointer(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg2).toUpperCase() + ", " + " "+arg3 + ")"); checkGLGetError( txt ); } public void glGetClipPlanex(int arg0,int[] arg1,int arg2) { checkContext(); downstreamGLES1.glGetClipPlanex(arg0,arg1,arg2); String txt = new String("glGetClipPlanex(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + "<[I>" + ", " + " 0x"+Integer.toHexString(arg2).toUpperCase() + ")"); checkGLGetError( txt ); } public void glExtGetProgramBinarySourceQCOM(int arg0,int arg1,java.nio.ByteBuffer arg2,java.nio.IntBuffer arg3) { checkContext(); downstreamGLES1.glExtGetProgramBinarySourceQCOM(arg0,arg1,arg2,arg3); String txt = new String("glExtGetProgramBinarySourceQCOM(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " "+arg2 + ", " + " "+arg3 + ")"); checkGLGetError( txt ); } public void glGetFramebufferAttachmentParameteriv(int arg0,int arg1,int arg2,int[] arg3,int arg4) { checkContext(); downstreamGLES1.glGetFramebufferAttachmentParameteriv(arg0,arg1,arg2,arg3,arg4); String txt = new String("glGetFramebufferAttachmentParameteriv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg2).toUpperCase() + ", " + "<[I>" + ", " + " 0x"+Integer.toHexString(arg4).toUpperCase() + ")"); checkGLGetError( txt ); } public void glGetLightfv(int arg0,int arg1,java.nio.FloatBuffer arg2) { checkContext(); downstreamGLES1.glGetLightfv(arg0,arg1,arg2); String txt = new String("glGetLightfv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " "+arg2 + ")"); checkGLGetError( txt ); } public javax.media.opengl.GLContext getContext() { return downstreamGLES1.getContext(); } public void glColorMask(boolean arg0,boolean arg1,boolean arg2,boolean arg3) { checkContext(); downstreamGLES1.glColorMask(arg0,arg1,arg2,arg3); String txt = new String("glColorMask(" + " "+arg0 + ", " + " "+arg1 + ", " + " "+arg2 + ", " + " "+arg3 + ")"); checkGLGetError( txt ); } public void glBindTexture(int arg0,int arg1) { checkContext(); downstreamGLES1.glBindTexture(arg0,arg1); String txt = new String("glBindTexture(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ")"); checkGLGetError( txt ); } public void glDisable(int arg0) { checkContext(); downstreamGLES1.glDisable(arg0); String txt = new String("glDisable(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ")"); checkGLGetError( txt ); } public void glTexEnvfv(int arg0,int arg1,float[] arg2,int arg3) { checkContext(); downstreamGLES1.glTexEnvfv(arg0,arg1,arg2,arg3); String txt = new String("glTexEnvfv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + "<[F>" + ", " + " 0x"+Integer.toHexString(arg3).toUpperCase() + ")"); checkGLGetError( txt ); } public void glTexCoordPointer(int arg0,int arg1,int arg2,long arg3) { checkContext(); downstreamGLES1.glTexCoordPointer(arg0,arg1,arg2,arg3); String txt = new String("glTexCoordPointer(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg2).toUpperCase() + ", " + " "+arg3 + ")"); checkGLGetError( txt ); } public void glClearDepthx(int arg0) { checkContext(); downstreamGLES1.glClearDepthx(arg0); String txt = new String("glClearDepthx(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ")"); checkGLGetError( txt ); } public void glDeleteFramebuffers(int arg0,int[] arg1,int arg2) { checkContext(); downstreamGLES1.glDeleteFramebuffers(arg0,arg1,arg2); String txt = new String("glDeleteFramebuffers(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + "<[I>" + ", " + " 0x"+Integer.toHexString(arg2).toUpperCase() + ")"); checkGLGetError( txt ); } public void glStartTilingQCOM(int arg0,int arg1,int arg2,int arg3,int arg4) { checkContext(); downstreamGLES1.glStartTilingQCOM(arg0,arg1,arg2,arg3,arg4); String txt = new String("glStartTilingQCOM(" + " 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 glGetFixedv(int arg0,java.nio.IntBuffer arg1) { checkContext(); downstreamGLES1.glGetFixedv(arg0,arg1); String txt = new String("glGetFixedv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " "+arg1 + ")"); checkGLGetError( txt ); } public void glColor4f(float arg0,float arg1,float arg2,float arg3) { checkContext(); downstreamGLES1.glColor4f(arg0,arg1,arg2,arg3); String txt = new String("glColor4f(" + " "+arg0 + ", " + " "+arg1 + ", " + " "+arg2 + ", " + " "+arg3 + ")"); checkGLGetError( txt ); } public void glPointParameterx(int arg0,int arg1) { checkContext(); downstreamGLES1.glPointParameterx(arg0,arg1); String txt = new String("glPointParameterx(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ")"); checkGLGetError( txt ); } public void glMaterialf(int arg0,int arg1,float arg2) { checkContext(); downstreamGLES1.glMaterialf(arg0,arg1,arg2); String txt = new String("glMaterialf(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " "+arg2 + ")"); checkGLGetError( txt ); } public void glGetBufferParameteriv(int arg0,int arg1,int[] arg2,int arg3) { checkContext(); downstreamGLES1.glGetBufferParameteriv(arg0,arg1,arg2,arg3); String txt = new String("glGetBufferParameteriv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + "<[I>" + ", " + " 0x"+Integer.toHexString(arg3).toUpperCase() + ")"); checkGLGetError( txt ); } public void glLoadMatrixf(java.nio.FloatBuffer arg0) { checkContext(); downstreamGLES1.glLoadMatrixf(arg0); String txt = new String("glLoadMatrixf(" + " "+arg0 + ")"); checkGLGetError( txt ); } public long glGetBufferSize(int arg0) { checkContext(); long _res = downstreamGLES1.glGetBufferSize(arg0); String txt = new String("glGetBufferSize(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ")"); checkGLGetError( txt ); return _res; } public void glEGLImageTargetTexture2DOES(int arg0,long arg1) { checkContext(); downstreamGLES1.glEGLImageTargetTexture2DOES(arg0,arg1); String txt = new String("glEGLImageTargetTexture2DOES(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " "+arg1 + ")"); checkGLGetError( txt ); } public void glLightModelf(int arg0,float arg1) { checkContext(); downstreamGLES1.glLightModelf(arg0,arg1); String txt = new String("glLightModelf(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " "+arg1 + ")"); checkGLGetError( txt ); } public void glGetTexEnvfv(int arg0,int arg1,float[] arg2,int arg3) { checkContext(); downstreamGLES1.glGetTexEnvfv(arg0,arg1,arg2,arg3); String txt = new String("glGetTexEnvfv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + "<[F>" + ", " + " 0x"+Integer.toHexString(arg3).toUpperCase() + ")"); checkGLGetError( txt ); } public void glGetTexGenfv(int arg0,int arg1,float[] arg2,int arg3) { checkContext(); downstreamGLES1.glGetTexGenfv(arg0,arg1,arg2,arg3); String txt = new String("glGetTexGenfv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + "<[F>" + ", " + " 0x"+Integer.toHexString(arg3).toUpperCase() + ")"); checkGLGetError( txt ); } public void glDepthRangex(int arg0,int arg1) { checkContext(); downstreamGLES1.glDepthRangex(arg0,arg1); String txt = new String("glDepthRangex(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ")"); checkGLGetError( txt ); } public boolean glIsVBOArrayEnabled() { checkContext(); boolean _res = downstreamGLES1.glIsVBOArrayEnabled(); String txt = new String("glIsVBOArrayEnabled(" + ")"); checkGLGetError( txt ); return _res; } public void glSampleCoverage(float arg0,boolean arg1) { checkContext(); downstreamGLES1.glSampleCoverage(arg0,arg1); String txt = new String("glSampleCoverage(" + " "+arg0 + ", " + " "+arg1 + ")"); checkGLGetError( txt ); } public void glGetTexEnvxv(int arg0,int arg1,int[] arg2,int arg3) { checkContext(); downstreamGLES1.glGetTexEnvxv(arg0,arg1,arg2,arg3); String txt = new String("glGetTexEnvxv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + "<[I>" + ", " + " 0x"+Integer.toHexString(arg3).toUpperCase() + ")"); checkGLGetError( txt ); } public void glGetMaterialfv(int arg0,int arg1,java.nio.FloatBuffer arg2) { checkContext(); downstreamGLES1.glGetMaterialfv(arg0,arg1,arg2); String txt = new String("glGetMaterialfv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " "+arg2 + ")"); checkGLGetError( txt ); } public void glReadPixels(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5,java.nio.Buffer arg6) { checkContext(); downstreamGLES1.glReadPixels(arg0,arg1,arg2,arg3,arg4,arg5,arg6); String txt = new String("glReadPixels(" + " 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() + ", " + " "+arg6 + ")"); checkGLGetError( txt ); } public void glTexEnvf(int arg0,int arg1,float arg2) { checkContext(); downstreamGLES1.glTexEnvf(arg0,arg1,arg2); String txt = new String("glTexEnvf(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " "+arg2 + ")"); checkGLGetError( txt ); } public void glOrtho(double arg0,double arg1,double arg2,double arg3,double arg4,double arg5) { checkContext(); downstreamGLES1.glOrtho(arg0,arg1,arg2,arg3,arg4,arg5); String txt = new String("glOrtho(" + " "+arg0 + ", " + " "+arg1 + ", " + " "+arg2 + ", " + " "+arg3 + ", " + " "+arg4 + ", " + " "+arg5 + ")"); checkGLGetError( txt ); } public void glGetFloatv(int arg0,float[] arg1,int arg2) { checkContext(); downstreamGLES1.glGetFloatv(arg0,arg1,arg2); String txt = new String("glGetFloatv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + "<[F>" + ", " + " 0x"+Integer.toHexString(arg2).toUpperCase() + ")"); checkGLGetError( txt ); } public void glDepthRangef(float arg0,float arg1) { checkContext(); downstreamGLES1.glDepthRangef(arg0,arg1); String txt = new String("glDepthRangef(" + " "+arg0 + ", " + " "+arg1 + ")"); checkGLGetError( txt ); } public boolean isTextureFormatBGRA8888Available() { return downstreamGLES1.isTextureFormatBGRA8888Available(); } public void glClearColor(float arg0,float arg1,float arg2,float arg3) { checkContext(); downstreamGLES1.glClearColor(arg0,arg1,arg2,arg3); String txt = new String("glClearColor(" + " "+arg0 + ", " + " "+arg1 + ", " + " "+arg2 + ", " + " "+arg3 + ")"); checkGLGetError( txt ); } public java.nio.ByteBuffer glMapBuffer(int arg0,int arg1) { checkContext(); java.nio.ByteBuffer _res = downstreamGLES1.glMapBuffer(arg0,arg1); String txt = new String("glMapBuffer(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ")"); checkGLGetError( txt ); return _res; } public boolean hasFullFBOSupport() { return downstreamGLES1.hasFullFBOSupport(); } public void glTexGeniv(int arg0,int arg1,int[] arg2,int arg3) { checkContext(); downstreamGLES1.glTexGeniv(arg0,arg1,arg2,arg3); String txt = new String("glTexGeniv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + "<[I>" + ", " + " 0x"+Integer.toHexString(arg3).toUpperCase() + ")"); checkGLGetError( txt ); } public void glNormalPointer(javax.media.opengl.GLArrayData arg0) { checkContext(); downstreamGLES1.glNormalPointer(arg0); String txt = new String("glNormalPointer(" + " "+arg0 + ")"); checkGLGetError( txt ); } public void glDeleteRenderbuffers(int arg0,int[] arg1,int arg2) { checkContext(); downstreamGLES1.glDeleteRenderbuffers(arg0,arg1,arg2); String txt = new String("glDeleteRenderbuffers(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + "<[I>" + ", " + " 0x"+Integer.toHexString(arg2).toUpperCase() + ")"); checkGLGetError( txt ); } public void glNormalPointer(int arg0,int arg1,java.nio.Buffer arg2) { checkContext(); downstreamGLES1.glNormalPointer(arg0,arg1,arg2); String txt = new String("glNormalPointer(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " "+arg2 + ")"); checkGLGetError( txt ); } public void glCopyTexImage2D(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5,int arg6,int arg7) { checkContext(); downstreamGLES1.glCopyTexImage2D(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7); String txt = new String("glCopyTexImage2D(" + " 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() + ")"); checkGLGetError( txt ); } public void glNormal3x(int arg0,int arg1,int arg2) { checkContext(); downstreamGLES1.glNormal3x(arg0,arg1,arg2); String txt = new String("glNormal3x(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg2).toUpperCase() + ")"); checkGLGetError( txt ); } public void glDrawArrays(int arg0,int arg1,int arg2) { checkContext(); downstreamGLES1.glDrawArrays(arg0,arg1,arg2); String txt = new String("glDrawArrays(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg2).toUpperCase() + ")"); checkGLGetError( txt ); } public void glLightModelfv(int arg0,float[] arg1,int arg2) { checkContext(); downstreamGLES1.glLightModelfv(arg0,arg1,arg2); String txt = new String("glLightModelfv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + "<[F>" + ", " + " 0x"+Integer.toHexString(arg2).toUpperCase() + ")"); checkGLGetError( txt ); } public javax.media.opengl.GL getRootGL() { return downstreamGLES1.getRootGL(); } public void glTexGenfv(int arg0,int arg1,java.nio.FloatBuffer arg2) { checkContext(); downstreamGLES1.glTexGenfv(arg0,arg1,arg2); String txt = new String("glTexGenfv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " "+arg2 + ")"); checkGLGetError( txt ); } public void glDeleteBuffers(int arg0,java.nio.IntBuffer arg1) { checkContext(); downstreamGLES1.glDeleteBuffers(arg0,arg1); String txt = new String("glDeleteBuffers(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " "+arg1 + ")"); checkGLGetError( txt ); } public void glGetTexParameterfv(int arg0,int arg1,float[] arg2,int arg3) { checkContext(); downstreamGLES1.glGetTexParameterfv(arg0,arg1,arg2,arg3); String txt = new String("glGetTexParameterfv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + "<[F>" + ", " + " 0x"+Integer.toHexString(arg3).toUpperCase() + ")"); checkGLGetError( txt ); } public void glExtGetRenderbuffersQCOM(java.nio.IntBuffer arg0,int arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES1.glExtGetRenderbuffersQCOM(arg0,arg1,arg2); String txt = new String("glExtGetRenderbuffersQCOM(" + " "+arg0 + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " "+arg2 + ")"); checkGLGetError( txt ); } public void glExtGetRenderbuffersQCOM(int[] arg0,int arg1,int arg2,int[] arg3,int arg4) { checkContext(); downstreamGLES1.glExtGetRenderbuffersQCOM(arg0,arg1,arg2,arg3,arg4); String txt = new String("glExtGetRenderbuffersQCOM(" + "<[I>" + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg2).toUpperCase() + ", " + "<[I>" + ", " + " 0x"+Integer.toHexString(arg4).toUpperCase() + ")"); checkGLGetError( txt ); } public void glExtGetProgramBinarySourceQCOM(int arg0,int arg1,byte[] arg2,int arg3,int[] arg4,int arg5) { checkContext(); downstreamGLES1.glExtGetProgramBinarySourceQCOM(arg0,arg1,arg2,arg3,arg4,arg5); String txt = new String("glExtGetProgramBinarySourceQCOM(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + "<[B>" + ", " + " 0x"+Integer.toHexString(arg3).toUpperCase() + ", " + "<[I>" + ", " + " 0x"+Integer.toHexString(arg5).toUpperCase() + ")"); checkGLGetError( txt ); } public void glDiscardFramebufferEXT(int arg0,int arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES1.glDiscardFramebufferEXT(arg0,arg1,arg2); String txt = new String("glDiscardFramebufferEXT(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " "+arg2 + ")"); checkGLGetError( txt ); } public void glPointParameterfv(int arg0,float[] arg1,int arg2) { checkContext(); downstreamGLES1.glPointParameterfv(arg0,arg1,arg2); String txt = new String("glPointParameterfv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + "<[F>" + ", " + " 0x"+Integer.toHexString(arg2).toUpperCase() + ")"); checkGLGetError( txt ); } public void glStencilMask(int arg0) { checkContext(); downstreamGLES1.glStencilMask(arg0); String txt = new String("glStencilMask(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ")"); checkGLGetError( txt ); } public boolean glIsFenceNV(int arg0) { checkContext(); boolean _res = downstreamGLES1.glIsFenceNV(arg0); String txt = new String("glIsFenceNV(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ")"); checkGLGetError( txt ); return _res; } public void glDepthRange(double arg0,double arg1) { checkContext(); downstreamGLES1.glDepthRange(arg0,arg1); String txt = new String("glDepthRange(" + " "+arg0 + ", " + " "+arg1 + ")"); checkGLGetError( txt ); } public void glGenFencesNV(int arg0,java.nio.IntBuffer arg1) { checkContext(); downstreamGLES1.glGenFencesNV(arg0,arg1); String txt = new String("glGenFencesNV(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " "+arg1 + ")"); checkGLGetError( txt ); } public int glGetBoundBuffer(int arg0) { checkContext(); int _res = downstreamGLES1.glGetBoundBuffer(arg0); String txt = new String("glGetBoundBuffer(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ")"); checkGLGetError( txt ); return _res; } public void glMultMatrixf(java.nio.FloatBuffer arg0) { checkContext(); downstreamGLES1.glMultMatrixf(arg0); String txt = new String("glMultMatrixf(" + " "+arg0 + ")"); checkGLGetError( txt ); } public void glDrawTexsOES(short arg0,short arg1,short arg2,short arg3,short arg4) { checkContext(); downstreamGLES1.glDrawTexsOES(arg0,arg1,arg2,arg3,arg4); String txt = new String("glDrawTexsOES(" + " "+arg0 + ", " + " "+arg1 + ", " + " "+arg2 + ", " + " "+arg3 + ", " + " "+arg4 + ")"); checkGLGetError( txt ); } public int getBoundFramebuffer(int arg0) { return downstreamGLES1.getBoundFramebuffer(arg0); } public void glDisableClientState(int arg0) { checkContext(); downstreamGLES1.glDisableClientState(arg0); String txt = new String("glDisableClientState(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ")"); checkGLGetError( txt ); } public void glBufferData(int arg0,long arg1,java.nio.Buffer arg2,int arg3) { checkContext(); downstreamGLES1.glBufferData(arg0,arg1,arg2,arg3); String txt = new String("glBufferData(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " "+arg1 + ", " + " "+arg2 + ", " + " 0x"+Integer.toHexString(arg3).toUpperCase() + ")"); checkGLGetError( txt ); } public void glVertexPointer(javax.media.opengl.GLArrayData arg0) { checkContext(); downstreamGLES1.glVertexPointer(arg0); String txt = new String("glVertexPointer(" + " "+arg0 + ")"); checkGLGetError( txt ); } public void glGetTexParameteriv(int arg0,int arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES1.glGetTexParameteriv(arg0,arg1,arg2); String txt = new String("glGetTexParameteriv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " "+arg2 + ")"); checkGLGetError( txt ); } public void glColor4x(int arg0,int arg1,int arg2,int arg3) { checkContext(); downstreamGLES1.glColor4x(arg0,arg1,arg2,arg3); String txt = new String("glColor4x(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg2).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg3).toUpperCase() + ")"); checkGLGetError( txt ); } public void glMaterialfv(int arg0,int arg1,float[] arg2,int arg3) { checkContext(); downstreamGLES1.glMaterialfv(arg0,arg1,arg2,arg3); String txt = new String("glMaterialfv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + "<[F>" + ", " + " 0x"+Integer.toHexString(arg3).toUpperCase() + ")"); checkGLGetError( txt ); } public void glBindFramebuffer(int arg0,int arg1) { checkContext(); downstreamGLES1.glBindFramebuffer(arg0,arg1); String txt = new String("glBindFramebuffer(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ")"); checkGLGetError( txt ); } public void glClear(int arg0) { checkContext(); downstreamGLES1.glClear(arg0); String txt = new String("glClear(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ")"); checkGLGetError( txt ); } public void glDrawElements(int arg0,int arg1,int arg2,long arg3) { checkContext(); downstreamGLES1.glDrawElements(arg0,arg1,arg2,arg3); String txt = new String("glDrawElements(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg2).toUpperCase() + ", " + " "+arg3 + ")"); checkGLGetError( txt ); } public void glClipPlanex(int arg0,java.nio.IntBuffer arg1) { checkContext(); downstreamGLES1.glClipPlanex(arg0,arg1); String txt = new String("glClipPlanex(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " "+arg1 + ")"); checkGLGetError( txt ); } public void glDrawTexfvOES(java.nio.FloatBuffer arg0) { checkContext(); downstreamGLES1.glDrawTexfvOES(arg0); String txt = new String("glDrawTexfvOES(" + " "+arg0 + ")"); checkGLGetError( txt ); } public void glBlendFunc(int arg0,int arg1) { checkContext(); downstreamGLES1.glBlendFunc(arg0,arg1); String txt = new String("glBlendFunc(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ")"); checkGLGetError( txt ); } public void glTexImage2D(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5,int arg6,int arg7,java.nio.Buffer arg8) { checkContext(); downstreamGLES1.glTexImage2D(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8); String txt = new String("glTexImage2D(" + " 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 glTexGenf(int arg0,int arg1,float arg2) { checkContext(); downstreamGLES1.glTexGenf(arg0,arg1,arg2); String txt = new String("glTexGenf(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " "+arg2 + ")"); checkGLGetError( txt ); } public void glClipPlanefIMG(int arg0,java.nio.FloatBuffer arg1) { checkContext(); downstreamGLES1.glClipPlanefIMG(arg0,arg1); String txt = new String("glClipPlanefIMG(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " "+arg1 + ")"); checkGLGetError( txt ); } public void glFogfv(int arg0,float[] arg1,int arg2) { checkContext(); downstreamGLES1.glFogfv(arg0,arg1,arg2); String txt = new String("glFogfv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + "<[F>" + ", " + " 0x"+Integer.toHexString(arg2).toUpperCase() + ")"); checkGLGetError( txt ); } public void glGetnUniformiv(int arg0,int arg1,int arg2,java.nio.IntBuffer arg3) { checkContext(); downstreamGLES1.glGetnUniformiv(arg0,arg1,arg2,arg3); String txt = new String("glGetnUniformiv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg2).toUpperCase() + ", " + " "+arg3 + ")"); checkGLGetError( txt ); } public boolean glIsRenderbuffer(int arg0) { checkContext(); boolean _res = downstreamGLES1.glIsRenderbuffer(arg0); String txt = new String("glIsRenderbuffer(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ")"); checkGLGetError( txt ); return _res; } public void glBlendFuncSeparate(int arg0,int arg1,int arg2,int arg3) { checkContext(); downstreamGLES1.glBlendFuncSeparate(arg0,arg1,arg2,arg3); String txt = new String("glBlendFuncSeparate(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg2).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg3).toUpperCase() + ")"); checkGLGetError( txt ); } public void glDepthMask(boolean arg0) { checkContext(); downstreamGLES1.glDepthMask(arg0); String txt = new String("glDepthMask(" + " "+arg0 + ")"); checkGLGetError( txt ); } public void glDepthFunc(int arg0) { checkContext(); downstreamGLES1.glDepthFunc(arg0); String txt = new String("glDepthFunc(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ")"); checkGLGetError( txt ); } public void glClipPlanef(int arg0,float[] arg1,int arg2) { checkContext(); downstreamGLES1.glClipPlanef(arg0,arg1,arg2); String txt = new String("glClipPlanef(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + "<[F>" + ", " + " 0x"+Integer.toHexString(arg2).toUpperCase() + ")"); checkGLGetError( txt ); } public void glGetLightxv(int arg0,int arg1,int[] arg2,int arg3) { checkContext(); downstreamGLES1.glGetLightxv(arg0,arg1,arg2,arg3); String txt = new String("glGetLightxv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + "<[I>" + ", " + " 0x"+Integer.toHexString(arg3).toUpperCase() + ")"); checkGLGetError( txt ); } public void glScalex(int arg0,int arg1,int arg2) { checkContext(); downstreamGLES1.glScalex(arg0,arg1,arg2); String txt = new String("glScalex(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg2).toUpperCase() + ")"); checkGLGetError( txt ); } public void glBindBuffer(int arg0,int arg1) { checkContext(); downstreamGLES1.glBindBuffer(arg0,arg1); String txt = new String("glBindBuffer(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ")"); checkGLGetError( txt ); } public void glTexSubImage2D(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5,int arg6,int arg7,long 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 glExtGetTexSubImageQCOM(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5,int arg6,int arg7,int arg8,int arg9,java.nio.Buffer arg10) { checkContext(); downstreamGLES1.glExtGetTexSubImageQCOM(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10); String txt = new String("glExtGetTexSubImageQCOM(" + " 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() + ", " + " 0x"+Integer.toHexString(arg8).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg9).toUpperCase() + ", " + " "+arg10 + ")"); checkGLGetError( txt ); } public void glGetRenderbufferParameteriv(int arg0,int arg1,int[] arg2,int arg3) { checkContext(); downstreamGLES1.glGetRenderbufferParameteriv(arg0,arg1,arg2,arg3); String txt = new String("glGetRenderbufferParameteriv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + "<[I>" + ", " + " 0x"+Integer.toHexString(arg3).toUpperCase() + ")"); checkGLGetError( txt ); } public void glDrawTexsvOES(short[] arg0,int arg1) { checkContext(); downstreamGLES1.glDrawTexsvOES(arg0,arg1); String txt = new String("glDrawTexsvOES(" + "<[S>" + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ")"); checkGLGetError( txt ); } public java.lang.Object getPlatformGLExtensions() { return downstreamGLES1.getPlatformGLExtensions(); } public boolean glIsBuffer(int arg0) { checkContext(); boolean _res = downstreamGLES1.glIsBuffer(arg0); String txt = new String("glIsBuffer(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ")"); checkGLGetError( txt ); return _res; } public void glBlendEquationSeparate(int arg0,int arg1) { checkContext(); downstreamGLES1.glBlendEquationSeparate(arg0,arg1); String txt = new String("glBlendEquationSeparate(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ")"); checkGLGetError( txt ); } public void glRenderbufferStorageMultisampleAPPLE(int arg0,int arg1,int arg2,int arg3,int arg4) { checkContext(); downstreamGLES1.glRenderbufferStorageMultisampleAPPLE(arg0,arg1,arg2,arg3,arg4); String txt = new String("glRenderbufferStorageMultisampleAPPLE(" + " 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 glGetBooleanv(int arg0,byte[] arg1,int arg2) { checkContext(); downstreamGLES1.glGetBooleanv(arg0,arg1,arg2); String txt = new String("glGetBooleanv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + "<[B>" + ", " + " 0x"+Integer.toHexString(arg2).toUpperCase() + ")"); checkGLGetError( txt ); } public void glGenRenderbuffers(int arg0,java.nio.IntBuffer arg1) { checkContext(); downstreamGLES1.glGenRenderbuffers(arg0,arg1); String txt = new String("glGenRenderbuffers(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " "+arg1 + ")"); checkGLGetError( txt ); } public void glTranslatef(float arg0,float arg1,float arg2) { checkContext(); downstreamGLES1.glTranslatef(arg0,arg1,arg2); String txt = new String("glTranslatef(" + " "+arg0 + ", " + " "+arg1 + ", " + " "+arg2 + ")"); checkGLGetError( txt ); } public void glTexParameterf(int arg0,int arg1,float arg2) { checkContext(); downstreamGLES1.glTexParameterf(arg0,arg1,arg2); String txt = new String("glTexParameterf(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " "+arg2 + ")"); checkGLGetError( txt ); } public void glDrawTexivOES(int[] arg0,int arg1) { checkContext(); downstreamGLES1.glDrawTexivOES(arg0,arg1); String txt = new String("glDrawTexivOES(" + "<[I>" + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ")"); checkGLGetError( txt ); } public void glMultiTexCoord4f(int arg0,float arg1,float arg2,float arg3,float arg4) { checkContext(); downstreamGLES1.glMultiTexCoord4f(arg0,arg1,arg2,arg3,arg4); String txt = new String("glMultiTexCoord4f(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " "+arg1 + ", " + " "+arg2 + ", " + " "+arg3 + ", " + " "+arg4 + ")"); checkGLGetError( txt ); } public void glGetFenceivNV(int arg0,int arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES1.glGetFenceivNV(arg0,arg1,arg2); String txt = new String("glGetFenceivNV(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " "+arg2 + ")"); checkGLGetError( txt ); } public void glLightxv(int arg0,int arg1,int[] arg2,int arg3) { checkContext(); downstreamGLES1.glLightxv(arg0,arg1,arg2,arg3); String txt = new String("glLightxv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + "<[I>" + ", " + " 0x"+Integer.toHexString(arg3).toUpperCase() + ")"); checkGLGetError( txt ); } public void glGetTexEnviv(int arg0,int arg1,int[] arg2,int arg3) { checkContext(); downstreamGLES1.glGetTexEnviv(arg0,arg1,arg2,arg3); String txt = new String("glGetTexEnviv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + "<[I>" + ", " + " 0x"+Integer.toHexString(arg3).toUpperCase() + ")"); checkGLGetError( txt ); } public void glLightModelx(int arg0,int arg1) { checkContext(); downstreamGLES1.glLightModelx(arg0,arg1); String txt = new String("glLightModelx(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ")"); checkGLGetError( txt ); } public void glFramebufferTexture2DMultisampleEXT(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5) { checkContext(); downstreamGLES1.glFramebufferTexture2DMultisampleEXT(arg0,arg1,arg2,arg3,arg4,arg5); String txt = new String("glFramebufferTexture2DMultisampleEXT(" + " 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 glGenBuffers(int arg0,java.nio.IntBuffer arg1) { checkContext(); downstreamGLES1.glGenBuffers(arg0,arg1); String txt = new String("glGenBuffers(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " "+arg1 + ")"); checkGLGetError( txt ); } public void glFramebufferTexture2DMultisampleIMG(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5) { checkContext(); downstreamGLES1.glFramebufferTexture2DMultisampleIMG(arg0,arg1,arg2,arg3,arg4,arg5); String txt = new String("glFramebufferTexture2DMultisampleIMG(" + " 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 glTexEnvxv(int arg0,int arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES1.glTexEnvxv(arg0,arg1,arg2); String txt = new String("glTexEnvxv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " "+arg2 + ")"); checkGLGetError( txt ); } public int getDefaultReadFramebuffer() { return downstreamGLES1.getDefaultReadFramebuffer(); } public void glFlush() { checkContext(); downstreamGLES1.glFlush(); String txt = new String("glFlush(" + ")"); checkGLGetError( txt ); } public void glGetDriverControlStringQCOM(int arg0,int arg1,int[] arg2,int arg3,byte[] arg4,int arg5) { checkContext(); downstreamGLES1.glGetDriverControlStringQCOM(arg0,arg1,arg2,arg3,arg4,arg5); String txt = new String("glGetDriverControlStringQCOM(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + "<[I>" + ", " + " 0x"+Integer.toHexString(arg3).toUpperCase() + ", " + "<[B>" + ", " + " 0x"+Integer.toHexString(arg5).toUpperCase() + ")"); checkGLGetError( txt ); } public void glDrawTexfOES(float arg0,float arg1,float arg2,float arg3,float arg4) { checkContext(); downstreamGLES1.glDrawTexfOES(arg0,arg1,arg2,arg3,arg4); String txt = new String("glDrawTexfOES(" + " "+arg0 + ", " + " "+arg1 + ", " + " "+arg2 + ", " + " "+arg3 + ", " + " "+arg4 + ")"); checkGLGetError( txt ); } public void glClipPlanexIMG(int arg0,java.nio.IntBuffer arg1) { checkContext(); downstreamGLES1.glClipPlanexIMG(arg0,arg1); String txt = new String("glClipPlanexIMG(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " "+arg1 + ")"); checkGLGetError( txt ); } public void glExtGetProgramsQCOM(int[] arg0,int arg1,int arg2,int[] arg3,int arg4) { checkContext(); downstreamGLES1.glExtGetProgramsQCOM(arg0,arg1,arg2,arg3,arg4); String txt = new String("glExtGetProgramsQCOM(" + "<[I>" + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg2).toUpperCase() + ", " + "<[I>" + ", " + " 0x"+Integer.toHexString(arg4).toUpperCase() + ")"); checkGLGetError( txt ); } public void glExtGetProgramsQCOM(java.nio.IntBuffer arg0,int arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES1.glExtGetProgramsQCOM(arg0,arg1,arg2); String txt = new String("glExtGetProgramsQCOM(" + " "+arg0 + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " "+arg2 + ")"); checkGLGetError( txt ); } public void glGetIntegerv(int arg0,java.nio.IntBuffer arg1) { checkContext(); downstreamGLES1.glGetIntegerv(arg0,arg1); String txt = new String("glGetIntegerv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " "+arg1 + ")"); checkGLGetError( txt ); } public void glMultMatrixx(int[] arg0,int arg1) { checkContext(); downstreamGLES1.glMultMatrixx(arg0,arg1); String txt = new String("glMultMatrixx(" + "<[I>" + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ")"); checkGLGetError( txt ); } public void glColorPointer(int arg0,int arg1,int arg2,java.nio.Buffer 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 glStencilFunc(int arg0,int arg1,int arg2) { checkContext(); downstreamGLES1.glStencilFunc(arg0,arg1,arg2); String txt = new String("glStencilFunc(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg2).toUpperCase() + ")"); checkGLGetError( txt ); } public void glDeleteTextures(int arg0,java.nio.IntBuffer arg1) { checkContext(); downstreamGLES1.glDeleteTextures(arg0,arg1); String txt = new String("glDeleteTextures(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " "+arg1 + ")"); checkGLGetError( txt ); } public boolean glIsVBOElementArrayEnabled() { checkContext(); boolean _res = downstreamGLES1.glIsVBOElementArrayEnabled(); String txt = new String("glIsVBOElementArrayEnabled(" + ")"); checkGLGetError( txt ); return _res; } public void glGenFramebuffers(int arg0,java.nio.IntBuffer arg1) { checkContext(); downstreamGLES1.glGenFramebuffers(arg0,arg1); String txt = new String("glGenFramebuffers(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " "+arg1 + ")"); checkGLGetError( txt ); } public void glLoadPaletteFromModelViewMatrixOES() { checkContext(); downstreamGLES1.glLoadPaletteFromModelViewMatrixOES(); String txt = new String("glLoadPaletteFromModelViewMatrixOES(" + ")"); checkGLGetError( txt ); } public void glFogxv(int arg0,java.nio.IntBuffer arg1) { checkContext(); downstreamGLES1.glFogxv(arg0,arg1); String txt = new String("glFogxv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " "+arg1 + ")"); checkGLGetError( txt ); } public void glDisableDriverControlQCOM(int arg0) { checkContext(); downstreamGLES1.glDisableDriverControlQCOM(arg0); String txt = new String("glDisableDriverControlQCOM(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ")"); checkGLGetError( txt ); } public boolean glIsVertexArrayOES(int arg0) { checkContext(); boolean _res = downstreamGLES1.glIsVertexArrayOES(arg0); String txt = new String("glIsVertexArrayOES(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ")"); checkGLGetError( txt ); return _res; } public void glResolveMultisampleFramebufferAPPLE() { checkContext(); downstreamGLES1.glResolveMultisampleFramebufferAPPLE(); String txt = new String("glResolveMultisampleFramebufferAPPLE(" + ")"); checkGLGetError( txt ); } public void glGetMaterialxv(int arg0,int arg1,int[] arg2,int arg3) { checkContext(); downstreamGLES1.glGetMaterialxv(arg0,arg1,arg2,arg3); String txt = new String("glGetMaterialxv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + "<[I>" + ", " + " 0x"+Integer.toHexString(arg3).toUpperCase() + ")"); checkGLGetError( txt ); } public void glEnableDriverControlQCOM(int arg0) { checkContext(); downstreamGLES1.glEnableDriverControlQCOM(arg0); String txt = new String("glEnableDriverControlQCOM(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ")"); checkGLGetError( txt ); } public int glCheckFramebufferStatus(int arg0) { checkContext(); int _res = downstreamGLES1.glCheckFramebufferStatus(arg0); String txt = new String("glCheckFramebufferStatus(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ")"); checkGLGetError( txt ); return _res; } public void glDeleteFencesNV(int arg0,java.nio.IntBuffer arg1) { checkContext(); downstreamGLES1.glDeleteFencesNV(arg0,arg1); String txt = new String("glDeleteFencesNV(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " "+arg1 + ")"); checkGLGetError( txt ); } public void glLightModelxv(int arg0,java.nio.IntBuffer arg1) { checkContext(); downstreamGLES1.glLightModelxv(arg0,arg1); String txt = new String("glLightModelxv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " "+arg1 + ")"); checkGLGetError( txt ); } public void glDeleteVertexArraysOES(int arg0,java.nio.IntBuffer arg1) { checkContext(); downstreamGLES1.glDeleteVertexArraysOES(arg0,arg1); String txt = new String("glDeleteVertexArraysOES(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " "+arg1 + ")"); checkGLGetError( txt ); } public void glAlphaFuncx(int arg0,int arg1) { checkContext(); downstreamGLES1.glAlphaFuncx(arg0,arg1); String txt = new String("glAlphaFuncx(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ")"); checkGLGetError( txt ); } public void glTexParameterfv(int arg0,int arg1,float[] arg2,int arg3) { checkContext(); downstreamGLES1.glTexParameterfv(arg0,arg1,arg2,arg3); String txt = new String("glTexParameterfv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + "<[F>" + ", " + " 0x"+Integer.toHexString(arg3).toUpperCase() + ")"); checkGLGetError( txt ); } public void glDrawTexxvOES(java.nio.IntBuffer arg0) { checkContext(); downstreamGLES1.glDrawTexxvOES(arg0); String txt = new String("glDrawTexxvOES(" + " "+arg0 + ")"); checkGLGetError( txt ); } public void glLoadMatrixx(int[] arg0,int arg1) { checkContext(); downstreamGLES1.glLoadMatrixx(arg0,arg1); String txt = new String("glLoadMatrixx(" + "<[I>" + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ")"); checkGLGetError( txt ); } public void glShadeModel(int arg0) { checkContext(); downstreamGLES1.glShadeModel(arg0); String txt = new String("glShadeModel(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ")"); checkGLGetError( txt ); } public void glLoadIdentity() { checkContext(); downstreamGLES1.glLoadIdentity(); String txt = new String("glLoadIdentity(" + ")"); checkGLGetError( txt ); } public void glGetnUniformfv(int arg0,int arg1,int arg2,float[] arg3,int arg4) { checkContext(); downstreamGLES1.glGetnUniformfv(arg0,arg1,arg2,arg3,arg4); String txt = new String("glGetnUniformfv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg2).toUpperCase() + ", " + "<[F>" + ", " + " 0x"+Integer.toHexString(arg4).toUpperCase() + ")"); checkGLGetError( txt ); } public int getMaxRenderbufferSamples() { return downstreamGLES1.getMaxRenderbufferSamples(); } public void glGetClipPlanef(int arg0,java.nio.FloatBuffer arg1) { checkContext(); downstreamGLES1.glGetClipPlanef(arg0,arg1); String txt = new String("glGetClipPlanef(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " "+arg1 + ")"); checkGLGetError( txt ); } public void glGenTextures(int arg0,java.nio.IntBuffer arg1) { checkContext(); downstreamGLES1.glGenTextures(arg0,arg1); String txt = new String("glGenTextures(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " "+arg1 + ")"); checkGLGetError( txt ); } public void glExtGetTexLevelParameterivQCOM(int arg0,int arg1,int arg2,int arg3,int[] arg4,int arg5) { checkContext(); downstreamGLES1.glExtGetTexLevelParameterivQCOM(arg0,arg1,arg2,arg3,arg4,arg5); 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() + ", " + "<[I>" + ", " + " 0x"+Integer.toHexString(arg5).toUpperCase() + ")"); checkGLGetError( txt ); } public void glExtTexObjectStateOverrideiQCOM(int arg0,int arg1,int arg2) { checkContext(); downstreamGLES1.glExtTexObjectStateOverrideiQCOM(arg0,arg1,arg2); String txt = new String("glExtTexObjectStateOverrideiQCOM(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg2).toUpperCase() + ")"); checkGLGetError( txt ); } public void glGetTexGeniv(int arg0,int arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES1.glGetTexGeniv(arg0,arg1,arg2); String txt = new String("glGetTexGeniv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " "+arg2 + ")"); checkGLGetError( txt ); } public void glGenVertexArraysOES(int arg0,java.nio.IntBuffer arg1) { checkContext(); downstreamGLES1.glGenVertexArraysOES(arg0,arg1); String txt = new String("glGenVertexArraysOES(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " "+arg1 + ")"); checkGLGetError( txt ); } public void glPointParameterxv(int arg0,java.nio.IntBuffer arg1) { checkContext(); downstreamGLES1.glPointParameterxv(arg0,arg1); String txt = new String("glPointParameterxv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " "+arg1 + ")"); checkGLGetError( txt ); } public void glGetTexParameterxv(int arg0,int arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES1.glGetTexParameterxv(arg0,arg1,arg2); String txt = new String("glGetTexParameterxv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " "+arg2 + ")"); checkGLGetError( txt ); } public void glMatrixIndexPointer(int arg0,int arg1,int arg2,java.nio.Buffer arg3) { checkContext(); downstreamGLES1.glMatrixIndexPointer(arg0,arg1,arg2,arg3); String txt = new String("glMatrixIndexPointer(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg2).toUpperCase() + ", " + " "+arg3 + ")"); checkGLGetError( txt ); } public void glColorPointer(javax.media.opengl.GLArrayData arg0) { checkContext(); downstreamGLES1.glColorPointer(arg0); String txt = new String("glColorPointer(" + " "+arg0 + ")"); checkGLGetError( txt ); } public boolean isFunctionAvailable(java.lang.String arg0) { return downstreamGLES1.isFunctionAvailable(arg0); } public void glLightx(int arg0,int arg1,int arg2) { checkContext(); downstreamGLES1.glLightx(arg0,arg1,arg2); String txt = new String("glLightx(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg2).toUpperCase() + ")"); checkGLGetError( txt ); } public void glMaterialxv(int arg0,int arg1,int[] arg2,int arg3) { checkContext(); downstreamGLES1.glMaterialxv(arg0,arg1,arg2,arg3); String txt = new String("glMaterialxv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + "<[I>" + ", " + " 0x"+Integer.toHexString(arg3).toUpperCase() + ")"); checkGLGetError( txt ); } public void glTexParameteriv(int arg0,int arg1,int[] arg2,int arg3) { checkContext(); downstreamGLES1.glTexParameteriv(arg0,arg1,arg2,arg3); String txt = new String("glTexParameteriv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + "<[I>" + ", " + " 0x"+Integer.toHexString(arg3).toUpperCase() + ")"); checkGLGetError( txt ); } public void glLogicOp(int arg0) { checkContext(); downstreamGLES1.glLogicOp(arg0); String txt = new String("glLogicOp(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ")"); checkGLGetError( txt ); } public java.lang.String glGetString(int arg0) { checkContext(); java.lang.String _res = downstreamGLES1.glGetString(arg0); String txt = new String("glGetString(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ")"); checkGLGetError( txt ); return _res; } public void glCompressedTexSubImage2D(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5,int arg6,int arg7,java.nio.Buffer 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 glMultiTexCoord4x(int arg0,int arg1,int arg2,int arg3,int arg4) { checkContext(); downstreamGLES1.glMultiTexCoord4x(arg0,arg1,arg2,arg3,arg4); String txt = new String("glMultiTexCoord4x(" + " 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 glOrthox(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5) { checkContext(); downstreamGLES1.glOrthox(arg0,arg1,arg2,arg3,arg4,arg5); String txt = new String("glOrthox(" + " 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 glFramebufferRenderbuffer(int arg0,int arg1,int arg2,int arg3) { checkContext(); downstreamGLES1.glFramebufferRenderbuffer(arg0,arg1,arg2,arg3); String txt = new String("glFramebufferRenderbuffer(" + " 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,java.nio.Buffer 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 void glFrontFace(int arg0) { checkContext(); downstreamGLES1.glFrontFace(arg0); String txt = new String("glFrontFace(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ")"); checkGLGetError( txt ); } public void glGetDriverControlStringQCOM(int arg0,int arg1,java.nio.IntBuffer arg2,java.nio.ByteBuffer arg3) { checkContext(); downstreamGLES1.glGetDriverControlStringQCOM(arg0,arg1,arg2,arg3); String txt = new String("glGetDriverControlStringQCOM(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " "+arg2 + ", " + " "+arg3 + ")"); checkGLGetError( txt ); } public boolean hasGLSL() { return downstreamGLES1.hasGLSL(); } public int getSwapInterval() { return downstreamGLES1.getSwapInterval(); } public void glGetDriverControlsQCOM(java.nio.IntBuffer arg0,int arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES1.glGetDriverControlsQCOM(arg0,arg1,arg2); String txt = new String("glGetDriverControlsQCOM(" + " "+arg0 + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " "+arg2 + ")"); checkGLGetError( txt ); } public void glGetDriverControlsQCOM(int[] arg0,int arg1,int arg2,int[] arg3,int arg4) { checkContext(); downstreamGLES1.glGetDriverControlsQCOM(arg0,arg1,arg2,arg3,arg4); String txt = new String("glGetDriverControlsQCOM(" + "<[I>" + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg2).toUpperCase() + ", " + "<[I>" + ", " + " 0x"+Integer.toHexString(arg4).toUpperCase() + ")"); checkGLGetError( txt ); } public void glTexParameterxv(int arg0,int arg1,int[] arg2,int arg3) { checkContext(); downstreamGLES1.glTexParameterxv(arg0,arg1,arg2,arg3); String txt = new String("glTexParameterxv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + "<[I>" + ", " + " 0x"+Integer.toHexString(arg3).toUpperCase() + ")"); checkGLGetError( txt ); } public void glTexEnviv(int arg0,int arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES1.glTexEnviv(arg0,arg1,arg2); String txt = new String("glTexEnviv(" + " 0x"+Integer.toHexString(arg0).toUpperCase() + ", " + " 0x"+Integer.toHexString(arg1).toUpperCase() + ", " + " "+arg2 + ")"); checkGLGetError( txt ); } public String toString() { StringBuilder sb = new StringBuilder(); sb.append("DebugGLES1 [ implementing javax.media.opengl.GLES1,\n\t"); sb.append(" downstream: "+downstreamGLES1.toString()+"\n\t]"); return sb.toString(); } private void checkGLGetError(String caller) { // Debug code to make sure the pipeline is working; leave commented out unless testing this class //System.err.println("Checking for GL errors after call to " + caller); int err = downstreamGLES1.glGetError(); if (err == GL_NO_ERROR) { return; } StringBuilder buf = new StringBuilder(Thread.currentThread()+ " glGetError() returned the following error codes after a call to " + caller + ": "); // Loop repeatedly to allow for distributed GL implementations, // as detailed in the glGetError() specification int recursionDepth = 10; do { switch (err) { case GL_INVALID_ENUM: buf.append("GL_INVALID_ENUM "); break; case GL_INVALID_VALUE: buf.append("GL_INVALID_VALUE "); break; case GL_INVALID_OPERATION: buf.append("GL_INVALID_OPERATION "); break; case GL_OUT_OF_MEMORY: buf.append("GL_OUT_OF_MEMORY "); break; case GL_NO_ERROR: throw new InternalError("Should not be treating GL_NO_ERROR as error"); default: buf.append("Unknown glGetError() return value: "); } buf.append("( " + err + " 0x"+Integer.toHexString(err).toUpperCase() + "), "); } while ((--recursionDepth >= 0) && (err = downstreamGLES1.glGetError()) != GL_NO_ERROR); throw new GLException(buf.toString()); } private void checkContext() { GLContext currentContext = GLContext.getCurrent(); if (currentContext == null) { throw new GLException("No OpenGL context is current on this thread"); } if ((_context != null) && (_context != currentContext)) { throw new GLException("This GL object is being incorrectly used with a different GLContext than that which created it"); } } private GLContext _context; private GLES1 downstreamGLES1; } // end class DebugGLES1




© 2015 - 2024 Weber Informatics LLC | Privacy Policy