javax.media.opengl.TraceGL4bc Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jogl-all Show documentation
Show all versions of jogl-all Show documentation
Java™ Binding for the OpenGL® API
package javax.media.opengl;
import java.io.*;
import javax.media.opengl.*;
import com.jogamp.gluegen.runtime.*;
import java.nio.*;
import javax.media.opengl.GL4bc;
import javax.media.opengl.GL4;
import javax.media.opengl.GL3bc;
/**
*
* Composable pipeline which wraps an underlying {@link GL} implementation,
* providing tracing information to a user-specified {@link java.io.PrintStream}
* before and after each OpenGL method call.
*
*
* Sample code which installs this pipeline:
*
* gl = drawable.setGL(new TraceGL(drawable.getGL(), System.err));
*
* For automatic instantiation see {@link GLPipelineFactory#create(String, Class, GL, Object[])}
*
*/
public class TraceGL4bc implements javax.media.opengl.GL3bc, javax.media.opengl.GL4, javax.media.opengl.GL4bc{
public static final boolean DEBUG = jogamp.opengl.Debug.debug("TraceGL4bc");
public TraceGL4bc(GL4bc downstreamGL4bc, PrintStream stream)
{
if (downstreamGL4bc == null) {
throw new IllegalArgumentException("null downstreamGL4bc");
}
this.downstreamGL4bc = downstreamGL4bc;
this.stream = stream;
}
@Override
public final GL getDownstreamGL() throws GLException {
return downstreamGL4bc;
}
@Override
public int getBoundBuffer(int arg0)
{
return downstreamGL4bc.getBoundBuffer(arg0);
}
@Override
public int getBoundFramebuffer(int arg0)
{
return downstreamGL4bc.getBoundFramebuffer(arg0);
}
@Override
public javax.media.opengl.GLBufferStorage getBufferStorage(int arg0)
{
return downstreamGL4bc.getBufferStorage(arg0);
}
@Override
public javax.media.opengl.GLContext getContext()
{
return downstreamGL4bc.getContext();
}
@Override
public int getDefaultDrawFramebuffer()
{
return downstreamGL4bc.getDefaultDrawFramebuffer();
}
@Override
public int getDefaultReadBuffer()
{
return downstreamGL4bc.getDefaultReadBuffer();
}
@Override
public int getDefaultReadFramebuffer()
{
return downstreamGL4bc.getDefaultReadFramebuffer();
}
@Override
public java.lang.Object getExtension(java.lang.String arg0)
{
return downstreamGL4bc.getExtension(arg0);
}
@Override
public javax.media.opengl.GL getGL()
{
return this;
}
@Override
public javax.media.opengl.GL2 getGL2()
{
if( isGL2() ) { return this; }
throw new GLException("Not a GL2 implementation");
}
@Override
public javax.media.opengl.GL2ES1 getGL2ES1()
{
if( isGL2ES1() ) { return this; }
throw new GLException("Not a GL2ES1 implementation");
}
@Override
public javax.media.opengl.GL2ES2 getGL2ES2()
{
if( isGL2ES2() ) { return this; }
throw new GLException("Not a GL2ES2 implementation");
}
@Override
public javax.media.opengl.GL2ES3 getGL2ES3()
{
if( isGL2ES3() ) { return this; }
throw new GLException("Not a GL2ES3 implementation");
}
@Override
public javax.media.opengl.GL2GL3 getGL2GL3()
{
if( isGL2GL3() ) { return this; }
throw new GLException("Not a GL2GL3 implementation");
}
@Override
public javax.media.opengl.GL3 getGL3()
{
if( isGL3() ) { return this; }
throw new GLException("Not a GL3 implementation");
}
@Override
public javax.media.opengl.GL3ES3 getGL3ES3()
{
if( isGL3ES3() ) { return this; }
throw new GLException("Not a GL3ES3 implementation");
}
@Override
public javax.media.opengl.GL3bc getGL3bc()
{
if( isGL3bc() ) { return this; }
throw new GLException("Not a GL3bc implementation");
}
@Override
public javax.media.opengl.GL4 getGL4()
{
if( isGL4() ) { return this; }
throw new GLException("Not a GL4 implementation");
}
@Override
public javax.media.opengl.GL4ES3 getGL4ES3()
{
if( isGL4ES3() ) { return this; }
throw new GLException("Not a GL4ES3 implementation");
}
@Override
public javax.media.opengl.GL4bc getGL4bc()
{
if( isGL4bc() ) { return this; }
throw new GLException("Not a GL4bc implementation");
}
@Override
public javax.media.opengl.GLES1 getGLES1()
{
throw new GLException("Not a GLES1 implementation");
}
@Override
public javax.media.opengl.GLES2 getGLES2()
{
throw new GLException("Not a GLES2 implementation");
}
@Override
public javax.media.opengl.GLES3 getGLES3()
{
throw new GLException("Not a GLES3 implementation");
}
@Override
public javax.media.opengl.GLProfile getGLProfile()
{
return downstreamGL4bc.getGLProfile();
}
@Override
public int getMaxRenderbufferSamples()
{
return downstreamGL4bc.getMaxRenderbufferSamples();
}
@Override
public java.lang.Object getPlatformGLExtensions()
{
return downstreamGL4bc.getPlatformGLExtensions();
}
@Override
public javax.media.opengl.GL getRootGL()
{
return downstreamGL4bc.getRootGL();
}
@Override
public int getSwapInterval()
{
return downstreamGL4bc.getSwapInterval();
}
@Override
public void glAccum(int arg0,float arg1)
{
printIndent();
print( "glAccum("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" "+arg1+")");
downstreamGL4bc.glAccum(arg0,arg1);
println("");
}
@Override
public void glActiveShaderProgram(int arg0,int arg1)
{
printIndent();
print( "glActiveShaderProgram("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" 0x"+Integer.toHexString(arg1).toUpperCase()+")");
downstreamGL4bc.glActiveShaderProgram(arg0,arg1);
println("");
}
@Override
public void glActiveStencilFaceEXT(int arg0)
{
printIndent();
print( "glActiveStencilFaceEXT("+" 0x"+Integer.toHexString(arg0).toUpperCase()+")");
downstreamGL4bc.glActiveStencilFaceEXT(arg0);
println("");
}
@Override
public void glActiveTexture(int arg0)
{
printIndent();
print( "glActiveTexture("+" 0x"+Integer.toHexString(arg0).toUpperCase()+")");
downstreamGL4bc.glActiveTexture(arg0);
println("");
}
@Override
public java.nio.ByteBuffer glAllocateMemoryNV(int arg0,float arg1,float arg2,float arg3)
{
printIndent();
print( "glAllocateMemoryNV("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" "+arg1+", "+" "+arg2+", "+" "+arg3+")");
java.nio.ByteBuffer _res = downstreamGL4bc.glAllocateMemoryNV(arg0,arg1,arg2,arg3);
println(" = "+_res);
return _res;
}
@Override
public void glAlphaFunc(int arg0,float arg1)
{
printIndent();
print( "glAlphaFunc("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" "+arg1+")");
downstreamGL4bc.glAlphaFunc(arg0,arg1);
println("");
}
@Override
public void glApplyTextureEXT(int arg0)
{
printIndent();
print( "glApplyTextureEXT("+" 0x"+Integer.toHexString(arg0).toUpperCase()+")");
downstreamGL4bc.glApplyTextureEXT(arg0);
println("");
}
@Override
public boolean glAreTexturesResident(int arg0,java.nio.IntBuffer arg1,java.nio.ByteBuffer arg2)
{
printIndent();
print( "glAreTexturesResident("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" "+arg1+", "+" "+arg2+")");
boolean _res = downstreamGL4bc.glAreTexturesResident(arg0,arg1,arg2);
println(" = "+_res);
return _res;
}
@Override
public boolean glAreTexturesResident(int arg0,int[] arg1,int arg2,byte[] arg3,int arg4)
{
printIndent();
print( "glAreTexturesResident("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+"<[I>"+", "+" 0x"+Integer.toHexString(arg2).toUpperCase()+", "+"<[B>"+", "+" 0x"+Integer.toHexString(arg4).toUpperCase()+")");
boolean _res = downstreamGL4bc.glAreTexturesResident(arg0,arg1,arg2,arg3,arg4);
println(" = "+_res);
return _res;
}
@Override
public void glArrayElement(int arg0)
{
printIndent();
print( "glArrayElement("+" 0x"+Integer.toHexString(arg0).toUpperCase()+")");
downstreamGL4bc.glArrayElement(arg0);
println("");
}
@Override
public void glAttachObjectARB(int arg0,int arg1)
{
printIndent();
print( "glAttachObjectARB("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" 0x"+Integer.toHexString(arg1).toUpperCase()+")");
downstreamGL4bc.glAttachObjectARB(arg0,arg1);
println("");
}
@Override
public void glAttachShader(int arg0,int arg1)
{
printIndent();
print( "glAttachShader("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" 0x"+Integer.toHexString(arg1).toUpperCase()+")");
downstreamGL4bc.glAttachShader(arg0,arg1);
println("");
}
@Override
public void glBegin(int arg0)
{
printIndent();
print( "glBegin("+" 0x"+Integer.toHexString(arg0).toUpperCase()+")");
downstreamGL4bc.glBegin(arg0);
println("");
indent+=2;
}
@Override
public void glBeginConditionalRender(int arg0,int arg1)
{
printIndent();
print( "glBeginConditionalRender("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" 0x"+Integer.toHexString(arg1).toUpperCase()+")");
downstreamGL4bc.glBeginConditionalRender(arg0,arg1);
println("");
}
@Override
public void glBeginConditionalRenderNVX(int arg0)
{
printIndent();
print( "glBeginConditionalRenderNVX("+" 0x"+Integer.toHexString(arg0).toUpperCase()+")");
downstreamGL4bc.glBeginConditionalRenderNVX(arg0);
println("");
}
@Override
public void glBeginOcclusionQueryNV(int arg0)
{
printIndent();
print( "glBeginOcclusionQueryNV("+" 0x"+Integer.toHexString(arg0).toUpperCase()+")");
downstreamGL4bc.glBeginOcclusionQueryNV(arg0);
println("");
}
@Override
public void glBeginPerfMonitorAMD(int arg0)
{
printIndent();
print( "glBeginPerfMonitorAMD("+" 0x"+Integer.toHexString(arg0).toUpperCase()+")");
downstreamGL4bc.glBeginPerfMonitorAMD(arg0);
println("");
}
@Override
public void glBeginQuery(int arg0,int arg1)
{
printIndent();
print( "glBeginQuery("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" 0x"+Integer.toHexString(arg1).toUpperCase()+")");
downstreamGL4bc.glBeginQuery(arg0,arg1);
println("");
}
@Override
public void glBeginQueryIndexed(int arg0,int arg1,int arg2)
{
printIndent();
print( "glBeginQueryIndexed("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" 0x"+Integer.toHexString(arg1).toUpperCase()+", "+" 0x"+Integer.toHexString(arg2).toUpperCase()+")");
downstreamGL4bc.glBeginQueryIndexed(arg0,arg1,arg2);
println("");
}
@Override
public void glBeginTransformFeedback(int arg0)
{
printIndent();
print( "glBeginTransformFeedback("+" 0x"+Integer.toHexString(arg0).toUpperCase()+")");
downstreamGL4bc.glBeginTransformFeedback(arg0);
println("");
}
@Override
public void glBeginVertexShaderEXT()
{
printIndent();
print( "glBeginVertexShaderEXT("+")");
downstreamGL4bc.glBeginVertexShaderEXT();
println("");
}
@Override
public void glBeginVideoCaptureNV(int arg0)
{
printIndent();
print( "glBeginVideoCaptureNV("+" 0x"+Integer.toHexString(arg0).toUpperCase()+")");
downstreamGL4bc.glBeginVideoCaptureNV(arg0);
println("");
}
@Override
public void glBindAttribLocation(int arg0,int arg1,java.lang.String arg2)
{
printIndent();
print( "glBindAttribLocation("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" 0x"+Integer.toHexString(arg1).toUpperCase()+", "+" "+arg2+")");
downstreamGL4bc.glBindAttribLocation(arg0,arg1,arg2);
println("");
}
@Override
public void glBindBuffer(int arg0,int arg1)
{
printIndent();
print( "glBindBuffer("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" 0x"+Integer.toHexString(arg1).toUpperCase()+")");
downstreamGL4bc.glBindBuffer(arg0,arg1);
println("");
}
@Override
public void glBindBufferBase(int arg0,int arg1,int arg2)
{
printIndent();
print( "glBindBufferBase("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" 0x"+Integer.toHexString(arg1).toUpperCase()+", "+" 0x"+Integer.toHexString(arg2).toUpperCase()+")");
downstreamGL4bc.glBindBufferBase(arg0,arg1,arg2);
println("");
}
@Override
public void glBindBufferRange(int arg0,int arg1,int arg2,long arg3,long arg4)
{
printIndent();
print( "glBindBufferRange("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" 0x"+Integer.toHexString(arg1).toUpperCase()+", "+" 0x"+Integer.toHexString(arg2).toUpperCase()+", "+" "+arg3+", "+" "+arg4+")");
downstreamGL4bc.glBindBufferRange(arg0,arg1,arg2,arg3,arg4);
println("");
}
@Override
public void glBindFragDataLocation(int arg0,int arg1,java.lang.String arg2)
{
printIndent();
print( "glBindFragDataLocation("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" 0x"+Integer.toHexString(arg1).toUpperCase()+", "+" "+arg2+")");
downstreamGL4bc.glBindFragDataLocation(arg0,arg1,arg2);
println("");
}
@Override
public void glBindFragDataLocationIndexed(int arg0,int arg1,int arg2,java.lang.String arg3)
{
printIndent();
print( "glBindFragDataLocationIndexed("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" 0x"+Integer.toHexString(arg1).toUpperCase()+", "+" 0x"+Integer.toHexString(arg2).toUpperCase()+", "+" "+arg3+")");
downstreamGL4bc.glBindFragDataLocationIndexed(arg0,arg1,arg2,arg3);
println("");
}
@Override
public void glBindFramebuffer(int arg0,int arg1)
{
printIndent();
print( "glBindFramebuffer("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" 0x"+Integer.toHexString(arg1).toUpperCase()+")");
downstreamGL4bc.glBindFramebuffer(arg0,arg1);
println("");
}
@Override
public void glBindImageTexture(int arg0,int arg1,int arg2,boolean arg3,int arg4,int arg5,int arg6)
{
printIndent();
print( "glBindImageTexture("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" 0x"+Integer.toHexString(arg1).toUpperCase()+", "+" 0x"+Integer.toHexString(arg2).toUpperCase()+", "+" "+arg3+", "+" 0x"+Integer.toHexString(arg4).toUpperCase()+", "+" 0x"+Integer.toHexString(arg5).toUpperCase()+", "+" 0x"+Integer.toHexString(arg6).toUpperCase()+")");
downstreamGL4bc.glBindImageTexture(arg0,arg1,arg2,arg3,arg4,arg5,arg6);
println("");
}
@Override
public int glBindLightParameterEXT(int arg0,int arg1)
{
printIndent();
print( "glBindLightParameterEXT("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" 0x"+Integer.toHexString(arg1).toUpperCase()+")");
int _res = downstreamGL4bc.glBindLightParameterEXT(arg0,arg1);
println(" = "+_res);
return _res;
}
@Override
public int glBindMaterialParameterEXT(int arg0,int arg1)
{
printIndent();
print( "glBindMaterialParameterEXT("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" 0x"+Integer.toHexString(arg1).toUpperCase()+")");
int _res = downstreamGL4bc.glBindMaterialParameterEXT(arg0,arg1);
println(" = "+_res);
return _res;
}
@Override
public void glBindMultiTextureEXT(int arg0,int arg1,int arg2)
{
printIndent();
print( "glBindMultiTextureEXT("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" 0x"+Integer.toHexString(arg1).toUpperCase()+", "+" 0x"+Integer.toHexString(arg2).toUpperCase()+")");
downstreamGL4bc.glBindMultiTextureEXT(arg0,arg1,arg2);
println("");
}
@Override
public int glBindParameterEXT(int arg0)
{
printIndent();
print( "glBindParameterEXT("+" 0x"+Integer.toHexString(arg0).toUpperCase()+")");
int _res = downstreamGL4bc.glBindParameterEXT(arg0);
println(" = "+_res);
return _res;
}
@Override
public void glBindProgramARB(int arg0,int arg1)
{
printIndent();
print( "glBindProgramARB("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" 0x"+Integer.toHexString(arg1).toUpperCase()+")");
downstreamGL4bc.glBindProgramARB(arg0,arg1);
println("");
}
@Override
public void glBindProgramPipeline(int arg0)
{
printIndent();
print( "glBindProgramPipeline("+" 0x"+Integer.toHexString(arg0).toUpperCase()+")");
downstreamGL4bc.glBindProgramPipeline(arg0);
println("");
}
@Override
public void glBindRenderbuffer(int arg0,int arg1)
{
printIndent();
print( "glBindRenderbuffer("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" 0x"+Integer.toHexString(arg1).toUpperCase()+")");
downstreamGL4bc.glBindRenderbuffer(arg0,arg1);
println("");
}
@Override
public void glBindSampler(int arg0,int arg1)
{
printIndent();
print( "glBindSampler("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" 0x"+Integer.toHexString(arg1).toUpperCase()+")");
downstreamGL4bc.glBindSampler(arg0,arg1);
println("");
}
@Override
public int glBindTexGenParameterEXT(int arg0,int arg1,int arg2)
{
printIndent();
print( "glBindTexGenParameterEXT("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" 0x"+Integer.toHexString(arg1).toUpperCase()+", "+" 0x"+Integer.toHexString(arg2).toUpperCase()+")");
int _res = downstreamGL4bc.glBindTexGenParameterEXT(arg0,arg1,arg2);
println(" = "+_res);
return _res;
}
@Override
public void glBindTexture(int arg0,int arg1)
{
printIndent();
print( "glBindTexture("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" 0x"+Integer.toHexString(arg1).toUpperCase()+")");
downstreamGL4bc.glBindTexture(arg0,arg1);
println("");
}
@Override
public int glBindTextureUnitParameterEXT(int arg0,int arg1)
{
printIndent();
print( "glBindTextureUnitParameterEXT("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" 0x"+Integer.toHexString(arg1).toUpperCase()+")");
int _res = downstreamGL4bc.glBindTextureUnitParameterEXT(arg0,arg1);
println(" = "+_res);
return _res;
}
@Override
public void glBindTransformFeedback(int arg0,int arg1)
{
printIndent();
print( "glBindTransformFeedback("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" 0x"+Integer.toHexString(arg1).toUpperCase()+")");
downstreamGL4bc.glBindTransformFeedback(arg0,arg1);
println("");
}
@Override
public void glBindTransformFeedbackNV(int arg0,int arg1)
{
printIndent();
print( "glBindTransformFeedbackNV("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" 0x"+Integer.toHexString(arg1).toUpperCase()+")");
downstreamGL4bc.glBindTransformFeedbackNV(arg0,arg1);
println("");
}
@Override
public void glBindVertexArray(int arg0)
{
printIndent();
print( "glBindVertexArray("+" 0x"+Integer.toHexString(arg0).toUpperCase()+")");
downstreamGL4bc.glBindVertexArray(arg0);
println("");
}
@Override
public void glBindVertexBuffer(int arg0,int arg1,long arg2,int arg3)
{
printIndent();
print( "glBindVertexBuffer("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" 0x"+Integer.toHexString(arg1).toUpperCase()+", "+" "+arg2+", "+" 0x"+Integer.toHexString(arg3).toUpperCase()+")");
downstreamGL4bc.glBindVertexBuffer(arg0,arg1,arg2,arg3);
println("");
}
@Override
public void glBindVertexShaderEXT(int arg0)
{
printIndent();
print( "glBindVertexShaderEXT("+" 0x"+Integer.toHexString(arg0).toUpperCase()+")");
downstreamGL4bc.glBindVertexShaderEXT(arg0);
println("");
}
@Override
public void glBindVideoCaptureStreamBufferNV(int arg0,int arg1,int arg2,long arg3)
{
printIndent();
print( "glBindVideoCaptureStreamBufferNV("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" 0x"+Integer.toHexString(arg1).toUpperCase()+", "+" 0x"+Integer.toHexString(arg2).toUpperCase()+", "+" "+arg3+")");
downstreamGL4bc.glBindVideoCaptureStreamBufferNV(arg0,arg1,arg2,arg3);
println("");
}
@Override
public void glBindVideoCaptureStreamTextureNV(int arg0,int arg1,int arg2,int arg3,int arg4)
{
printIndent();
print( "glBindVideoCaptureStreamTextureNV("+" 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()+")");
downstreamGL4bc.glBindVideoCaptureStreamTextureNV(arg0,arg1,arg2,arg3,arg4);
println("");
}
@Override
public void glBitmap(int arg0,int arg1,float arg2,float arg3,float arg4,float arg5,byte[] arg6,int arg7)
{
printIndent();
print( "glBitmap("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" 0x"+Integer.toHexString(arg1).toUpperCase()+", "+" "+arg2+", "+" "+arg3+", "+" "+arg4+", "+" "+arg5+", "+"<[B>"+", "+" 0x"+Integer.toHexString(arg7).toUpperCase()+")");
downstreamGL4bc.glBitmap(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7);
println("");
}
@Override
public void glBitmap(int arg0,int arg1,float arg2,float arg3,float arg4,float arg5,long arg6)
{
printIndent();
print( "glBitmap("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" 0x"+Integer.toHexString(arg1).toUpperCase()+", "+" "+arg2+", "+" "+arg3+", "+" "+arg4+", "+" "+arg5+", "+" "+arg6+")");
downstreamGL4bc.glBitmap(arg0,arg1,arg2,arg3,arg4,arg5,arg6);
println("");
}
@Override
public void glBitmap(int arg0,int arg1,float arg2,float arg3,float arg4,float arg5,java.nio.ByteBuffer arg6)
{
printIndent();
print( "glBitmap("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" 0x"+Integer.toHexString(arg1).toUpperCase()+", "+" "+arg2+", "+" "+arg3+", "+" "+arg4+", "+" "+arg5+", "+" "+arg6+")");
downstreamGL4bc.glBitmap(arg0,arg1,arg2,arg3,arg4,arg5,arg6);
println("");
}
@Override
public void glBlendColor(float arg0,float arg1,float arg2,float arg3)
{
printIndent();
print( "glBlendColor("+" "+arg0+", "+" "+arg1+", "+" "+arg2+", "+" "+arg3+")");
downstreamGL4bc.glBlendColor(arg0,arg1,arg2,arg3);
println("");
}
@Override
public void glBlendEquation(int arg0)
{
printIndent();
print( "glBlendEquation("+" 0x"+Integer.toHexString(arg0).toUpperCase()+")");
downstreamGL4bc.glBlendEquation(arg0);
println("");
}
@Override
public void glBlendEquationIndexedAMD(int arg0,int arg1)
{
printIndent();
print( "glBlendEquationIndexedAMD("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" 0x"+Integer.toHexString(arg1).toUpperCase()+")");
downstreamGL4bc.glBlendEquationIndexedAMD(arg0,arg1);
println("");
}
@Override
public void glBlendEquationSeparate(int arg0,int arg1)
{
printIndent();
print( "glBlendEquationSeparate("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" 0x"+Integer.toHexString(arg1).toUpperCase()+")");
downstreamGL4bc.glBlendEquationSeparate(arg0,arg1);
println("");
}
@Override
public void glBlendEquationSeparateIndexedAMD(int arg0,int arg1,int arg2)
{
printIndent();
print( "glBlendEquationSeparateIndexedAMD("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" 0x"+Integer.toHexString(arg1).toUpperCase()+", "+" 0x"+Integer.toHexString(arg2).toUpperCase()+")");
downstreamGL4bc.glBlendEquationSeparateIndexedAMD(arg0,arg1,arg2);
println("");
}
@Override
public void glBlendEquationSeparatei(int arg0,int arg1,int arg2)
{
printIndent();
print( "glBlendEquationSeparatei("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" 0x"+Integer.toHexString(arg1).toUpperCase()+", "+" 0x"+Integer.toHexString(arg2).toUpperCase()+")");
downstreamGL4bc.glBlendEquationSeparatei(arg0,arg1,arg2);
println("");
}
@Override
public void glBlendEquationi(int arg0,int arg1)
{
printIndent();
print( "glBlendEquationi("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" 0x"+Integer.toHexString(arg1).toUpperCase()+")");
downstreamGL4bc.glBlendEquationi(arg0,arg1);
println("");
}
@Override
public void glBlendFunc(int arg0,int arg1)
{
printIndent();
print( "glBlendFunc("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" 0x"+Integer.toHexString(arg1).toUpperCase()+")");
downstreamGL4bc.glBlendFunc(arg0,arg1);
println("");
}
@Override
public void glBlendFuncIndexedAMD(int arg0,int arg1,int arg2)
{
printIndent();
print( "glBlendFuncIndexedAMD("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" 0x"+Integer.toHexString(arg1).toUpperCase()+", "+" 0x"+Integer.toHexString(arg2).toUpperCase()+")");
downstreamGL4bc.glBlendFuncIndexedAMD(arg0,arg1,arg2);
println("");
}
@Override
public void glBlendFuncSeparate(int arg0,int arg1,int arg2,int arg3)
{
printIndent();
print( "glBlendFuncSeparate("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" 0x"+Integer.toHexString(arg1).toUpperCase()+", "+" 0x"+Integer.toHexString(arg2).toUpperCase()+", "+" 0x"+Integer.toHexString(arg3).toUpperCase()+")");
downstreamGL4bc.glBlendFuncSeparate(arg0,arg1,arg2,arg3);
println("");
}
@Override
public void glBlendFuncSeparateINGR(int arg0,int arg1,int arg2,int arg3)
{
printIndent();
print( "glBlendFuncSeparateINGR("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" 0x"+Integer.toHexString(arg1).toUpperCase()+", "+" 0x"+Integer.toHexString(arg2).toUpperCase()+", "+" 0x"+Integer.toHexString(arg3).toUpperCase()+")");
downstreamGL4bc.glBlendFuncSeparateINGR(arg0,arg1,arg2,arg3);
println("");
}
@Override
public void glBlendFuncSeparateIndexedAMD(int arg0,int arg1,int arg2,int arg3,int arg4)
{
printIndent();
print( "glBlendFuncSeparateIndexedAMD("+" 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()+")");
downstreamGL4bc.glBlendFuncSeparateIndexedAMD(arg0,arg1,arg2,arg3,arg4);
println("");
}
@Override
public void glBlendFuncSeparatei(int arg0,int arg1,int arg2,int arg3,int arg4)
{
printIndent();
print( "glBlendFuncSeparatei("+" 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()+")");
downstreamGL4bc.glBlendFuncSeparatei(arg0,arg1,arg2,arg3,arg4);
println("");
}
@Override
public void glBlendFunci(int arg0,int arg1,int arg2)
{
printIndent();
print( "glBlendFunci("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" 0x"+Integer.toHexString(arg1).toUpperCase()+", "+" 0x"+Integer.toHexString(arg2).toUpperCase()+")");
downstreamGL4bc.glBlendFunci(arg0,arg1,arg2);
println("");
}
@Override
public void glBlitFramebuffer(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5,int arg6,int arg7,int arg8,int arg9)
{
printIndent();
print( "glBlitFramebuffer("+" 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()+")");
downstreamGL4bc.glBlitFramebuffer(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
println("");
}
@Override
public void glBufferAddressRangeNV(int arg0,int arg1,long arg2,long arg3)
{
printIndent();
print( "glBufferAddressRangeNV("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" 0x"+Integer.toHexString(arg1).toUpperCase()+", "+" "+arg2+", "+" "+arg3+")");
downstreamGL4bc.glBufferAddressRangeNV(arg0,arg1,arg2,arg3);
println("");
}
@Override
public void glBufferData(int arg0,long arg1,java.nio.Buffer arg2,int arg3)
{
printIndent();
print( "glBufferData("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" "+arg1+", "+" "+arg2+", "+" 0x"+Integer.toHexString(arg3).toUpperCase()+")");
downstreamGL4bc.glBufferData(arg0,arg1,arg2,arg3);
println("");
}
@Override
public void glBufferParameteri(int arg0,int arg1,int arg2)
{
printIndent();
print( "glBufferParameteri("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" 0x"+Integer.toHexString(arg1).toUpperCase()+", "+" 0x"+Integer.toHexString(arg2).toUpperCase()+")");
downstreamGL4bc.glBufferParameteri(arg0,arg1,arg2);
println("");
}
@Override
public void glBufferSubData(int arg0,long arg1,long arg2,java.nio.Buffer arg3)
{
printIndent();
print( "glBufferSubData("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" "+arg1+", "+" "+arg2+", "+" "+arg3+")");
downstreamGL4bc.glBufferSubData(arg0,arg1,arg2,arg3);
println("");
}
@Override
public void glCallList(int arg0)
{
printIndent();
print( "glCallList("+" 0x"+Integer.toHexString(arg0).toUpperCase()+")");
downstreamGL4bc.glCallList(arg0);
println("");
}
@Override
public void glCallLists(int arg0,int arg1,java.nio.Buffer arg2)
{
printIndent();
print( "glCallLists("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" 0x"+Integer.toHexString(arg1).toUpperCase()+", "+" "+arg2+")");
downstreamGL4bc.glCallLists(arg0,arg1,arg2);
println("");
}
@Override
public int glCheckFramebufferStatus(int arg0)
{
printIndent();
print( "glCheckFramebufferStatus("+" 0x"+Integer.toHexString(arg0).toUpperCase()+")");
int _res = downstreamGL4bc.glCheckFramebufferStatus(arg0);
println(" = "+_res);
return _res;
}
@Override
public int glCheckNamedFramebufferStatusEXT(int arg0,int arg1)
{
printIndent();
print( "glCheckNamedFramebufferStatusEXT("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" 0x"+Integer.toHexString(arg1).toUpperCase()+")");
int _res = downstreamGL4bc.glCheckNamedFramebufferStatusEXT(arg0,arg1);
println(" = "+_res);
return _res;
}
@Override
public void glClampColor(int arg0,int arg1)
{
printIndent();
print( "glClampColor("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" 0x"+Integer.toHexString(arg1).toUpperCase()+")");
downstreamGL4bc.glClampColor(arg0,arg1);
println("");
}
@Override
public void glClear(int arg0)
{
printIndent();
print( "glClear("+" 0x"+Integer.toHexString(arg0).toUpperCase()+")");
downstreamGL4bc.glClear(arg0);
println("");
}
@Override
public void glClearAccum(float arg0,float arg1,float arg2,float arg3)
{
printIndent();
print( "glClearAccum("+" "+arg0+", "+" "+arg1+", "+" "+arg2+", "+" "+arg3+")");
downstreamGL4bc.glClearAccum(arg0,arg1,arg2,arg3);
println("");
}
@Override
public void glClearBufferData(int arg0,int arg1,int arg2,int arg3,java.nio.Buffer arg4)
{
printIndent();
print( "glClearBufferData("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" 0x"+Integer.toHexString(arg1).toUpperCase()+", "+" 0x"+Integer.toHexString(arg2).toUpperCase()+", "+" 0x"+Integer.toHexString(arg3).toUpperCase()+", "+" "+arg4+")");
downstreamGL4bc.glClearBufferData(arg0,arg1,arg2,arg3,arg4);
println("");
}
@Override
public void glClearBufferSubData(int arg0,int arg1,long arg2,long arg3,int arg4,int arg5,java.nio.Buffer arg6)
{
printIndent();
print( "glClearBufferSubData("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" 0x"+Integer.toHexString(arg1).toUpperCase()+", "+" "+arg2+", "+" "+arg3+", "+" 0x"+Integer.toHexString(arg4).toUpperCase()+", "+" 0x"+Integer.toHexString(arg5).toUpperCase()+", "+" "+arg6+")");
downstreamGL4bc.glClearBufferSubData(arg0,arg1,arg2,arg3,arg4,arg5,arg6);
println("");
}
@Override
public void glClearBufferfi(int arg0,int arg1,float arg2,int arg3)
{
printIndent();
print( "glClearBufferfi("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" 0x"+Integer.toHexString(arg1).toUpperCase()+", "+" "+arg2+", "+" 0x"+Integer.toHexString(arg3).toUpperCase()+")");
downstreamGL4bc.glClearBufferfi(arg0,arg1,arg2,arg3);
println("");
}
@Override
public void glClearBufferfv(int arg0,int arg1,java.nio.FloatBuffer arg2)
{
printIndent();
print( "glClearBufferfv("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" 0x"+Integer.toHexString(arg1).toUpperCase()+", "+" "+arg2+")");
downstreamGL4bc.glClearBufferfv(arg0,arg1,arg2);
println("");
}
@Override
public void glClearBufferfv(int arg0,int arg1,float[] arg2,int arg3)
{
printIndent();
print( "glClearBufferfv("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" 0x"+Integer.toHexString(arg1).toUpperCase()+", "+"<[F>"+", "+" 0x"+Integer.toHexString(arg3).toUpperCase()+")");
downstreamGL4bc.glClearBufferfv(arg0,arg1,arg2,arg3);
println("");
}
@Override
public void glClearBufferiv(int arg0,int arg1,java.nio.IntBuffer arg2)
{
printIndent();
print( "glClearBufferiv("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" 0x"+Integer.toHexString(arg1).toUpperCase()+", "+" "+arg2+")");
downstreamGL4bc.glClearBufferiv(arg0,arg1,arg2);
println("");
}
@Override
public void glClearBufferiv(int arg0,int arg1,int[] arg2,int arg3)
{
printIndent();
print( "glClearBufferiv("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" 0x"+Integer.toHexString(arg1).toUpperCase()+", "+"<[I>"+", "+" 0x"+Integer.toHexString(arg3).toUpperCase()+")");
downstreamGL4bc.glClearBufferiv(arg0,arg1,arg2,arg3);
println("");
}
@Override
public void glClearBufferuiv(int arg0,int arg1,int[] arg2,int arg3)
{
printIndent();
print( "glClearBufferuiv("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" 0x"+Integer.toHexString(arg1).toUpperCase()+", "+"<[I>"+", "+" 0x"+Integer.toHexString(arg3).toUpperCase()+")");
downstreamGL4bc.glClearBufferuiv(arg0,arg1,arg2,arg3);
println("");
}
@Override
public void glClearBufferuiv(int arg0,int arg1,java.nio.IntBuffer arg2)
{
printIndent();
print( "glClearBufferuiv("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" 0x"+Integer.toHexString(arg1).toUpperCase()+", "+" "+arg2+")");
downstreamGL4bc.glClearBufferuiv(arg0,arg1,arg2);
println("");
}
@Override
public void glClearColor(float arg0,float arg1,float arg2,float arg3)
{
printIndent();
print( "glClearColor("+" "+arg0+", "+" "+arg1+", "+" "+arg2+", "+" "+arg3+")");
downstreamGL4bc.glClearColor(arg0,arg1,arg2,arg3);
println("");
}
@Override
public void glClearColorIi(int arg0,int arg1,int arg2,int arg3)
{
printIndent();
print( "glClearColorIi("+" 0x"+Integer.toHexString(arg0).toUpperCase()+", "+" 0x"+Integer.toHexString(arg1).toUpperCase()+", "+" 0x"+Integer.toHexString(arg2).toUpperCase()+", "+"