javax.media.opengl.DebugGLES3 Maven / Gradle / Ivy
package javax.media.opengl;
import java.io.*;
import javax.media.opengl.*;
import com.jogamp.gluegen.runtime.*;
import java.nio.*;
import javax.media.opengl.GLES2;
import javax.media.opengl.GLES3;
import javax.media.opengl.GL4ES3;
/**
*
* 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 DebugGLES3 implements javax.media.opengl.GLES2, javax.media.opengl.GL4ES3, javax.media.opengl.GLES3{
public static final boolean DEBUG = jogamp.opengl.Debug.debug("DebugGLES3");
public DebugGLES3(GLES3 downstreamGLES3)
{
if (downstreamGLES3 == null) {
throw new IllegalArgumentException("null downstreamGLES3");
}
this.downstreamGLES3 = downstreamGLES3;
// Fetch GLContext object for better error checking (if possible)
_context = downstreamGLES3.getContext();
}
@Override
public final boolean isGL() {
return downstreamGLES3.isGL();
}
@Override
public final boolean isGL4bc() {
return downstreamGLES3.isGL4bc();
}
@Override
public final boolean isGL4() {
return downstreamGLES3.isGL4();
}
@Override
public final boolean isGL3bc() {
return downstreamGLES3.isGL3bc();
}
@Override
public final boolean isGL3() {
return downstreamGLES3.isGL3();
}
@Override
public final boolean isGL2() {
return downstreamGLES3.isGL2();
}
@Override
public final boolean isGLES1() {
return downstreamGLES3.isGLES1();
}
@Override
public final boolean isGLES2() {
return downstreamGLES3.isGLES2();
}
@Override
public final boolean isGLES3() {
return downstreamGLES3.isGLES3();
}
@Override
public final boolean isGL2ES1() {
return downstreamGLES3.isGL2ES1();
}
@Override
public final boolean isGL2ES2() {
return downstreamGLES3.isGL2ES2();
}
@Override
public final boolean isGL2ES3() {
return downstreamGLES3.isGL2ES3();
}
@Override
public final boolean isGL3ES3() {
return downstreamGLES3.isGL3ES3();
}
@Override
public final boolean isGL4ES3() {
return downstreamGLES3.isGL4ES3();
}
@Override
public final boolean isGL2GL3() {
return downstreamGLES3.isGL2GL3();
}
@Override
public final boolean isGLES() {
return downstreamGLES3.isGLES();
}
@Override
public final boolean isGL4core() {
return downstreamGLES3.isGL4core();
}
@Override
public final boolean isGL3core() {
return downstreamGLES3.isGL3core();
}
@Override
public final boolean isGLcore() {
return downstreamGLES3.isGLcore();
}
@Override
public final boolean isGLES2Compatible() {
return downstreamGLES3.isGLES2Compatible();
}
@Override
public final boolean isGLES3Compatible() {
return downstreamGLES3.isGLES3Compatible();
}
@Override
public final javax.media.opengl.GL getGL() {
return downstreamGLES3.getGL();
}
@Override
public final javax.media.opengl.GL4bc getGL4bc() {
return downstreamGLES3.getGL4bc();
}
@Override
public final javax.media.opengl.GL4 getGL4() {
return downstreamGLES3.getGL4();
}
@Override
public final javax.media.opengl.GL3bc getGL3bc() {
return downstreamGLES3.getGL3bc();
}
@Override
public final javax.media.opengl.GL3 getGL3() {
return downstreamGLES3.getGL3();
}
@Override
public final javax.media.opengl.GL2 getGL2() {
return downstreamGLES3.getGL2();
}
@Override
public final javax.media.opengl.GLES1 getGLES1() {
return downstreamGLES3.getGLES1();
}
@Override
public final javax.media.opengl.GLES2 getGLES2() {
return downstreamGLES3.getGLES2();
}
@Override
public final javax.media.opengl.GLES3 getGLES3() {
return downstreamGLES3.getGLES3();
}
@Override
public final javax.media.opengl.GL2ES1 getGL2ES1() {
return downstreamGLES3.getGL2ES1();
}
@Override
public final javax.media.opengl.GL2ES2 getGL2ES2() {
return downstreamGLES3.getGL2ES2();
}
@Override
public final javax.media.opengl.GL2ES3 getGL2ES3() {
return downstreamGLES3.getGL2ES3();
}
@Override
public final javax.media.opengl.GL3ES3 getGL3ES3() {
return downstreamGLES3.getGL3ES3();
}
@Override
public final javax.media.opengl.GL4ES3 getGL4ES3() {
return downstreamGLES3.getGL4ES3();
}
@Override
public final javax.media.opengl.GL2GL3 getGL2GL3() {
return downstreamGLES3.getGL2GL3();
}
@Override
public final GL getDownstreamGL() throws GLException {
return downstreamGLES3;
}
@Override
public final GLProfile getGLProfile() {
return downstreamGLES3.getGLProfile();
}
public int glGetFragDataLocation(int arg0,java.lang.String arg1)
{
checkContext();
int _res = downstreamGLES3.glGetFragDataLocation(arg0,arg1);
String txt = new String("glGetFragDataLocation(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ")");
checkGLGetError( txt );
return _res;
}
public void glBlitFramebufferANGLE(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5,int arg6,int arg7,int arg8,int arg9)
{
checkContext();
downstreamGLES3.glBlitFramebufferANGLE(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
String txt = new String("glBlitFramebufferANGLE(" +
" 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() + ")");
checkGLGetError( txt );
}
public void glDeleteShader(int arg0)
{
checkContext();
downstreamGLES3.glDeleteShader(arg0);
String txt = new String("glDeleteShader(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glBlitFramebufferNV(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5,int arg6,int arg7,int arg8,int arg9)
{
checkContext();
downstreamGLES3.glBlitFramebufferNV(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
String txt = new String("glBlitFramebufferNV(" +
" 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() + ")");
checkGLGetError( txt );
}
public void glEnable(int arg0)
{
checkContext();
downstreamGLES3.glEnable(arg0);
String txt = new String("glEnable(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glRenderbufferStorageMultisampleIMG(int arg0,int arg1,int arg2,int arg3,int arg4)
{
checkContext();
downstreamGLES3.glRenderbufferStorageMultisampleIMG(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glRenderbufferStorageMultisampleIMG(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg4).toUpperCase() + ")");
checkGLGetError( txt );
}
public int glGetUniformLocation(int arg0,java.lang.String arg1)
{
checkContext();
int _res = downstreamGLES3.glGetUniformLocation(arg0,arg1);
String txt = new String("glGetUniformLocation(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ")");
checkGLGetError( txt );
return _res;
}
public void glTexParameterf(int arg0,int arg1,float arg2)
{
checkContext();
downstreamGLES3.glTexParameterf(arg0,arg1,arg2);
String txt = new String("glTexParameterf(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glGetBooleanv(int arg0,java.nio.ByteBuffer arg1)
{
checkContext();
downstreamGLES3.glGetBooleanv(arg0,arg1);
String txt = new String("glGetBooleanv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ")");
checkGLGetError( txt );
}
public int glGetUniformBlockIndex(int arg0,java.lang.String arg1)
{
checkContext();
int _res = downstreamGLES3.glGetUniformBlockIndex(arg0,arg1);
String txt = new String("glGetUniformBlockIndex(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ")");
checkGLGetError( txt );
return _res;
}
public void glUniformMatrix3x4fv(int arg0,int arg1,boolean arg2,java.nio.FloatBuffer arg3)
{
checkContext();
downstreamGLES3.glUniformMatrix3x4fv(arg0,arg1,arg2,arg3);
String txt = new String("glUniformMatrix3x4fv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ", " +
" "+arg3 + ")");
checkGLGetError( txt );
}
public void glBindTexture(int arg0,int arg1)
{
checkContext();
downstreamGLES3.glBindTexture(arg0,arg1);
String txt = new String("glBindTexture(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glUseProgram(int arg0)
{
checkContext();
downstreamGLES3.glUseProgram(arg0);
String txt = new String("glUseProgram(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glGenerateMipmap(int arg0)
{
checkContext();
downstreamGLES3.glGenerateMipmap(arg0);
String txt = new String("glGenerateMipmap(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glBindBufferRange(int arg0,int arg1,int arg2,long arg3,long arg4)
{
checkContext();
downstreamGLES3.glBindBufferRange(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glBindBufferRange(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
" "+arg3 + ", " +
" "+arg4 + ")");
checkGLGetError( txt );
}
public void glDebugMessageControl(int arg0,int arg1,int arg2,int arg3,int[] arg4,int arg5,boolean arg6)
{
checkContext();
downstreamGLES3.glDebugMessageControl(arg0,arg1,arg2,arg3,arg4,arg5,arg6);
String txt = new String("glDebugMessageControl(" +
" 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() + ", " +
" "+arg6 + ")");
checkGLGetError( txt );
}
public void glClearBufferuiv(int arg0,int arg1,int[] arg2,int arg3)
{
checkContext();
downstreamGLES3.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 glGetShaderInfoLog(int arg0,int arg1,java.nio.IntBuffer arg2,java.nio.ByteBuffer arg3)
{
checkContext();
downstreamGLES3.glGetShaderInfoLog(arg0,arg1,arg2,arg3);
String txt = new String("glGetShaderInfoLog(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ", " +
" "+arg3 + ")");
checkGLGetError( txt );
}
public void glClearColor(float arg0,float arg1,float arg2,float arg3)
{
checkContext();
downstreamGLES3.glClearColor(arg0,arg1,arg2,arg3);
String txt = new String("glClearColor(" +
" "+arg0 + ", " +
" "+arg1 + ", " +
" "+arg2 + ", " +
" "+arg3 + ")");
checkGLGetError( txt );
}
public void glDepthRangef(float arg0,float arg1)
{
checkContext();
downstreamGLES3.glDepthRangef(arg0,arg1);
String txt = new String("glDepthRangef(" +
" "+arg0 + ", " +
" "+arg1 + ")");
checkGLGetError( txt );
}
public void glDeleteFramebuffers(int arg0,int[] arg1,int arg2)
{
checkContext();
downstreamGLES3.glDeleteFramebuffers(arg0,arg1,arg2);
String txt = new String("glDeleteFramebuffers(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glValidateProgram(int arg0)
{
checkContext();
downstreamGLES3.glValidateProgram(arg0);
String txt = new String("glValidateProgram(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glBlitFramebuffer(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5,int arg6,int arg7,int arg8,int arg9)
{
checkContext();
downstreamGLES3.glBlitFramebuffer(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
String txt = new String("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() + ")");
checkGLGetError( txt );
}
public void glPushGroupMarkerEXT(int arg0,byte[] arg1,int arg2)
{
checkContext();
downstreamGLES3.glPushGroupMarkerEXT(arg0,arg1,arg2);
String txt = new String("glPushGroupMarkerEXT(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
"<[B>" + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glPopDebugGroup()
{
checkContext();
downstreamGLES3.glPopDebugGroup();
String txt = new String("glPopDebugGroup(" +
")");
checkGLGetError( txt );
}
public void glTexSubImage3D(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5,int arg6,int arg7,int arg8,int arg9,java.nio.Buffer arg10)
{
checkContext();
downstreamGLES3.glTexSubImage3D(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
String txt = new String("glTexSubImage3D(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg4).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg5).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg6).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg7).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg8).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg9).toUpperCase() + ", " +
" "+arg10 + ")");
checkGLGetError( txt );
}
public void glUniform2iv(int arg0,int arg1,int[] arg2,int arg3)
{
checkContext();
downstreamGLES3.glUniform2iv(arg0,arg1,arg2,arg3);
String txt = new String("glUniform2iv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glUniform2uiv(int arg0,int arg1,java.nio.IntBuffer arg2)
{
checkContext();
downstreamGLES3.glUniform2uiv(arg0,arg1,arg2);
String txt = new String("glUniform2uiv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glGetTransformFeedbackVarying(int arg0,int arg1,int arg2,int[] arg3,int arg4,int[] arg5,int arg6,int[] arg7,int arg8,byte[] arg9,int arg10)
{
checkContext();
downstreamGLES3.glGetTransformFeedbackVarying(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
String txt = new String("glGetTransformFeedbackVarying(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg4).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg6).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg8).toUpperCase() + ", " +
"<[B>" + ", " +
" 0x"+Integer.toHexString(arg10).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glInsertEventMarkerEXT(int arg0,java.nio.ByteBuffer arg1)
{
checkContext();
downstreamGLES3.glInsertEventMarkerEXT(arg0,arg1);
String txt = new String("glInsertEventMarkerEXT(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ")");
checkGLGetError( txt );
}
public void glGetFramebufferAttachmentParameteriv(int arg0,int arg1,int arg2,int[] arg3,int arg4)
{
checkContext();
downstreamGLES3.glGetFramebufferAttachmentParameteriv(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glGetFramebufferAttachmentParameteriv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg4).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glUniform3iv(int arg0,int arg1,int[] arg2,int arg3)
{
checkContext();
downstreamGLES3.glUniform3iv(arg0,arg1,arg2,arg3);
String txt = new String("glUniform3iv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ")");
checkGLGetError( txt );
}
public java.nio.ByteBuffer glMapBufferRange(int arg0,long arg1,long arg2,int arg3)
{
checkContext();
java.nio.ByteBuffer _res = downstreamGLES3.glMapBufferRange(arg0,arg1,arg2,arg3);
String txt = new String("glMapBufferRange(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ", " +
" "+arg2 + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ")");
checkGLGetError( txt );
return _res;
}
public void glTexImage3D(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5,int arg6,int arg7,int arg8,long arg9)
{
checkContext();
downstreamGLES3.glTexImage3D(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
String txt = new String("glTexImage3D(" +
" 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() + ", " +
" "+arg9 + ")");
checkGLGetError( txt );
}
public void glDepthRange(double arg0,double arg1)
{
checkContext();
downstreamGLES3.glDepthRange(arg0,arg1);
String txt = new String("glDepthRange(" +
" "+arg0 + ", " +
" "+arg1 + ")");
checkGLGetError( txt );
}
public boolean isExtensionAvailable(java.lang.String arg0)
{
return downstreamGLES3.isExtensionAvailable(arg0);
}
public void glReadBuffer(int arg0)
{
checkContext();
downstreamGLES3.glReadBuffer(arg0);
String txt = new String("glReadBuffer(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glDrawBuffersIndexedEXT(int arg0,int[] arg1,int arg2,int[] arg3,int arg4)
{
checkContext();
downstreamGLES3.glDrawBuffersIndexedEXT(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glDrawBuffersIndexedEXT(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg4).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glDrawBuffersIndexedEXT(int arg0,java.nio.IntBuffer arg1,java.nio.IntBuffer arg2)
{
checkContext();
downstreamGLES3.glDrawBuffersIndexedEXT(arg0,arg1,arg2);
String txt = new String("glDrawBuffersIndexedEXT(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glGetBufferParameteri64v(int arg0,int arg1,long[] arg2,int arg3)
{
checkContext();
downstreamGLES3.glGetBufferParameteri64v(arg0,arg1,arg2,arg3);
String txt = new String("glGetBufferParameteri64v(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
"<[J>" + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glGetVertexAttribIuiv(int arg0,int arg1,int[] arg2,int arg3)
{
checkContext();
downstreamGLES3.glGetVertexAttribIuiv(arg0,arg1,arg2,arg3);
String txt = new String("glGetVertexAttribIuiv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glTexSubImage2D(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5,int arg6,int arg7,java.nio.Buffer arg8)
{
checkContext();
downstreamGLES3.glTexSubImage2D(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
String txt = new String("glTexSubImage2D(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg4).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg5).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg6).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg7).toUpperCase() + ", " +
" "+arg8 + ")");
checkGLGetError( txt );
}
public void glSamplerParameteri(int arg0,int arg1,int arg2)
{
checkContext();
downstreamGLES3.glSamplerParameteri(arg0,arg1,arg2);
String txt = new String("glSamplerParameteri(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glGetUniformiv(int arg0,int arg1,int[] arg2,int arg3)
{
checkContext();
downstreamGLES3.glGetUniformiv(arg0,arg1,arg2,arg3);
String txt = new String("glGetUniformiv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glSelectPerfMonitorCountersAMD(int arg0,boolean arg1,int arg2,int arg3,java.nio.IntBuffer arg4)
{
checkContext();
downstreamGLES3.glSelectPerfMonitorCountersAMD(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glSelectPerfMonitorCountersAMD(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ", " +
" "+arg4 + ")");
checkGLGetError( txt );
}
public void glUniform4uiv(int arg0,int arg1,int[] arg2,int arg3)
{
checkContext();
downstreamGLES3.glUniform4uiv(arg0,arg1,arg2,arg3);
String txt = new String("glUniform4uiv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glCompressedTexImage2D(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5,int arg6,java.nio.Buffer arg7)
{
checkContext();
downstreamGLES3.glCompressedTexImage2D(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7);
String txt = new String("glCompressedTexImage2D(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg4).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg5).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg6).toUpperCase() + ", " +
" "+arg7 + ")");
checkGLGetError( txt );
}
public void glGetActiveUniformBlockiv(int arg0,int arg1,int arg2,java.nio.IntBuffer arg3)
{
checkContext();
downstreamGLES3.glGetActiveUniformBlockiv(arg0,arg1,arg2,arg3);
String txt = new String("glGetActiveUniformBlockiv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
" "+arg3 + ")");
checkGLGetError( txt );
}
public void glExtGetTexturesQCOM(java.nio.IntBuffer arg0,int arg1,java.nio.IntBuffer arg2)
{
checkContext();
downstreamGLES3.glExtGetTexturesQCOM(arg0,arg1,arg2);
String txt = new String("glExtGetTexturesQCOM(" +
" "+arg0 + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glExtGetTexturesQCOM(int[] arg0,int arg1,int arg2,int[] arg3,int arg4)
{
checkContext();
downstreamGLES3.glExtGetTexturesQCOM(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glExtGetTexturesQCOM(" +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg4).toUpperCase() + ")");
checkGLGetError( txt );
}
public boolean hasGLSL()
{
return downstreamGLES3.hasGLSL();
}
public void glTexParameterfv(int arg0,int arg1,float[] arg2,int arg3)
{
checkContext();
downstreamGLES3.glTexParameterfv(arg0,arg1,arg2,arg3);
String txt = new String("glTexParameterfv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
"<[F>" + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glGenQueries(int arg0,int[] arg1,int arg2)
{
checkContext();
downstreamGLES3.glGenQueries(arg0,arg1,arg2);
String txt = new String("glGenQueries(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glEndQuery(int arg0)
{
checkContext();
downstreamGLES3.glEndQuery(arg0);
String txt = new String("glEndQuery(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glBindFramebuffer(int arg0,int arg1)
{
checkContext();
downstreamGLES3.glBindFramebuffer(arg0,arg1);
String txt = new String("glBindFramebuffer(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glGetInternalformativ(int arg0,int arg1,int arg2,int arg3,int[] arg4,int arg5)
{
checkContext();
downstreamGLES3.glGetInternalformativ(arg0,arg1,arg2,arg3,arg4,arg5);
String txt = new String("glGetInternalformativ(" +
" 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 glGetVertexAttribiv(int arg0,int arg1,java.nio.IntBuffer arg2)
{
checkContext();
downstreamGLES3.glGetVertexAttribiv(arg0,arg1,arg2);
String txt = new String("glGetVertexAttribiv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glDeleteQueries(int arg0,int[] arg1,int arg2)
{
checkContext();
downstreamGLES3.glDeleteQueries(arg0,arg1,arg2);
String txt = new String("glDeleteQueries(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glCullFace(int arg0)
{
checkContext();
downstreamGLES3.glCullFace(arg0);
String txt = new String("glCullFace(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glGetActiveUniformBlockName(int arg0,int arg1,int arg2,int[] arg3,int arg4,byte[] arg5,int arg6)
{
checkContext();
downstreamGLES3.glGetActiveUniformBlockName(arg0,arg1,arg2,arg3,arg4,arg5,arg6);
String txt = new String("glGetActiveUniformBlockName(" +
" 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 glVertexAttribPointer(int arg0,int arg1,int arg2,boolean arg3,int arg4,long arg5)
{
checkContext();
downstreamGLES3.glVertexAttribPointer(arg0,arg1,arg2,arg3,arg4,arg5);
String txt = new String("glVertexAttribPointer(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
" "+arg3 + ", " +
" 0x"+Integer.toHexString(arg4).toUpperCase() + ", " +
" "+arg5 + ")");
checkGLGetError( txt );
}
public void glTextureStorage3D(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5,int arg6)
{
checkContext();
downstreamGLES3.glTextureStorage3D(arg0,arg1,arg2,arg3,arg4,arg5,arg6);
String txt = new String("glTextureStorage3D(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg4).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg5).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg6).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glGetVertexAttribIuiv(int arg0,int arg1,java.nio.IntBuffer arg2)
{
checkContext();
downstreamGLES3.glGetVertexAttribIuiv(arg0,arg1,arg2);
String txt = new String("glGetVertexAttribIuiv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glReadBufferIndexedEXT(int arg0,int arg1)
{
checkContext();
downstreamGLES3.glReadBufferIndexedEXT(arg0,arg1);
String txt = new String("glReadBufferIndexedEXT(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glLabelObjectEXT(int arg0,int arg1,int arg2,byte[] arg3,int arg4)
{
checkContext();
downstreamGLES3.glLabelObjectEXT(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glLabelObjectEXT(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
"<[B>" + ", " +
" 0x"+Integer.toHexString(arg4).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glGetUniformiv(int arg0,int arg1,java.nio.IntBuffer arg2)
{
checkContext();
downstreamGLES3.glGetUniformiv(arg0,arg1,arg2);
String txt = new String("glGetUniformiv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glLineWidth(float arg0)
{
checkContext();
downstreamGLES3.glLineWidth(arg0);
String txt = new String("glLineWidth(" +
" "+arg0 + ")");
checkGLGetError( txt );
}
public void glBlendEquation(int arg0)
{
checkContext();
downstreamGLES3.glBlendEquation(arg0);
String txt = new String("glBlendEquation(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glDrawElementsInstancedANGLE(int arg0,int arg1,int arg2,java.nio.Buffer arg3,int arg4)
{
checkContext();
downstreamGLES3.glDrawElementsInstancedANGLE(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glDrawElementsInstancedANGLE(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
" "+arg3 + ", " +
" 0x"+Integer.toHexString(arg4).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glSelectPerfMonitorCountersAMD(int arg0,boolean arg1,int arg2,int arg3,int[] arg4,int arg5)
{
checkContext();
downstreamGLES3.glSelectPerfMonitorCountersAMD(arg0,arg1,arg2,arg3,arg4,arg5);
String txt = new String("glSelectPerfMonitorCountersAMD(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg5).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glVertexAttrib4fv(int arg0,float[] arg1,int arg2)
{
checkContext();
downstreamGLES3.glVertexAttrib4fv(arg0,arg1,arg2);
String txt = new String("glVertexAttrib4fv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
"<[F>" + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glGetActiveUniform(int arg0,int arg1,int arg2,int[] arg3,int arg4,int[] arg5,int arg6,int[] arg7,int arg8,byte[] arg9,int arg10)
{
checkContext();
downstreamGLES3.glGetActiveUniform(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
String txt = new String("glGetActiveUniform(" +
"