javax.media.opengl.DebugGL4bc 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.GL4;
import javax.media.opengl.GL4bc;
import javax.media.opengl.GL3bc;
/**
*
* 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 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.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 glGetProgramInterfaceiv(int arg0,int arg1,int arg2,java.nio.IntBuffer arg3)
{
checkContext();
downstreamGL4bc.glGetProgramInterfaceiv(arg0,arg1,arg2,arg3);
String txt = new String("glGetProgramInterfaceiv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
" "+arg3 + ")");
checkGLGetError( txt );
}
public void glGetMultiTexLevelParameterivEXT(int arg0,int arg1,int arg2,int arg3,java.nio.IntBuffer arg4)
{
checkContext();
downstreamGL4bc.glGetMultiTexLevelParameterivEXT(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glGetMultiTexLevelParameterivEXT(" +
" 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 glGetnSeparableFilter(int arg0,int arg1,int arg2,int arg3,java.nio.Buffer arg4,int arg5,java.nio.Buffer arg6,java.nio.Buffer arg7)
{
checkContext();
downstreamGL4bc.glGetnSeparableFilter(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7);
String txt = new String("glGetnSeparableFilter(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ", " +
" "+arg4 + ", " +
" 0x"+Integer.toHexString(arg5).toUpperCase() + ", " +
" "+arg6 + ", " +
" "+arg7 + ")");
checkGLGetError( txt );
}
public void glBufferParameteri(int arg0,int arg1,int arg2)
{
checkContext();
downstreamGL4bc.glBufferParameteri(arg0,arg1,arg2);
String txt = new String("glBufferParameteri(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public boolean isExtensionAvailable(java.lang.String arg0)
{
return downstreamGL4bc.isExtensionAvailable(arg0);
}
public void glVertexAttrib4fv(int arg0,float[] arg1,int arg2)
{
checkContext();
downstreamGL4bc.glVertexAttrib4fv(arg0,arg1,arg2);
String txt = new String("glVertexAttrib4fv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
"<[F>" + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glGetMultiTexParameterivEXT(int arg0,int arg1,int arg2,java.nio.IntBuffer arg3)
{
checkContext();
downstreamGL4bc.glGetMultiTexParameterivEXT(arg0,arg1,arg2,arg3);
String txt = new String("glGetMultiTexParameterivEXT(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
" "+arg3 + ")");
checkGLGetError( txt );
}
public void glGetTexGeniv(int arg0,int arg1,java.nio.IntBuffer arg2)
{
checkContext();
downstreamGL4bc.glGetTexGeniv(arg0,arg1,arg2);
String txt = new String("glGetTexGeniv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glProgramUniform2fv(int arg0,int arg1,int arg2,java.nio.FloatBuffer arg3)
{
checkContext();
downstreamGL4bc.glProgramUniform2fv(arg0,arg1,arg2,arg3);
String txt = new String("glProgramUniform2fv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
" "+arg3 + ")");
checkGLGetError( txt );
}
public void glMapVertexAttrib1fAPPLE(int arg0,int arg1,float arg2,float arg3,int arg4,int arg5,float[] arg6,int arg7)
{
checkContext();
downstreamGL4bc.glMapVertexAttrib1fAPPLE(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7);
String txt = new String("glMapVertexAttrib1fAPPLE(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ", " +
" "+arg3 + ", " +
" 0x"+Integer.toHexString(arg4).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg5).toUpperCase() + ", " +
"<[F>" + ", " +
" 0x"+Integer.toHexString(arg7).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glWeightPathsNV(int arg0,int arg1,java.nio.IntBuffer arg2,java.nio.FloatBuffer arg3)
{
checkContext();
downstreamGL4bc.glWeightPathsNV(arg0,arg1,arg2,arg3);
String txt = new String("glWeightPathsNV(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ", " +
" "+arg3 + ")");
checkGLGetError( txt );
}
public void glVertexAttrib4ubvARB(int arg0,byte[] arg1,int arg2)
{
checkContext();
downstreamGL4bc.glVertexAttrib4ubvARB(arg0,arg1,arg2);
String txt = new String("glVertexAttrib4ubvARB(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
"<[B>" + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glGetVertexAttribIivEXT(int arg0,int arg1,java.nio.IntBuffer arg2)
{
checkContext();
downstreamGL4bc.glGetVertexAttribIivEXT(arg0,arg1,arg2);
String txt = new String("glGetVertexAttribIivEXT(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glNormalP3uiv(int arg0,int[] arg1,int arg2)
{
checkContext();
downstreamGL4bc.glNormalP3uiv(arg0,arg1,arg2);
String txt = new String("glNormalP3uiv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glProgramUniformMatrix3x2dv(int arg0,int arg1,int arg2,boolean arg3,java.nio.DoubleBuffer arg4)
{
checkContext();
downstreamGL4bc.glProgramUniformMatrix3x2dv(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glProgramUniformMatrix3x2dv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
" "+arg3 + ", " +
" "+arg4 + ")");
checkGLGetError( txt );
}
public void glVertexWeighthv(short[] arg0,int arg1)
{
checkContext();
downstreamGL4bc.glVertexWeighthv(arg0,arg1);
String txt = new String("glVertexWeighthv(" +
"<[S>" + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glGetInvariantIntegervEXT(int arg0,int arg1,java.nio.IntBuffer arg2)
{
checkContext();
downstreamGL4bc.glGetInvariantIntegervEXT(arg0,arg1,arg2);
String txt = new String("glGetInvariantIntegervEXT(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public boolean glIsBuffer(int arg0)
{
checkContext();
boolean _res = downstreamGL4bc.glIsBuffer(arg0);
String txt = new String("glIsBuffer(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ")");
checkGLGetError( txt );
return _res;
}
public void glMakeNamedBufferNonResidentNV(int arg0)
{
checkContext();
downstreamGL4bc.glMakeNamedBufferNonResidentNV(arg0);
String txt = new String("glMakeNamedBufferNonResidentNV(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glWindowPos3dv(java.nio.DoubleBuffer arg0)
{
checkContext();
downstreamGL4bc.glWindowPos3dv(arg0);
String txt = new String("glWindowPos3dv(" +
" "+arg0 + ")");
checkGLGetError( txt );
}
public void glGetTexGendv(int arg0,int arg1,java.nio.DoubleBuffer arg2)
{
checkContext();
downstreamGL4bc.glGetTexGendv(arg0,arg1,arg2);
String txt = new String("glGetTexGendv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glUniformMatrix3x2fv(int arg0,int arg1,boolean arg2,java.nio.FloatBuffer arg3)
{
checkContext();
downstreamGL4bc.glUniformMatrix3x2fv(arg0,arg1,arg2,arg3);
String txt = new String("glUniformMatrix3x2fv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ", " +
" "+arg3 + ")");
checkGLGetError( txt );
}
public void glPatchParameterfv(int arg0,float[] arg1,int arg2)
{
checkContext();
downstreamGL4bc.glPatchParameterfv(arg0,arg1,arg2);
String txt = new String("glPatchParameterfv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
"<[F>" + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glProgramUniform3uivEXT(int arg0,int arg1,int arg2,int[] arg3,int arg4)
{
checkContext();
downstreamGL4bc.glProgramUniform3uivEXT(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glProgramUniform3uivEXT(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg4).toUpperCase() + ")");
checkGLGetError( txt );
}
public int glGetDebugMessageLog(int arg0,int arg1,int[] arg2,int arg3,int[] arg4,int arg5,int[] arg6,int arg7,int[] arg8,int arg9,int[] arg10,int arg11,byte[] arg12,int arg13)
{
checkContext();
int _res = downstreamGL4bc.glGetDebugMessageLog(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13);
String txt = new String("glGetDebugMessageLog(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg5).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg7).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg9).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg11).toUpperCase() + ", " +
"<[B>" + ", " +
" 0x"+Integer.toHexString(arg13).toUpperCase() + ")");
checkGLGetError( txt );
return _res;
}
public void glGetFloati_vEXT(int arg0,int arg1,java.nio.FloatBuffer arg2)
{
checkContext();
downstreamGL4bc.glGetFloati_vEXT(arg0,arg1,arg2);
String txt = new String("glGetFloati_vEXT(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glGetTexImage(int arg0,int arg1,int arg2,int arg3,java.nio.Buffer arg4)
{
checkContext();
downstreamGL4bc.glGetTexImage(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glGetTexImage(" +
" 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 glRasterPos3iv(int[] arg0,int arg1)
{
checkContext();
downstreamGL4bc.glRasterPos3iv(arg0,arg1);
String txt = new String("glRasterPos3iv(" +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glGetIntegerv(int arg0,int[] arg1,int arg2)
{
checkContext();
downstreamGL4bc.glGetIntegerv(arg0,arg1,arg2);
String txt = new String("glGetIntegerv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glVideoCaptureStreamParameterdvNV(int arg0,int arg1,int arg2,double[] arg3,int arg4)
{
checkContext();
downstreamGL4bc.glVideoCaptureStreamParameterdvNV(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glVideoCaptureStreamParameterdvNV(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
"<[D>" + ", " +
" 0x"+Integer.toHexString(arg4).toUpperCase() + ")");
checkGLGetError( txt );
}
public long glGetTextureSamplerHandleNV(int arg0,int arg1)
{
checkContext();
long _res = downstreamGL4bc.glGetTextureSamplerHandleNV(arg0,arg1);
String txt = new String("glGetTextureSamplerHandleNV(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ")");
checkGLGetError( txt );
return _res;
}
public void glGetVertexAttribLi64vNV(int arg0,int arg1,java.nio.LongBuffer arg2)
{
checkContext();
downstreamGL4bc.glGetVertexAttribLi64vNV(arg0,arg1,arg2);
String txt = new String("glGetVertexAttribLi64vNV(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glMakeImageHandleResidentNV(long arg0,int arg1)
{
checkContext();
downstreamGL4bc.glMakeImageHandleResidentNV(arg0,arg1);
String txt = new String("glMakeImageHandleResidentNV(" +
" "+arg0 + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glGetActiveUniformARB(int arg0,int arg1,int arg2,java.nio.IntBuffer arg3,java.nio.IntBuffer arg4,java.nio.IntBuffer arg5,java.nio.ByteBuffer arg6)
{
checkContext();
downstreamGL4bc.glGetActiveUniformARB(arg0,arg1,arg2,arg3,arg4,arg5,arg6);
String txt = new String("glGetActiveUniformARB(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
" "+arg3 + ", " +
" "+arg4 + ", " +
" "+arg5 + ", " +
" "+arg6 + ")");
checkGLGetError( txt );
}
public void glGenerateTextureMipmapEXT(int arg0,int arg1)
{
checkContext();
downstreamGL4bc.glGenerateTextureMipmapEXT(arg0,arg1);
String txt = new String("glGenerateTextureMipmapEXT(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glGetVideoCaptureivNV(int arg0,int arg1,java.nio.IntBuffer arg2)
{
checkContext();
downstreamGL4bc.glGetVideoCaptureivNV(arg0,arg1,arg2);
String txt = new String("glGetVideoCaptureivNV(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glDeleteTextures(int arg0,int[] arg1,int arg2)
{
checkContext();
downstreamGL4bc.glDeleteTextures(arg0,arg1,arg2);
String txt = new String("glDeleteTextures(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glTextureParameterIuivEXT(int arg0,int arg1,int arg2,int[] arg3,int arg4)
{
checkContext();
downstreamGL4bc.glTextureParameterIuivEXT(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glTextureParameterIuivEXT(" +
" 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 glGetProgramivARB(int arg0,int arg1,int[] arg2,int arg3)
{
checkContext();
downstreamGL4bc.glGetProgramivARB(arg0,arg1,arg2,arg3);
String txt = new String("glGetProgramivARB(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glVariantubvEXT(int arg0,java.nio.ByteBuffer arg1)
{
checkContext();
downstreamGL4bc.glVariantubvEXT(arg0,arg1);
String txt = new String("glVariantubvEXT(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ")");
checkGLGetError( txt );
}
public void glGetVertexAttribdv(int arg0,int arg1,double[] arg2,int arg3)
{
checkContext();
downstreamGL4bc.glGetVertexAttribdv(arg0,arg1,arg2,arg3);
String txt = new String("glGetVertexAttribdv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
"<[D>" + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glVertex4bvOES(byte[] arg0,int arg1)
{
checkContext();
downstreamGL4bc.glVertex4bvOES(arg0,arg1);
String txt = new String("glVertex4bvOES(" +
"<[B>" + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glTextureRangeAPPLE(int arg0,int arg1,java.nio.Buffer arg2)
{
checkContext();
downstreamGL4bc.glTextureRangeAPPLE(arg0,arg1,arg2);
String txt = new String("glTextureRangeAPPLE(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glGetHistogramParameterfv(int arg0,int arg1,java.nio.FloatBuffer arg2)
{
checkContext();
downstreamGL4bc.glGetHistogramParameterfv(arg0,arg1,arg2);
String txt = new String("glGetHistogramParameterfv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glVertex2fv(java.nio.FloatBuffer arg0)
{
checkContext();
downstreamGL4bc.glVertex2fv(arg0);
String txt = new String("glVertex2fv(" +
" "+arg0 + ")");
checkGLGetError( txt );
}
public void glWindowPos2sv(java.nio.ShortBuffer arg0)
{
checkContext();
downstreamGL4bc.glWindowPos2sv(arg0);
String txt = new String("glWindowPos2sv(" +
" "+arg0 + ")");
checkGLGetError( txt );
}
public void glVertexAttrib4NubARB(int arg0,byte arg1,byte arg2,byte arg3,byte arg4)
{
checkContext();
downstreamGL4bc.glVertexAttrib4NubARB(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glVertexAttrib4NubARB(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ", " +
" "+arg2 + ", " +
" "+arg3 + ", " +
" "+arg4 + ")");
checkGLGetError( txt );
}
public void glBeginOcclusionQueryNV(int arg0)
{
checkContext();
downstreamGL4bc.glBeginOcclusionQueryNV(arg0);
String txt = new String("glBeginOcclusionQueryNV(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glPixelMapuiv(int arg0,int arg1,java.nio.IntBuffer arg2)
{
checkContext();
downstreamGL4bc.glPixelMapuiv(arg0,arg1,arg2);
String txt = new String("glPixelMapuiv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glVertex2iv(int[] arg0,int arg1)
{
checkContext();
downstreamGL4bc.glVertex2iv(arg0,arg1);
String txt = new String("glVertex2iv(" +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glUniform2fv(int arg0,int arg1,java.nio.FloatBuffer arg2)
{
checkContext();
downstreamGL4bc.glUniform2fv(arg0,arg1,arg2);
String txt = new String("glUniform2fv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glBeginConditionalRenderNVX(int arg0)
{
checkContext();
downstreamGL4bc.glBeginConditionalRenderNVX(arg0);
String txt = new String("glBeginConditionalRenderNVX(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glGetProgramLocalParameterfvARB(int arg0,int arg1,java.nio.FloatBuffer arg2)
{
checkContext();
downstreamGL4bc.glGetProgramLocalParameterfvARB(arg0,arg1,arg2);
String txt = new String("glGetProgramLocalParameterfvARB(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glClearBufferData(int arg0,int arg1,int arg2,int arg3,java.nio.Buffer arg4)
{
checkContext();
downstreamGL4bc.glClearBufferData(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glClearBufferData(" +
" 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 glBitmap(int arg0,int arg1,float arg2,float arg3,float arg4,float arg5,byte[] arg6,int arg7)
{
checkContext();
downstreamGL4bc.glBitmap(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7);
String txt = new String("glBitmap(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ", " +
" "+arg3 + ", " +
" "+arg4 + ", " +
" "+arg5 + ", " +
"<[B>" + ", " +
" 0x"+Integer.toHexString(arg7).toUpperCase() + ")");
checkGLGetError( txt );
}
public boolean glIsPathNV(int arg0)
{
checkContext();
boolean _res = downstreamGL4bc.glIsPathNV(arg0);
String txt = new String("glIsPathNV(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ")");
checkGLGetError( txt );
return _res;
}
public void glGetMapfv(int arg0,int arg1,java.nio.FloatBuffer arg2)
{
checkContext();
downstreamGL4bc.glGetMapfv(arg0,arg1,arg2);
String txt = new String("glGetMapfv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glDeleteProgram(int arg0)
{
checkContext();
downstreamGL4bc.glDeleteProgram(arg0);
String txt = new String("glDeleteProgram(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glMapVertexAttrib2dAPPLE(int arg0,int arg1,double arg2,double arg3,int arg4,int arg5,double arg6,double arg7,int arg8,int arg9,java.nio.DoubleBuffer arg10)
{
checkContext();
downstreamGL4bc.glMapVertexAttrib2dAPPLE(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
String txt = new String("glMapVertexAttrib2dAPPLE(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ", " +
" "+arg3 + ", " +
" 0x"+Integer.toHexString(arg4).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg5).toUpperCase() + ", " +
" "+arg6 + ", " +
" "+arg7 + ", " +
" 0x"+Integer.toHexString(arg8).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg9).toUpperCase() + ", " +
" "+arg10 + ")");
checkGLGetError( txt );
}
public void glUniformMatrix4dv(int arg0,int arg1,boolean arg2,double[] arg3,int arg4)
{
checkContext();
downstreamGL4bc.glUniformMatrix4dv(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glUniformMatrix4dv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ", " +
"<[D>" + ", " +
" 0x"+Integer.toHexString(arg4).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glMultiTexGendEXT(int arg0,int arg1,int arg2,double arg3)
{
checkContext();
downstreamGL4bc.glMultiTexGendEXT(arg0,arg1,arg2,arg3);
String txt = new String("glMultiTexGendEXT(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
" "+arg3 + ")");
checkGLGetError( txt );
}
public void glProgramLocalParameterI4iNV(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5)
{
checkContext();
downstreamGL4bc.glProgramLocalParameterI4iNV(arg0,arg1,arg2,arg3,arg4,arg5);
String txt = new String("glProgramLocalParameterI4iNV(" +
" 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 glGetProgramLocalParameterIivNV(int arg0,int arg1,int[] arg2,int arg3)
{
checkContext();
downstreamGL4bc.glGetProgramLocalParameterIivNV(arg0,arg1,arg2,arg3);
String txt = new String("glGetProgramLocalParameterIivNV(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glEdgeFlagPointer(int arg0,long arg1)
{
checkContext();
downstreamGL4bc.glEdgeFlagPointer(arg0,arg1);
String txt = new String("glEdgeFlagPointer(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ")");
checkGLGetError( txt );
}
public void glGenVertexArrays(int arg0,int[] arg1,int arg2)
{
checkContext();
downstreamGL4bc.glGenVertexArrays(arg0,arg1,arg2);
String txt = new String("glGenVertexArrays(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glNamedProgramLocalParametersI4uivEXT(int arg0,int arg1,int arg2,int arg3,int[] arg4,int arg5)
{
checkContext();
downstreamGL4bc.glNamedProgramLocalParametersI4uivEXT(arg0,arg1,arg2,arg3,arg4,arg5);
String txt = new String("glNamedProgramLocalParametersI4uivEXT(" +
" 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 glGetShaderSourceARB(int arg0,int arg1,int[] arg2,int arg3,byte[] arg4,int arg5)
{
checkContext();
downstreamGL4bc.glGetShaderSourceARB(arg0,arg1,arg2,arg3,arg4,arg5);
String txt = new String("glGetShaderSourceARB(" +
" 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 glDisableVertexAttribAPPLE(int arg0,int arg1)
{
checkContext();
downstreamGL4bc.glDisableVertexAttribAPPLE(arg0,arg1);
String txt = new String("glDisableVertexAttribAPPLE(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glMatrixPushEXT(int arg0)
{
checkContext();
downstreamGL4bc.glMatrixPushEXT(arg0);
String txt = new String("glMatrixPushEXT(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glGetObjectLabel(int arg0,int arg1,int arg2,int[] arg3,int arg4,byte[] arg5,int arg6)
{
checkContext();
downstreamGL4bc.glGetObjectLabel(arg0,arg1,arg2,arg3,arg4,arg5,arg6);
String txt = new String("glGetObjectLabel(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg4).toUpperCase() + ", " +
"<[B>" + ", " +
" 0x"+Integer.toHexString(arg6).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glPathCommandsNV(int arg0,int arg1,java.nio.ByteBuffer arg2,int arg3,int arg4,java.nio.Buffer arg5)
{
checkContext();
downstreamGL4bc.glPathCommandsNV(arg0,arg1,arg2,arg3,arg4,arg5);
String txt = new String("glPathCommandsNV(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg4).toUpperCase() + ", " +
" "+arg5 + ")");
checkGLGetError( txt );
}
public void glProgramEnvParameter4fvARB(int arg0,int arg1,float[] arg2,int arg3)
{
checkContext();
downstreamGL4bc.glProgramEnvParameter4fvARB(arg0,arg1,arg2,arg3);
String txt = new String("glProgramEnvParameter4fvARB(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
"<[F>" + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glGetQueryObjectui64vEXT(int arg0,int arg1,java.nio.LongBuffer arg2)
{
checkContext();
downstreamGL4bc.glGetQueryObjectui64vEXT(arg0,arg1,arg2);
String txt = new String("glGetQueryObjectui64vEXT(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glRasterPos3fv(java.nio.FloatBuffer arg0)
{
checkContext();
downstreamGL4bc.glRasterPos3fv(arg0);
String txt = new String("glRasterPos3fv(" +
" "+arg0 + ")");
checkGLGetError( txt );
}
public void glVertexAttrib3dARB(int arg0,double arg1,double arg2,double arg3)
{
checkContext();
downstreamGL4bc.glVertexAttrib3dARB(arg0,arg1,arg2,arg3);
String txt = new String("glVertexAttrib3dARB(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ", " +
" "+arg2 + ", " +
" "+arg3 + ")");
checkGLGetError( txt );
}
public void glTexCoord2bvOES(java.nio.ByteBuffer arg0)
{
checkContext();
downstreamGL4bc.glTexCoord2bvOES(arg0);
String txt = new String("glTexCoord2bvOES(" +
" "+arg0 + ")");
checkGLGetError( txt );
}
public void glGetShaderiv(int arg0,int arg1,int[] arg2,int arg3)
{
checkContext();
downstreamGL4bc.glGetShaderiv(arg0,arg1,arg2,arg3);
String txt = new String("glGetShaderiv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glTranslatef(float arg0,float arg1,float arg2)
{
checkContext();
downstreamGL4bc.glTranslatef(arg0,arg1,arg2);
String txt = new String("glTranslatef(" +
" "+arg0 + ", " +
" "+arg1 + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glVertexAttrib4NuivARB(int arg0,int[] arg1,int arg2)
{
checkContext();
downstreamGL4bc.glVertexAttrib4NuivARB(arg0,arg1,arg2);
String txt = new String("glVertexAttrib4NuivARB(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glGetQueryObjectuiv(int arg0,int arg1,int[] arg2,int arg3)
{
checkContext();
downstreamGL4bc.glGetQueryObjectuiv(arg0,arg1,arg2,arg3);
String txt = new String("glGetQueryObjectuiv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
"