javax.media.opengl.DebugGL4bc Maven / Gradle / Ivy
package javax.media.opengl;
import java.io.*;
import javax.media.opengl.*;
import com.jogamp.gluegen.runtime.*;
import java.nio.*;
import javax.media.opengl.GL4bc;
import javax.media.opengl.GL3bc;
import javax.media.opengl.GL4;
/**
*
* 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 DebugGL4bc implements javax.media.opengl.GL3bc, javax.media.opengl.GL4, javax.media.opengl.GL4bc{
public static final boolean DEBUG = jogamp.opengl.Debug.debug("DebugGL4bc");
public DebugGL4bc(GL4bc downstreamGL4bc)
{
if (downstreamGL4bc == null) {
throw new IllegalArgumentException("null downstreamGL4bc");
}
this.downstreamGL4bc = downstreamGL4bc;
// Fetch GLContext object for better error checking (if possible)
_context = downstreamGL4bc.getContext();
}
@Override
public final boolean isGL() {
return downstreamGL4bc.isGL();
}
@Override
public final boolean isGL4bc() {
return downstreamGL4bc.isGL4bc();
}
@Override
public final boolean isGL4() {
return downstreamGL4bc.isGL4();
}
@Override
public final boolean isGL3bc() {
return downstreamGL4bc.isGL3bc();
}
@Override
public final boolean isGL3() {
return downstreamGL4bc.isGL3();
}
@Override
public final boolean isGL2() {
return downstreamGL4bc.isGL2();
}
@Override
public final boolean isGLES1() {
return downstreamGL4bc.isGLES1();
}
@Override
public final boolean isGLES2() {
return downstreamGL4bc.isGLES2();
}
@Override
public final boolean isGLES3() {
return downstreamGL4bc.isGLES3();
}
@Override
public final boolean isGL2ES1() {
return downstreamGL4bc.isGL2ES1();
}
@Override
public final boolean isGL2ES2() {
return downstreamGL4bc.isGL2ES2();
}
@Override
public final boolean isGL2ES3() {
return downstreamGL4bc.isGL2ES3();
}
@Override
public final boolean isGL3ES3() {
return downstreamGL4bc.isGL3ES3();
}
@Override
public final boolean isGL4ES3() {
return downstreamGL4bc.isGL4ES3();
}
@Override
public final boolean isGL2GL3() {
return downstreamGL4bc.isGL2GL3();
}
@Override
public final boolean isGLES() {
return downstreamGL4bc.isGLES();
}
@Override
public final boolean isGL4core() {
return downstreamGL4bc.isGL4core();
}
@Override
public final boolean isGL3core() {
return downstreamGL4bc.isGL3core();
}
@Override
public final boolean isGLcore() {
return downstreamGL4bc.isGLcore();
}
@Override
public final boolean isGLES2Compatible() {
return downstreamGL4bc.isGLES2Compatible();
}
@Override
public final boolean isGLES3Compatible() {
return downstreamGL4bc.isGLES3Compatible();
}
@Override
public final javax.media.opengl.GL getGL() {
return downstreamGL4bc.getGL();
}
@Override
public final javax.media.opengl.GL4bc getGL4bc() {
return downstreamGL4bc.getGL4bc();
}
@Override
public final javax.media.opengl.GL4 getGL4() {
return downstreamGL4bc.getGL4();
}
@Override
public final javax.media.opengl.GL3bc getGL3bc() {
return downstreamGL4bc.getGL3bc();
}
@Override
public final javax.media.opengl.GL3 getGL3() {
return downstreamGL4bc.getGL3();
}
@Override
public final javax.media.opengl.GL2 getGL2() {
return downstreamGL4bc.getGL2();
}
@Override
public final javax.media.opengl.GLES1 getGLES1() {
return downstreamGL4bc.getGLES1();
}
@Override
public final javax.media.opengl.GLES2 getGLES2() {
return downstreamGL4bc.getGLES2();
}
@Override
public final javax.media.opengl.GLES3 getGLES3() {
return downstreamGL4bc.getGLES3();
}
@Override
public final javax.media.opengl.GL2ES1 getGL2ES1() {
return downstreamGL4bc.getGL2ES1();
}
@Override
public final javax.media.opengl.GL2ES2 getGL2ES2() {
return downstreamGL4bc.getGL2ES2();
}
@Override
public final javax.media.opengl.GL2ES3 getGL2ES3() {
return downstreamGL4bc.getGL2ES3();
}
@Override
public final javax.media.opengl.GL3ES3 getGL3ES3() {
return downstreamGL4bc.getGL3ES3();
}
@Override
public final javax.media.opengl.GL4ES3 getGL4ES3() {
return downstreamGL4bc.getGL4ES3();
}
@Override
public final javax.media.opengl.GL2GL3 getGL2GL3() {
return downstreamGL4bc.getGL2GL3();
}
@Override
public final GL getDownstreamGL() throws GLException {
return downstreamGL4bc;
}
@Override
public final GLProfile getGLProfile() {
return downstreamGL4bc.getGLProfile();
}
public void glGenFencesNV(int arg0,int[] arg1,int arg2)
{
checkContext();
downstreamGL4bc.glGenFencesNV(arg0,arg1,arg2);
String txt = new String("glGenFencesNV(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glGetVertexAttribIiv(int arg0,int arg1,java.nio.IntBuffer arg2)
{
checkContext();
downstreamGL4bc.glGetVertexAttribIiv(arg0,arg1,arg2);
String txt = new String("glGetVertexAttribIiv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glGetnMinmax(int arg0,boolean arg1,int arg2,int arg3,int arg4,java.nio.Buffer arg5)
{
checkContext();
downstreamGL4bc.glGetnMinmax(arg0,arg1,arg2,arg3,arg4,arg5);
String txt = new String("glGetnMinmax(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg4).toUpperCase() + ", " +
" "+arg5 + ")");
checkGLGetError( txt );
}
public void glVertexAttribI4ubv(int arg0,byte[] arg1,int arg2)
{
checkContext();
downstreamGL4bc.glVertexAttribI4ubv(arg0,arg1,arg2);
String txt = new String("glVertexAttribI4ubv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
"<[B>" + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glVertexArrayVertexAttribIOffsetEXT(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5,long arg6)
{
checkContext();
downstreamGL4bc.glVertexArrayVertexAttribIOffsetEXT(arg0,arg1,arg2,arg3,arg4,arg5,arg6);
String txt = new String("glVertexArrayVertexAttribIOffsetEXT(" +
" 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 glGetMultiTexParameterIivEXT(int arg0,int arg1,int arg2,int[] arg3,int arg4)
{
checkContext();
downstreamGL4bc.glGetMultiTexParameterIivEXT(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glGetMultiTexParameterIivEXT(" +
" 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 glMultiTexCoordP2uiv(int arg0,int arg1,int[] arg2,int arg3)
{
checkContext();
downstreamGL4bc.glMultiTexCoordP2uiv(arg0,arg1,arg2,arg3);
String txt = new String("glMultiTexCoordP2uiv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glGetProgramStringARB(int arg0,int arg1,java.nio.Buffer arg2)
{
checkContext();
downstreamGL4bc.glGetProgramStringARB(arg0,arg1,arg2);
String txt = new String("glGetProgramStringARB(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glMapControlPointsNV(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5,int arg6,boolean arg7,java.nio.Buffer arg8)
{
checkContext();
downstreamGL4bc.glMapControlPointsNV(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
String txt = new String("glMapControlPointsNV(" +
" 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 + ", " +
" "+arg8 + ")");
checkGLGetError( txt );
}
public void glViewportIndexedfv(int arg0,java.nio.FloatBuffer arg1)
{
checkContext();
downstreamGL4bc.glViewportIndexedfv(arg0,arg1);
String txt = new String("glViewportIndexedfv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ")");
checkGLGetError( txt );
}
public void glGetTextureLevelParameterfvEXT(int arg0,int arg1,int arg2,int arg3,float[] arg4,int arg5)
{
checkContext();
downstreamGL4bc.glGetTextureLevelParameterfvEXT(arg0,arg1,arg2,arg3,arg4,arg5);
String txt = new String("glGetTextureLevelParameterfvEXT(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ", " +
"<[F>" + ", " +
" 0x"+Integer.toHexString(arg5).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glVertexAttrib3hv(int arg0,short[] arg1,int arg2)
{
checkContext();
downstreamGL4bc.glVertexAttrib3hv(arg0,arg1,arg2);
String txt = new String("glVertexAttrib3hv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
"<[S>" + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glVariantsvEXT(int arg0,short[] arg1,int arg2)
{
checkContext();
downstreamGL4bc.glVariantsvEXT(arg0,arg1,arg2);
String txt = new String("glVariantsvEXT(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
"<[S>" + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public boolean glIsList(int arg0)
{
checkContext();
boolean _res = downstreamGL4bc.glIsList(arg0);
String txt = new String("glIsList(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ")");
checkGLGetError( txt );
return _res;
}
public void glGetPolygonStipple(byte[] arg0,int arg1)
{
checkContext();
downstreamGL4bc.glGetPolygonStipple(arg0,arg1);
String txt = new String("glGetPolygonStipple(" +
"<[B>" + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glTexGeni(int arg0,int arg1,int arg2)
{
checkContext();
downstreamGL4bc.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 int glBindLightParameterEXT(int arg0,int arg1)
{
checkContext();
int _res = downstreamGL4bc.glBindLightParameterEXT(arg0,arg1);
String txt = new String("glBindLightParameterEXT(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ")");
checkGLGetError( txt );
return _res;
}
public void glVertexAttribL2dv(int arg0,double[] arg1,int arg2)
{
checkContext();
downstreamGL4bc.glVertexAttribL2dv(arg0,arg1,arg2);
String txt = new String("glVertexAttribL2dv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
"<[D>" + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glTextureLightEXT(int arg0)
{
checkContext();
downstreamGL4bc.glTextureLightEXT(arg0);
String txt = new String("glTextureLightEXT(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glGenTransformFeedbacksNV(int arg0,int[] arg1,int arg2)
{
checkContext();
downstreamGL4bc.glGenTransformFeedbacksNV(arg0,arg1,arg2);
String txt = new String("glGenTransformFeedbacksNV(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glVideoCaptureStreamParameterivNV(int arg0,int arg1,int arg2,java.nio.IntBuffer arg3)
{
checkContext();
downstreamGL4bc.glVideoCaptureStreamParameterivNV(arg0,arg1,arg2,arg3);
String txt = new String("glVideoCaptureStreamParameterivNV(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
" "+arg3 + ")");
checkGLGetError( txt );
}
public void glGetnUniformfv(int arg0,int arg1,int arg2,float[] arg3,int arg4)
{
checkContext();
downstreamGL4bc.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 void glGetVertexArrayIntegeri_vEXT(int arg0,int arg1,int arg2,java.nio.IntBuffer arg3)
{
checkContext();
downstreamGL4bc.glGetVertexArrayIntegeri_vEXT(arg0,arg1,arg2,arg3);
String txt = new String("glGetVertexArrayIntegeri_vEXT(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
" "+arg3 + ")");
checkGLGetError( txt );
}
public void glActiveTexture(int arg0)
{
checkContext();
downstreamGL4bc.glActiveTexture(arg0);
String txt = new String("glActiveTexture(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glGetTextureLevelParameterivEXT(int arg0,int arg1,int arg2,int arg3,java.nio.IntBuffer arg4)
{
checkContext();
downstreamGL4bc.glGetTextureLevelParameterivEXT(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glGetTextureLevelParameterivEXT(" +
" 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 glClipPlanef(int arg0,java.nio.FloatBuffer arg1)
{
checkContext();
downstreamGL4bc.glClipPlanef(arg0,arg1);
String txt = new String("glClipPlanef(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ")");
checkGLGetError( txt );
}
public void glVertexAttrib2fv(int arg0,java.nio.FloatBuffer arg1)
{
checkContext();
downstreamGL4bc.glVertexAttrib2fv(arg0,arg1);
String txt = new String("glVertexAttrib2fv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ")");
checkGLGetError( txt );
}
public void glVertexAttribPointerARB(int arg0,int arg1,int arg2,boolean arg3,int arg4,long arg5)
{
checkContext();
downstreamGL4bc.glVertexAttribPointerARB(arg0,arg1,arg2,arg3,arg4,arg5);
String txt = new String("glVertexAttribPointerARB(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
" "+arg3 + ", " +
" 0x"+Integer.toHexString(arg4).toUpperCase() + ", " +
" "+arg5 + ")");
checkGLGetError( txt );
}
public void glGetOcclusionQueryuivNV(int arg0,int arg1,java.nio.IntBuffer arg2)
{
checkContext();
downstreamGL4bc.glGetOcclusionQueryuivNV(arg0,arg1,arg2);
String txt = new String("glGetOcclusionQueryuivNV(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glMatrixIndexuivARB(int arg0,int[] arg1,int arg2)
{
checkContext();
downstreamGL4bc.glMatrixIndexuivARB(arg0,arg1,arg2);
String txt = new String("glMatrixIndexuivARB(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glGetQueryObjecti64v(int arg0,int arg1,long[] arg2,int arg3)
{
checkContext();
downstreamGL4bc.glGetQueryObjecti64v(arg0,arg1,arg2,arg3);
String txt = new String("glGetQueryObjecti64v(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
"<[J>" + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glPixelMapfv(int arg0,int arg1,float[] arg2,int arg3)
{
checkContext();
downstreamGL4bc.glPixelMapfv(arg0,arg1,arg2,arg3);
String txt = new String("glPixelMapfv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
"<[F>" + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glMultMatrixd(double[] arg0,int arg1)
{
checkContext();
downstreamGL4bc.glMultMatrixd(arg0,arg1);
String txt = new String("glMultMatrixd(" +
"<[D>" + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glProgramLocalParameter4fARB(int arg0,int arg1,float arg2,float arg3,float arg4,float arg5)
{
checkContext();
downstreamGL4bc.glProgramLocalParameter4fARB(arg0,arg1,arg2,arg3,arg4,arg5);
String txt = new String("glProgramLocalParameter4fARB(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ", " +
" "+arg3 + ", " +
" "+arg4 + ", " +
" "+arg5 + ")");
checkGLGetError( txt );
}
public void glUniformMatrix4x2dv(int arg0,int arg1,boolean arg2,double[] arg3,int arg4)
{
checkContext();
downstreamGL4bc.glUniformMatrix4x2dv(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glUniformMatrix4x2dv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ", " +
"<[D>" + ", " +
" 0x"+Integer.toHexString(arg4).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glMultiTexParameterIuivEXT(int arg0,int arg1,int arg2,java.nio.IntBuffer arg3)
{
checkContext();
downstreamGL4bc.glMultiTexParameterIuivEXT(arg0,arg1,arg2,arg3);
String txt = new String("glMultiTexParameterIuivEXT(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
" "+arg3 + ")");
checkGLGetError( txt );
}
public void glGetProgramBinary(int arg0,int arg1,java.nio.IntBuffer arg2,java.nio.IntBuffer arg3,java.nio.Buffer arg4)
{
checkContext();
downstreamGL4bc.glGetProgramBinary(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glGetProgramBinary(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ", " +
" "+arg3 + ", " +
" "+arg4 + ")");
checkGLGetError( txt );
}
public void glGetProgramBinary(int arg0,int arg1,int[] arg2,int arg3,int[] arg4,int arg5,java.nio.Buffer arg6)
{
checkContext();
downstreamGL4bc.glGetProgramBinary(arg0,arg1,arg2,arg3,arg4,arg5,arg6);
String txt = new String("glGetProgramBinary(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg5).toUpperCase() + ", " +
" "+arg6 + ")");
checkGLGetError( txt );
}
public void glUniform3fvARB(int arg0,int arg1,float[] arg2,int arg3)
{
checkContext();
downstreamGL4bc.glUniform3fvARB(arg0,arg1,arg2,arg3);
String txt = new String("glUniform3fvARB(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
"<[F>" + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glGenPerfMonitorsAMD(int arg0,int[] arg1,int arg2)
{
checkContext();
downstreamGL4bc.glGenPerfMonitorsAMD(arg0,arg1,arg2);
String txt = new String("glGenPerfMonitorsAMD(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glVertexAttrib4usv(int arg0,java.nio.ShortBuffer arg1)
{
checkContext();
downstreamGL4bc.glVertexAttrib4usv(arg0,arg1);
String txt = new String("glVertexAttrib4usv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ")");
checkGLGetError( txt );
}
public void glNewList(int arg0,int arg1)
{
checkContext();
downstreamGL4bc.glNewList(arg0,arg1);
String txt = new String("glNewList(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glProgramUniformMatrix2x4fv(int arg0,int arg1,int arg2,boolean arg3,float[] arg4,int arg5)
{
checkContext();
downstreamGL4bc.glProgramUniformMatrix2x4fv(arg0,arg1,arg2,arg3,arg4,arg5);
String txt = new String("glProgramUniformMatrix2x4fv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
" "+arg3 + ", " +
"<[F>" + ", " +
" 0x"+Integer.toHexString(arg5).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glTexEnvi(int arg0,int arg1,int arg2)
{
checkContext();
downstreamGL4bc.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 glGetnConvolutionFilter(int arg0,int arg1,int arg2,int arg3,java.nio.Buffer arg4)
{
checkContext();
downstreamGL4bc.glGetnConvolutionFilter(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glGetnConvolutionFilter(" +
" 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 glViewport(int arg0,int arg1,int arg2,int arg3)
{
checkContext();
downstreamGL4bc.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 glIndexiv(java.nio.IntBuffer arg0)
{
checkContext();
downstreamGL4bc.glIndexiv(arg0);
String txt = new String("glIndexiv(" +
" "+arg0 + ")");
checkGLGetError( txt );
}
public void glCompressedTextureImage2DEXT(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5,int arg6,int arg7,java.nio.Buffer arg8)
{
checkContext();
downstreamGL4bc.glCompressedTextureImage2DEXT(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
String txt = new String("glCompressedTextureImage2DEXT(" +
" 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 glDrawElementsBaseVertex(int arg0,int arg1,int arg2,java.nio.Buffer arg3,int arg4)
{
checkContext();
downstreamGL4bc.glDrawElementsBaseVertex(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glDrawElementsBaseVertex(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
" "+arg3 + ", " +
" 0x"+Integer.toHexString(arg4).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glMultiTexCoord4iv(int arg0,java.nio.IntBuffer arg1)
{
checkContext();
downstreamGL4bc.glMultiTexCoord4iv(arg0,arg1);
String txt = new String("glMultiTexCoord4iv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ")");
checkGLGetError( txt );
}
public void glRotatef(float arg0,float arg1,float arg2,float arg3)
{
checkContext();
downstreamGL4bc.glRotatef(arg0,arg1,arg2,arg3);
String txt = new String("glRotatef(" +
" "+arg0 + ", " +
" "+arg1 + ", " +
" "+arg2 + ", " +
" "+arg3 + ")");
checkGLGetError( txt );
}
public void glRotated(double arg0,double arg1,double arg2,double arg3)
{
checkContext();
downstreamGL4bc.glRotated(arg0,arg1,arg2,arg3);
String txt = new String("glRotated(" +
" "+arg0 + ", " +
" "+arg1 + ", " +
" "+arg2 + ", " +
" "+arg3 + ")");
checkGLGetError( txt );
}
public void glVertexAttrib3fARB(int arg0,float arg1,float arg2,float arg3)
{
checkContext();
downstreamGL4bc.glVertexAttrib3fARB(arg0,arg1,arg2,arg3);
String txt = new String("glVertexAttrib3fARB(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ", " +
" "+arg2 + ", " +
" "+arg3 + ")");
checkGLGetError( txt );
}
public void glMultiTexCoordP2ui(int arg0,int arg1,int arg2)
{
checkContext();
downstreamGL4bc.glMultiTexCoordP2ui(arg0,arg1,arg2);
String txt = new String("glMultiTexCoordP2ui(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glUniform3i64vNV(int arg0,int arg1,java.nio.LongBuffer arg2)
{
checkContext();
downstreamGL4bc.glUniform3i64vNV(arg0,arg1,arg2);
String txt = new String("glUniform3i64vNV(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glVertexAttrib4s(int arg0,short arg1,short arg2,short arg3,short arg4)
{
checkContext();
downstreamGL4bc.glVertexAttrib4s(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glVertexAttrib4s(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ", " +
" "+arg2 + ", " +
" "+arg3 + ", " +
" "+arg4 + ")");
checkGLGetError( txt );
}
public void glDepthRangeIndexed(int arg0,double arg1,double arg2)
{
checkContext();
downstreamGL4bc.glDepthRangeIndexed(arg0,arg1,arg2);
String txt = new String("glDepthRangeIndexed(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glVertexAttrib3fvARB(int arg0,java.nio.FloatBuffer arg1)
{
checkContext();
downstreamGL4bc.glVertexAttrib3fvARB(arg0,arg1);
String txt = new String("glVertexAttrib3fvARB(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ")");
checkGLGetError( txt );
}
public void glViewportArrayv(int arg0,int arg1,java.nio.FloatBuffer arg2)
{
checkContext();
downstreamGL4bc.glViewportArrayv(arg0,arg1,arg2);
String txt = new String("glViewportArrayv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glVertexAttrib4d(int arg0,double arg1,double arg2,double arg3,double arg4)
{
checkContext();
downstreamGL4bc.glVertexAttrib4d(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glVertexAttrib4d(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ", " +
" "+arg2 + ", " +
" "+arg3 + ", " +
" "+arg4 + ")");
checkGLGetError( txt );
}
public void glSamplerParameterIuiv(int arg0,int arg1,int[] arg2,int arg3)
{
checkContext();
downstreamGL4bc.glSamplerParameterIuiv(arg0,arg1,arg2,arg3);
String txt = new String("glSamplerParameterIuiv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glVertexAttrib4f(int arg0,float arg1,float arg2,float arg3,float arg4)
{
checkContext();
downstreamGL4bc.glVertexAttrib4f(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glVertexAttrib4f(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ", " +
" "+arg2 + ", " +
" "+arg3 + ", " +
" "+arg4 + ")");
checkGLGetError( txt );
}
public void glVertexArrayFogCoordOffsetEXT(int arg0,int arg1,int arg2,int arg3,long arg4)
{
checkContext();
downstreamGL4bc.glVertexArrayFogCoordOffsetEXT(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glVertexArrayFogCoordOffsetEXT(" +
" 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 glVertexAttrib4h(int arg0,short arg1,short arg2,short arg3,short arg4)
{
checkContext();
downstreamGL4bc.glVertexAttrib4h(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glVertexAttrib4h(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ", " +
" "+arg2 + ", " +
" "+arg3 + ", " +
" "+arg4 + ")");
checkGLGetError( txt );
}
public void glGetVertexArrayIntegervEXT(int arg0,int arg1,java.nio.IntBuffer arg2)
{
checkContext();
downstreamGL4bc.glGetVertexArrayIntegervEXT(arg0,arg1,arg2);
String txt = new String("glGetVertexArrayIntegervEXT(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glMultiTexCoordP3uiv(int arg0,int arg1,int[] arg2,int arg3)
{
checkContext();
downstreamGL4bc.glMultiTexCoordP3uiv(arg0,arg1,arg2,arg3);
String txt = new String("glMultiTexCoordP3uiv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glDeleteTransformFeedbacks(int arg0,int[] arg1,int arg2)
{
checkContext();
downstreamGL4bc.glDeleteTransformFeedbacks(arg0,arg1,arg2);
String txt = new String("glDeleteTransformFeedbacks(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glTexCoordP3uiv(int arg0,java.nio.IntBuffer arg1)
{
checkContext();
downstreamGL4bc.glTexCoordP3uiv(arg0,arg1);
String txt = new String("glTexCoordP3uiv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ")");
checkGLGetError( txt );
}
public void glMatrixTranslatefEXT(int arg0,float arg1,float arg2,float arg3)
{
checkContext();
downstreamGL4bc.glMatrixTranslatefEXT(arg0,arg1,arg2,arg3);
String txt = new String("glMatrixTranslatefEXT(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ", " +
" "+arg2 + ", " +
" "+arg3 + ")");
checkGLGetError( txt );
}
public void glGetInternalformati64v(int arg0,int arg1,int arg2,int arg3,java.nio.LongBuffer arg4)
{
checkContext();
downstreamGL4bc.glGetInternalformati64v(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glGetInternalformati64v(" +
" 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 glSecondaryColor3ui(int arg0,int arg1,int arg2)
{
checkContext();
downstreamGL4bc.glSecondaryColor3ui(arg0,arg1,arg2);
String txt = new String("glSecondaryColor3ui(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glVertexArrayTexCoordOffsetEXT(int arg0,int arg1,int arg2,int arg3,int arg4,long arg5)
{
checkContext();
downstreamGL4bc.glVertexArrayTexCoordOffsetEXT(arg0,arg1,arg2,arg3,arg4,arg5);
String txt = new String("glVertexArrayTexCoordOffsetEXT(" +
" 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() + ", " +
" "+arg5 + ")");
checkGLGetError( txt );
}
public void glProgramUniform4i64vNV(int arg0,int arg1,int arg2,java.nio.LongBuffer arg3)
{
checkContext();
downstreamGL4bc.glProgramUniform4i64vNV(arg0,arg1,arg2,arg3);
String txt = new String("glProgramUniform4i64vNV(" +
"