javax.media.opengl.DebugGL2 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jogl-all Show documentation
Show all versions of jogl-all Show documentation
Java™ Binding for the OpenGL® API
package javax.media.opengl;
import java.io.*;
import javax.media.opengl.*;
import com.jogamp.gluegen.runtime.*;
import java.nio.*;
import javax.media.opengl.GL2ES1;
import javax.media.opengl.GL2GL3;
import javax.media.opengl.GL2;
/** 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 gl = drawable.setGL(new DebugGL(drawable.getGL()));
*/
public class DebugGL2 implements javax.media.opengl.GL2ES1, javax.media.opengl.GL2GL3, javax.media.opengl.GL2{
public static final boolean DEBUG = jogamp.opengl.Debug.debug("DebugGL2");
public DebugGL2(GL2 downstreamGL2)
{
if (downstreamGL2 == null) {
throw new IllegalArgumentException("null downstreamGL2");
}
this.downstreamGL2 = downstreamGL2;
// Fetch GLContext object for better error checking (if possible)
_context = downstreamGL2.getContext();
}
public boolean isGL() {
return true;
}
public boolean isGL4bc() {
return false;
}
public boolean isGL4() {
return false;
}
public boolean isGL3bc() {
return false;
}
public boolean isGL3() {
return false;
}
public boolean isGL2() {
return true;
}
public boolean isGLES1() {
return false;
}
public boolean isGLES2() {
return false;
}
public boolean isGL2ES1() {
return true;
}
public boolean isGL2ES2() {
return true;
}
public boolean isGL2GL3() {
return true;
}
public boolean isGLES() {
return isGLES2() || isGLES1();
}
public boolean isGLES2Compatible() {
return downstreamGL2.isGLES2Compatible();
}
public javax.media.opengl.GL getGL() {
return this;
}
public javax.media.opengl.GL4bc getGL4bc() {
throw new GLException("Not a GL4bc implementation");
}
public javax.media.opengl.GL4 getGL4() {
throw new GLException("Not a GL4 implementation");
}
public javax.media.opengl.GL3bc getGL3bc() {
throw new GLException("Not a GL3bc implementation");
}
public javax.media.opengl.GL3 getGL3() {
throw new GLException("Not a GL3 implementation");
}
public javax.media.opengl.GL2 getGL2() {
return this;
}
public javax.media.opengl.GLES1 getGLES1() {
throw new GLException("Not a GLES1 implementation");
}
public javax.media.opengl.GLES2 getGLES2() {
throw new GLException("Not a GLES2 implementation");
}
public javax.media.opengl.GL2ES1 getGL2ES1() {
return this;
}
public javax.media.opengl.GL2ES2 getGL2ES2() {
return this;
}
public javax.media.opengl.GL2GL3 getGL2GL3() {
return this;
}
public GLProfile getGLProfile() {
return downstreamGL2.getGLProfile();
}
public void glMultiTexGenivEXT(int arg0,int arg1,int arg2,int[] arg3,int arg4)
{
checkContext();
downstreamGL2.glMultiTexGenivEXT(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glMultiTexGenivEXT(" +
" 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 glVertexAttrib4NubvARB(int arg0,byte[] arg1,int arg2)
{
checkContext();
downstreamGL2.glVertexAttrib4NubvARB(arg0,arg1,arg2);
String txt = new String("glVertexAttrib4NubvARB(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
"<[B>" + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glVertexAttribI4ubv(int arg0,java.nio.ByteBuffer arg1)
{
checkContext();
downstreamGL2.glVertexAttribI4ubv(arg0,arg1);
String txt = new String("glVertexAttribI4ubv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ")");
checkGLGetError( txt );
}
public void glMatrixLoadIdentityEXT(int arg0)
{
checkContext();
downstreamGL2.glMatrixLoadIdentityEXT(arg0);
String txt = new String("glMatrixLoadIdentityEXT(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glMultiTexCoord1s(int arg0,short arg1)
{
checkContext();
downstreamGL2.glMultiTexCoord1s(arg0,arg1);
String txt = new String("glMultiTexCoord1s(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ")");
checkGLGetError( txt );
}
public void glUseProgram(int arg0)
{
checkContext();
downstreamGL2.glUseProgram(arg0);
String txt = new String("glUseProgram(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glGenerateMipmap(int arg0)
{
checkContext();
downstreamGL2.glGenerateMipmap(arg0);
String txt = new String("glGenerateMipmap(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glProgramUniform1uiv(int arg0,int arg1,int arg2,int[] arg3,int arg4)
{
checkContext();
downstreamGL2.glProgramUniform1uiv(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glProgramUniform1uiv(" +
" 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 glProgramUniformMatrix4fvEXT(int arg0,int arg1,int arg2,boolean arg3,java.nio.FloatBuffer arg4)
{
checkContext();
downstreamGL2.glProgramUniformMatrix4fvEXT(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glProgramUniformMatrix4fvEXT(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
" "+arg3 + ", " +
" "+arg4 + ")");
checkGLGetError( txt );
}
public void glVDPAUFiniNV()
{
checkContext();
downstreamGL2.glVDPAUFiniNV();
String txt = new String("glVDPAUFiniNV(" +
")");
checkGLGetError( txt );
}
public void glVertexAttribs2hv(int arg0,int arg1,java.nio.ShortBuffer arg2)
{
checkContext();
downstreamGL2.glVertexAttribs2hv(arg0,arg1,arg2);
String txt = new String("glVertexAttribs2hv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glTextureImage2DMultisampleNV(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5,boolean arg6)
{
checkContext();
downstreamGL2.glTextureImage2DMultisampleNV(arg0,arg1,arg2,arg3,arg4,arg5,arg6);
String txt = new String("glTextureImage2DMultisampleNV(" +
" 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 glTexParameterfv(int arg0,int arg1,java.nio.FloatBuffer arg2)
{
checkContext();
downstreamGL2.glTexParameterfv(arg0,arg1,arg2);
String txt = new String("glTexParameterfv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glProgramUniformMatrix4dv(int arg0,int arg1,int arg2,boolean arg3,double[] arg4,int arg5)
{
checkContext();
downstreamGL2.glProgramUniformMatrix4dv(arg0,arg1,arg2,arg3,arg4,arg5);
String txt = new String("glProgramUniformMatrix4dv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
" "+arg3 + ", " +
"<[D>" + ", " +
" 0x"+Integer.toHexString(arg5).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glMultiTexParameterfvEXT(int arg0,int arg1,int arg2,float[] arg3,int arg4)
{
checkContext();
downstreamGL2.glMultiTexParameterfvEXT(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glMultiTexParameterfvEXT(" +
" 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 glBufferData(int arg0,long arg1,java.nio.Buffer arg2,int arg3)
{
checkContext();
downstreamGL2.glBufferData(arg0,arg1,arg2,arg3);
String txt = new String("glBufferData(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ", " +
" "+arg2 + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glGetnUniformdv(int arg0,int arg1,int arg2,java.nio.DoubleBuffer arg3)
{
checkContext();
downstreamGL2.glGetnUniformdv(arg0,arg1,arg2,arg3);
String txt = new String("glGetnUniformdv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
" "+arg3 + ")");
checkGLGetError( txt );
}
public void glProgramUniform1d(int arg0,int arg1,double arg2)
{
checkContext();
downstreamGL2.glProgramUniform1d(arg0,arg1,arg2);
String txt = new String("glProgramUniform1d(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glFogCoordd(double arg0)
{
checkContext();
downstreamGL2.glFogCoordd(arg0);
String txt = new String("glFogCoordd(" +
" "+arg0 + ")");
checkGLGetError( txt );
}
public void glUniformMatrix4fv(int arg0,int arg1,boolean arg2,float[] arg3,int arg4)
{
checkContext();
downstreamGL2.glUniformMatrix4fv(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glUniformMatrix4fv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ", " +
"<[F>" + ", " +
" 0x"+Integer.toHexString(arg4).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glProgramUniform1dv(int arg0,int arg1,int arg2,double[] arg3,int arg4)
{
checkContext();
downstreamGL2.glProgramUniform1dv(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glProgramUniform1dv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
"<[D>" + ", " +
" 0x"+Integer.toHexString(arg4).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glRasterPos3d(double arg0,double arg1,double arg2)
{
checkContext();
downstreamGL2.glRasterPos3d(arg0,arg1,arg2);
String txt = new String("glRasterPos3d(" +
" "+arg0 + ", " +
" "+arg1 + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glNamedFramebufferTexture2DEXT(int arg0,int arg1,int arg2,int arg3,int arg4)
{
checkContext();
downstreamGL2.glNamedFramebufferTexture2DEXT(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glNamedFramebufferTexture2DEXT(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg4).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glGetAttachedObjectsARB(int arg0,int arg1,int[] arg2,int arg3,int[] arg4,int arg5)
{
checkContext();
downstreamGL2.glGetAttachedObjectsARB(arg0,arg1,arg2,arg3,arg4,arg5);
String txt = new String("glGetAttachedObjectsARB(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg5).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glGetAttachedObjectsARB(int arg0,int arg1,java.nio.IntBuffer arg2,java.nio.IntBuffer arg3)
{
checkContext();
downstreamGL2.glGetAttachedObjectsARB(arg0,arg1,arg2,arg3);
String txt = new String("glGetAttachedObjectsARB(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ", " +
" "+arg3 + ")");
checkGLGetError( txt );
}
public void glValidateProgram(int arg0)
{
checkContext();
downstreamGL2.glValidateProgram(arg0);
String txt = new String("glValidateProgram(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glMultiTexCoord1h(int arg0,short arg1)
{
checkContext();
downstreamGL2.glMultiTexCoord1h(arg0,arg1);
String txt = new String("glMultiTexCoord1h(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ")");
checkGLGetError( txt );
}
public void glMultiTexCoordP2uiv(int arg0,int arg1,int[] arg2,int arg3)
{
checkContext();
downstreamGL2.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 glGetVertexAttribfvARB(int arg0,int arg1,java.nio.FloatBuffer arg2)
{
checkContext();
downstreamGL2.glGetVertexAttribfvARB(arg0,arg1,arg2);
String txt = new String("glGetVertexAttribfvARB(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glGetMultiTexGenfvEXT(int arg0,int arg1,int arg2,float[] arg3,int arg4)
{
checkContext();
downstreamGL2.glGetMultiTexGenfvEXT(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glGetMultiTexGenfvEXT(" +
" 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 glTexCoordP1uiv(int arg0,java.nio.IntBuffer arg1)
{
checkContext();
downstreamGL2.glTexCoordP1uiv(arg0,arg1);
String txt = new String("glTexCoordP1uiv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ")");
checkGLGetError( txt );
}
public void glLightModelfv(int arg0,float[] arg1,int arg2)
{
checkContext();
downstreamGL2.glLightModelfv(arg0,arg1,arg2);
String txt = new String("glLightModelfv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
"<[F>" + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glMultiTexCoordP3uiv(int arg0,int arg1,int[] arg2,int arg3)
{
checkContext();
downstreamGL2.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 glNamedFramebufferTexture3DEXT(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5)
{
checkContext();
downstreamGL2.glNamedFramebufferTexture3DEXT(arg0,arg1,arg2,arg3,arg4,arg5);
String txt = new String("glNamedFramebufferTexture3DEXT(" +
" 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 glGetLocalConstantFloatvEXT(int arg0,int arg1,java.nio.FloatBuffer arg2)
{
checkContext();
downstreamGL2.glGetLocalConstantFloatvEXT(arg0,arg1,arg2);
String txt = new String("glGetLocalConstantFloatvEXT(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glSamplerParameterIuiv(int arg0,int arg1,int[] arg2,int arg3)
{
checkContext();
downstreamGL2.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 glVertexAttrib2dARB(int arg0,double arg1,double arg2)
{
checkContext();
downstreamGL2.glVertexAttrib2dARB(arg0,arg1,arg2);
String txt = new String("glVertexAttrib2dARB(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glMatrixRotatefEXT(int arg0,float arg1,float arg2,float arg3,float arg4)
{
checkContext();
downstreamGL2.glMatrixRotatefEXT(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glMatrixRotatefEXT(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ", " +
" "+arg2 + ", " +
" "+arg3 + ", " +
" "+arg4 + ")");
checkGLGetError( txt );
}
public void glMap2d(int arg0,double arg1,double arg2,int arg3,int arg4,double arg5,double arg6,int arg7,int arg8,java.nio.DoubleBuffer arg9)
{
checkContext();
downstreamGL2.glMap2d(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
String txt = new String("glMap2d(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ", " +
" "+arg2 + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg4).toUpperCase() + ", " +
" "+arg5 + ", " +
" "+arg6 + ", " +
" 0x"+Integer.toHexString(arg7).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg8).toUpperCase() + ", " +
" "+arg9 + ")");
checkGLGetError( txt );
}
public void glGetnMapdv(int arg0,int arg1,int arg2,double[] arg3,int arg4)
{
checkContext();
downstreamGL2.glGetnMapdv(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glGetnMapdv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
"<[D>" + ", " +
" 0x"+Integer.toHexString(arg4).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glFlush()
{
checkContext();
downstreamGL2.glFlush();
String txt = new String("glFlush(" +
")");
checkGLGetError( txt );
}
public void glSecondaryColor3ui(int arg0,int arg1,int arg2)
{
checkContext();
downstreamGL2.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 glTexCoordP2uiv(int arg0,java.nio.IntBuffer arg1)
{
checkContext();
downstreamGL2.glTexCoordP2uiv(arg0,arg1);
String txt = new String("glTexCoordP2uiv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ")");
checkGLGetError( txt );
}
public void glVertexAttribL3ui64NV(int arg0,long arg1,long arg2,long arg3)
{
checkContext();
downstreamGL2.glVertexAttribL3ui64NV(arg0,arg1,arg2,arg3);
String txt = new String("glVertexAttribL3ui64NV(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ", " +
" "+arg2 + ", " +
" "+arg3 + ")");
checkGLGetError( txt );
}
public void glUniform3iv(int arg0,int arg1,java.nio.IntBuffer arg2)
{
checkContext();
downstreamGL2.glUniform3iv(arg0,arg1,arg2);
String txt = new String("glUniform3iv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glGetActiveAtomicCounterBufferiv(int arg0,int arg1,int arg2,int[] arg3,int arg4)
{
checkContext();
downstreamGL2.glGetActiveAtomicCounterBufferiv(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glGetActiveAtomicCounterBufferiv(" +
" 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 glProgramUniform3iEXT(int arg0,int arg1,int arg2,int arg3,int arg4)
{
checkContext();
downstreamGL2.glProgramUniform3iEXT(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glProgramUniform3iEXT(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg4).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glGetProgramEnvParameterIivNV(int arg0,int arg1,java.nio.IntBuffer arg2)
{
checkContext();
downstreamGL2.glGetProgramEnvParameterIivNV(arg0,arg1,arg2);
String txt = new String("glGetProgramEnvParameterIivNV(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glMultiDrawArrays(int arg0,int[] arg1,int arg2,int[] arg3,int arg4,int arg5)
{
checkContext();
downstreamGL2.glMultiDrawArrays(arg0,arg1,arg2,arg3,arg4,arg5);
String txt = new String("glMultiDrawArrays(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg4).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg5).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glMultiDrawArrays(int arg0,java.nio.IntBuffer arg1,java.nio.IntBuffer arg2,int arg3)
{
checkContext();
downstreamGL2.glMultiDrawArrays(arg0,arg1,arg2,arg3);
String txt = new String("glMultiDrawArrays(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ", " +
" "+arg2 + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glVertexAttribL1i64NV(int arg0,long arg1)
{
checkContext();
downstreamGL2.glVertexAttribL1i64NV(arg0,arg1);
String txt = new String("glVertexAttribL1i64NV(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ")");
checkGLGetError( txt );
}
public void glNormalPointer(int arg0,int arg1,long arg2)
{
checkContext();
downstreamGL2.glNormalPointer(arg0,arg1,arg2);
String txt = new String("glNormalPointer(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glGetObjectParameterivAPPLE(int arg0,int arg1,int arg2,java.nio.IntBuffer arg3)
{
checkContext();
downstreamGL2.glGetObjectParameterivAPPLE(arg0,arg1,arg2,arg3);
String txt = new String("glGetObjectParameterivAPPLE(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
" "+arg3 + ")");
checkGLGetError( txt );
}
public void glMap1d(int arg0,double arg1,double arg2,int arg3,int arg4,java.nio.DoubleBuffer arg5)
{
checkContext();
downstreamGL2.glMap1d(arg0,arg1,arg2,arg3,arg4,arg5);
String txt = new String("glMap1d(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ", " +
" "+arg2 + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg4).toUpperCase() + ", " +
" "+arg5 + ")");
checkGLGetError( txt );
}
public void glRasterPos4iv(java.nio.IntBuffer arg0)
{
checkContext();
downstreamGL2.glRasterPos4iv(arg0);
String txt = new String("glRasterPos4iv(" +
" "+arg0 + ")");
checkGLGetError( txt );
}
public boolean glIsBufferResidentNV(int arg0)
{
checkContext();
boolean _res = downstreamGL2.glIsBufferResidentNV(arg0);
String txt = new String("glIsBufferResidentNV(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ")");
checkGLGetError( txt );
return _res;
}
public void glCopyBufferSubData(int arg0,int arg1,long arg2,long arg3,long arg4)
{
checkContext();
downstreamGL2.glCopyBufferSubData(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glCopyBufferSubData(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ", " +
" "+arg3 + ", " +
" "+arg4 + ")");
checkGLGetError( txt );
}
public void glClearBufferuiv(int arg0,int arg1,java.nio.IntBuffer arg2)
{
checkContext();
downstreamGL2.glClearBufferuiv(arg0,arg1,arg2);
String txt = new String("glClearBufferuiv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glVertexAttrib3dv(int arg0,java.nio.DoubleBuffer arg1)
{
checkContext();
downstreamGL2.glVertexAttrib3dv(arg0,arg1);
String txt = new String("glVertexAttrib3dv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ")");
checkGLGetError( txt );
}
public void glVertexAttribL3ui64vNV(int arg0,long[] arg1,int arg2)
{
checkContext();
downstreamGL2.glVertexAttribL3ui64vNV(arg0,arg1,arg2);
String txt = new String("glVertexAttribL3ui64vNV(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
"<[J>" + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glFogfv(int arg0,float[] arg1,int arg2)
{
checkContext();
downstreamGL2.glFogfv(arg0,arg1,arg2);
String txt = new String("glFogfv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
"<[F>" + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glSecondaryColor3d(double arg0,double arg1,double arg2)
{
checkContext();
downstreamGL2.glSecondaryColor3d(arg0,arg1,arg2);
String txt = new String("glSecondaryColor3d(" +
" "+arg0 + ", " +
" "+arg1 + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glProgramEnvParameter4dvARB(int arg0,int arg1,java.nio.DoubleBuffer arg2)
{
checkContext();
downstreamGL2.glProgramEnvParameter4dvARB(arg0,arg1,arg2);
String txt = new String("glProgramEnvParameter4dvARB(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glVertexAttribIPointer(int arg0,int arg1,int arg2,int arg3,java.nio.Buffer arg4)
{
checkContext();
downstreamGL2.glVertexAttribIPointer(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glVertexAttribIPointer(" +
" 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 glUniformui64vNV(int arg0,int arg1,java.nio.LongBuffer arg2)
{
checkContext();
downstreamGL2.glUniformui64vNV(arg0,arg1,arg2);
String txt = new String("glUniformui64vNV(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glVertex4hv(short[] arg0,int arg1)
{
checkContext();
downstreamGL2.glVertex4hv(arg0,arg1);
String txt = new String("glVertex4hv(" +
"<[S>" + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glPixelMapuiv(int arg0,int arg1,long arg2)
{
checkContext();
downstreamGL2.glPixelMapuiv(arg0,arg1,arg2);
String txt = new String("glPixelMapuiv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glVertexAttrib2fv(int arg0,float[] arg1,int arg2)
{
checkContext();
downstreamGL2.glVertexAttrib2fv(arg0,arg1,arg2);
String txt = new String("glVertexAttrib2fv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
"<[F>" + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glMultiTexCoord1dv(int arg0,double[] arg1,int arg2)
{
checkContext();
downstreamGL2.glMultiTexCoord1dv(arg0,arg1,arg2);
String txt = new String("glMultiTexCoord1dv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
"<[D>" + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glClearBufferuiv(int arg0,int arg1,int[] arg2,int arg3)
{
checkContext();
downstreamGL2.glClearBufferuiv(arg0,arg1,arg2,arg3);
String txt = new String("glClearBufferuiv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glIndexd(double arg0)
{
checkContext();
downstreamGL2.glIndexd(arg0);
String txt = new String("glIndexd(" +
" "+arg0 + ")");
checkGLGetError( txt );
}
public void glRasterPos4iv(int[] arg0,int arg1)
{
checkContext();
downstreamGL2.glRasterPos4iv(arg0,arg1);
String txt = new String("glRasterPos4iv(" +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ")");
checkGLGetError( txt );
}
public int glRenderMode(int arg0)
{
checkContext();
int _res = downstreamGL2.glRenderMode(arg0);
String txt = new String("glRenderMode(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ")");
checkGLGetError( txt );
return _res;
}
public void glVariantbvEXT(int arg0,java.nio.ByteBuffer arg1)
{
checkContext();
downstreamGL2.glVariantbvEXT(arg0,arg1);
String txt = new String("glVariantbvEXT(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ")");
checkGLGetError( txt );
}
public void glVertexAttrib4dvARB(int arg0,double[] arg1,int arg2)
{
checkContext();
downstreamGL2.glVertexAttrib4dvARB(arg0,arg1,arg2);
String txt = new String("glVertexAttrib4dvARB(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
"<[D>" + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glColorPointer(int arg0,int arg1,int arg2,java.nio.Buffer arg3)
{
checkContext();
downstreamGL2.glColorPointer(arg0,arg1,arg2,arg3);
String txt = new String("glColorPointer(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
" "+arg3 + ")");
checkGLGetError( txt );
}
public void glVertexAttribP3ui(int arg0,int arg1,boolean arg2,int arg3)
{
checkContext();
downstreamGL2.glVertexAttribP3ui(arg0,arg1,arg2,arg3);
String txt = new String("glVertexAttribP3ui(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glVertexAttrib3sARB(int arg0,short arg1,short arg2,short arg3)
{
checkContext();
downstreamGL2.glVertexAttrib3sARB(arg0,arg1,arg2,arg3);
String txt = new String("glVertexAttrib3sARB(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ", " +
" "+arg2 + ", " +
" "+arg3 + ")");
checkGLGetError( txt );
}
public void glProgramUniformMatrix4x2fv(int arg0,int arg1,int arg2,boolean arg3,float[] arg4,int arg5)
{
checkContext();
downstreamGL2.glProgramUniformMatrix4x2fv(arg0,arg1,arg2,arg3,arg4,arg5);
String txt = new String("glProgramUniformMatrix4x2fv(" +
" 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 glGetObjectParameterivAPPLE(int arg0,int arg1,int arg2,int[] arg3,int arg4)
{
checkContext();
downstreamGL2.glGetObjectParameterivAPPLE(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glGetObjectParameterivAPPLE(" +
" 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 glCompressedTexImage1D(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5,long arg6)
{
checkContext();
downstreamGL2.glCompressedTexImage1D(arg0,arg1,arg2,arg3,arg4,arg5,arg6);
String txt = new String("glCompressedTexImage1D(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
"