javax.media.opengl.DebugGLES3 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.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 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.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 void glUniform2f(int arg0,float arg1,float arg2)
{
checkContext();
downstreamGLES3.glUniform2f(arg0,arg1,arg2);
String txt = new String("glUniform2f(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glGenVertexArrays(int arg0,int[] arg1,int arg2)
{
checkContext();
downstreamGLES3.glGenVertexArrays(arg0,arg1,arg2);
String txt = new String("glGenVertexArrays(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glBlendFunc(int arg0,int arg1)
{
checkContext();
downstreamGLES3.glBlendFunc(arg0,arg1);
String txt = new String("glBlendFunc(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glUniform2i(int arg0,int arg1,int arg2)
{
checkContext();
downstreamGLES3.glUniform2i(arg0,arg1,arg2);
String txt = new String("glUniform2i(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public boolean glIsRenderbuffer(int arg0)
{
checkContext();
boolean _res = downstreamGLES3.glIsRenderbuffer(arg0);
String txt = new String("glIsRenderbuffer(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ")");
checkGLGetError( txt );
return _res;
}
public void glExtGetBuffersQCOM(java.nio.IntBuffer arg0,int arg1,java.nio.IntBuffer arg2)
{
checkContext();
downstreamGLES3.glExtGetBuffersQCOM(arg0,arg1,arg2);
String txt = new String("glExtGetBuffersQCOM(" +
" "+arg0 + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glExtGetBuffersQCOM(int[] arg0,int arg1,int arg2,int[] arg3,int arg4)
{
checkContext();
downstreamGLES3.glExtGetBuffersQCOM(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glExtGetBuffersQCOM(" +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg4).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glVertexAttribDivisor(int arg0,int arg1)
{
checkContext();
downstreamGLES3.glVertexAttribDivisor(arg0,arg1);
String txt = new String("glVertexAttribDivisor(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glGetFenceivNV(int arg0,int arg1,java.nio.IntBuffer arg2)
{
checkContext();
downstreamGLES3.glGetFenceivNV(arg0,arg1,arg2);
String txt = new String("glGetFenceivNV(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public boolean glIsBuffer(int arg0)
{
checkContext();
boolean _res = downstreamGLES3.glIsBuffer(arg0);
String txt = new String("glIsBuffer(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ")");
checkGLGetError( txt );
return _res;
}
public void glClearBufferfi(int arg0,int arg1,float arg2,int arg3)
{
checkContext();
downstreamGLES3.glClearBufferfi(arg0,arg1,arg2,arg3);
String txt = new String("glClearBufferfi(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glReleaseShaderCompiler()
{
checkContext();
downstreamGLES3.glReleaseShaderCompiler();
String txt = new String("glReleaseShaderCompiler(" +
")");
checkGLGetError( txt );
}
public void glVertexAttrib3f(int arg0,float arg1,float arg2,float arg3)
{
checkContext();
downstreamGLES3.glVertexAttrib3f(arg0,arg1,arg2,arg3);
String txt = new String("glVertexAttrib3f(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ", " +
" "+arg2 + ", " +
" "+arg3 + ")");
checkGLGetError( txt );
}
public void glDeleteProgram(int arg0)
{
checkContext();
downstreamGLES3.glDeleteProgram(arg0);
String txt = new String("glDeleteProgram(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glDeleteVertexArraysOES(int arg0,int[] arg1,int arg2)
{
checkContext();
downstreamGLES3.glDeleteVertexArraysOES(arg0,arg1,arg2);
String txt = new String("glDeleteVertexArraysOES(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glGetUniformIndices(int arg0,int arg1,java.lang.String[] arg2,int[] arg3,int arg4)
{
checkContext();
downstreamGLES3.glGetUniformIndices(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glGetUniformIndices(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
"<[Ljava.lang.String;>" + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg4).toUpperCase() + ")");
checkGLGetError( txt );
}
public boolean glIsSampler(int arg0)
{
checkContext();
boolean _res = downstreamGLES3.glIsSampler(arg0);
String txt = new String("glIsSampler(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ")");
checkGLGetError( txt );
return _res;
}
public void glGenSamplers(int arg0,java.nio.IntBuffer arg1)
{
checkContext();
downstreamGLES3.glGenSamplers(arg0,arg1);
String txt = new String("glGenSamplers(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ")");
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 glEndTilingQCOM(int arg0)
{
checkContext();
downstreamGLES3.glEndTilingQCOM(arg0);
String txt = new String("glEndTilingQCOM(" +
" 0x"+Integer.toHexString(arg0).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 glDrawElementsInstancedNV(int arg0,int arg1,int arg2,java.nio.Buffer arg3,int arg4)
{
checkContext();
downstreamGLES3.glDrawElementsInstancedNV(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glDrawElementsInstancedNV(" +
" 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 glReadPixels(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5,java.nio.Buffer arg6)
{
checkContext();
downstreamGLES3.glReadPixels(arg0,arg1,arg2,arg3,arg4,arg5,arg6);
String txt = new String("glReadPixels(" +
" 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 glCopyTexSubImage3D(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5,int arg6,int arg7,int arg8)
{
checkContext();
downstreamGLES3.glCopyTexSubImage3D(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
String txt = new String("glCopyTexSubImage3D(" +
" 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() + ")");
checkGLGetError( txt );
}
public void glSampleCoverage(float arg0,boolean arg1)
{
checkContext();
downstreamGLES3.glSampleCoverage(arg0,arg1);
String txt = new String("glSampleCoverage(" +
" "+arg0 + ", " +
" "+arg1 + ")");
checkGLGetError( txt );
}
public void glGenVertexArraysOES(int arg0,int[] arg1,int arg2)
{
checkContext();
downstreamGLES3.glGenVertexArraysOES(arg0,arg1,arg2);
String txt = new String("glGenVertexArraysOES(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glCopyTexImage2D(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5,int arg6,int arg7)
{
checkContext();
downstreamGLES3.glCopyTexImage2D(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7);
String txt = new String("glCopyTexImage2D(" +
" 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() + ")");
checkGLGetError( txt );
}
public void glExtGetFramebuffersQCOM(java.nio.IntBuffer arg0,int arg1,java.nio.IntBuffer arg2)
{
checkContext();
downstreamGLES3.glExtGetFramebuffersQCOM(arg0,arg1,arg2);
String txt = new String("glExtGetFramebuffersQCOM(" +
" "+arg0 + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glExtGetFramebuffersQCOM(int[] arg0,int arg1,int arg2,int[] arg3,int arg4)
{
checkContext();
downstreamGLES3.glExtGetFramebuffersQCOM(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glExtGetFramebuffersQCOM(" +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg4).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glGetIntegerv(int arg0,int[] arg1,int arg2)
{
checkContext();
downstreamGLES3.glGetIntegerv(arg0,arg1,arg2);
String txt = new String("glGetIntegerv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glExtGetShadersQCOM(java.nio.IntBuffer arg0,int arg1,java.nio.IntBuffer arg2)
{
checkContext();
downstreamGLES3.glExtGetShadersQCOM(arg0,arg1,arg2);
String txt = new String("glExtGetShadersQCOM(" +
" "+arg0 + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glExtGetShadersQCOM(int[] arg0,int arg1,int arg2,int[] arg3,int arg4)
{
checkContext();
downstreamGLES3.glExtGetShadersQCOM(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glExtGetShadersQCOM(" +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg4).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glUniform(javax.media.opengl.GLUniformData arg0)
{
checkContext();
downstreamGLES3.glUniform(arg0);
String txt = new String("glUniform(" +
" "+arg0 + ")");
checkGLGetError( txt );
}
public void glDeleteTextures(int arg0,int[] arg1,int arg2)
{
checkContext();
downstreamGLES3.glDeleteTextures(arg0,arg1,arg2);
String txt = new String("glDeleteTextures(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glVertexAttrib1f(int arg0,float arg1)
{
checkContext();
downstreamGLES3.glVertexAttrib1f(arg0,arg1);
String txt = new String("glVertexAttrib1f(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ")");
checkGLGetError( txt );
}
public void glGenFramebuffers(int arg0,int[] arg1,int arg2)
{
checkContext();
downstreamGLES3.glGenFramebuffers(arg0,arg1,arg2);
String txt = new String("glGenFramebuffers(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
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 glShaderBinary(int arg0,java.nio.IntBuffer arg1,int arg2,java.nio.Buffer arg3,int arg4)
{
checkContext();
downstreamGLES3.glShaderBinary(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glShaderBinary(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
" "+arg3 + ", " +
" 0x"+Integer.toHexString(arg4).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glBindVertexArrayOES(int arg0)
{
checkContext();
downstreamGLES3.glBindVertexArrayOES(arg0);
String txt = new String("glBindVertexArrayOES(" +
" 0x"+Integer.toHexString(arg0).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 glTexParameteriv(int arg0,int arg1,int[] arg2,int arg3)
{
checkContext();
downstreamGLES3.glTexParameteriv(arg0,arg1,arg2,arg3);
String txt = new String("glTexParameteriv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glGetIntegeri_vEXT(int arg0,int arg1,int[] arg2,int arg3)
{
checkContext();
downstreamGLES3.glGetIntegeri_vEXT(arg0,arg1,arg2,arg3);
String txt = new String("glGetIntegeri_vEXT(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glUniform4iv(int arg0,int arg1,int[] arg2,int arg3)
{
checkContext();
downstreamGLES3.glUniform4iv(arg0,arg1,arg2,arg3);
String txt = new String("glUniform4iv(" +
" 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,int[] arg2,int arg3,byte[] arg4,int arg5)
{
checkContext();
downstreamGLES3.glGetShaderInfoLog(arg0,arg1,arg2,arg3,arg4,arg5);
String txt = new String("glGetShaderInfoLog(" +
" 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 glGetQueryObjectuiv(int arg0,int arg1,int[] arg2,int arg3)
{
checkContext();
downstreamGLES3.glGetQueryObjectuiv(arg0,arg1,arg2,arg3);
String txt = new String("glGetQueryObjectuiv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glUniform1ui(int arg0,int arg1)
{
checkContext();
downstreamGLES3.glUniform1ui(arg0,arg1);
String txt = new String("glUniform1ui(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ")");
checkGLGetError( txt );
}
public javax.media.opengl.GLContext getContext()
{
return downstreamGLES3.getContext();
}
public void glGetProgramiv(int arg0,int arg1,java.nio.IntBuffer arg2)
{
checkContext();
downstreamGLES3.glGetProgramiv(arg0,arg1,arg2);
String txt = new String("glGetProgramiv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public java.lang.Object getExtension(java.lang.String arg0)
{
return downstreamGLES3.getExtension(arg0);
}
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 void glExtGetTexLevelParameterivQCOM(int arg0,int arg1,int arg2,int arg3,int[] arg4,int arg5)
{
checkContext();
downstreamGLES3.glExtGetTexLevelParameterivQCOM(arg0,arg1,arg2,arg3,arg4,arg5);
String txt = new String("glExtGetTexLevelParameterivQCOM(" +
" 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 glBindTransformFeedback(int arg0,int arg1)
{
checkContext();
downstreamGLES3.glBindTransformFeedback(arg0,arg1);
String txt = new String("glBindTransformFeedback(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glGetVertexAttribIiv(int arg0,int arg1,java.nio.IntBuffer arg2)
{
checkContext();
downstreamGLES3.glGetVertexAttribIiv(arg0,arg1,arg2);
String txt = new String("glGetVertexAttribIiv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glClearBufferiv(int arg0,int arg1,int[] arg2,int arg3)
{
checkContext();
downstreamGLES3.glClearBufferiv(arg0,arg1,arg2,arg3);
String txt = new String("glClearBufferiv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glRenderbufferStorageMultisample(int arg0,int arg1,int arg2,int arg3,int arg4)
{
checkContext();
downstreamGLES3.glRenderbufferStorageMultisample(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glRenderbufferStorageMultisample(" +
" 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 glUniform3ui(int arg0,int arg1,int arg2,int arg3)
{
checkContext();
downstreamGLES3.glUniform3ui(arg0,arg1,arg2,arg3);
String txt = new String("glUniform3ui(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glTexImage2D(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5,int arg6,int arg7,java.nio.Buffer arg8)
{
checkContext();
downstreamGLES3.glTexImage2D(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
String txt = new String("glTexImage2D(" +
" 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 glUniform1iv(int arg0,int arg1,int[] arg2,int arg3)
{
checkContext();
downstreamGLES3.glUniform1iv(arg0,arg1,arg2,arg3);
String txt = new String("glUniform1iv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glGetUniformuiv(int arg0,int arg1,int[] arg2,int arg3)
{
checkContext();
downstreamGLES3.glGetUniformuiv(arg0,arg1,arg2,arg3);
String txt = new String("glGetUniformuiv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glColorMask(boolean arg0,boolean arg1,boolean arg2,boolean arg3)
{
checkContext();
downstreamGLES3.glColorMask(arg0,arg1,arg2,arg3);
String txt = new String("glColorMask(" +
" "+arg0 + ", " +
" "+arg1 + ", " +
" "+arg2 + ", " +
" "+arg3 + ")");
checkGLGetError( txt );
}
public void glGenPerfMonitorsAMD(int arg0,int[] arg1,int arg2)
{
checkContext();
downstreamGLES3.glGenPerfMonitorsAMD(arg0,arg1,arg2);
String txt = new String("glGenPerfMonitorsAMD(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glSamplerParameterf(int arg0,int arg1,float arg2)
{
checkContext();
downstreamGLES3.glSamplerParameterf(arg0,arg1,arg2);
String txt = new String("glSamplerParameterf(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glFramebufferRenderbuffer(int arg0,int arg1,int arg2,int arg3)
{
checkContext();
downstreamGLES3.glFramebufferRenderbuffer(arg0,arg1,arg2,arg3);
String txt = new String("glFramebufferRenderbuffer(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg3).toUpperCase() + ")");
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 glInvalidateFramebuffer(int arg0,int arg1,java.nio.IntBuffer arg2)
{
checkContext();
downstreamGLES3.glInvalidateFramebuffer(arg0,arg1,arg2);
String txt = new String("glInvalidateFramebuffer(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glInvalidateSubFramebuffer(int arg0,int arg1,int[] arg2,int arg3,int arg4,int arg5,int arg6,int arg7)
{
checkContext();
downstreamGLES3.glInvalidateSubFramebuffer(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7);
String txt = new String("glInvalidateSubFramebuffer(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
"<[I>" + ", " +
" 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() + ")");
checkGLGetError( txt );
}
public void glTexStorage2D(int arg0,int arg1,int arg2,int arg3,int arg4)
{
checkContext();
downstreamGLES3.glTexStorage2D(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glTexStorage2D(" +
" 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 glPushDebugGroup(int arg0,int arg1,int arg2,byte[] arg3,int arg4)
{
checkContext();
downstreamGLES3.glPushDebugGroup(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glPushDebugGroup(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
"<[B>" + ", " +
" 0x"+Integer.toHexString(arg4).toUpperCase() + ")");
checkGLGetError( txt );
}
public boolean glIsQuery(int arg0)
{
checkContext();
boolean _res = downstreamGLES3.glIsQuery(arg0);
String txt = new String("glIsQuery(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ")");
checkGLGetError( txt );
return _res;
}
public long glGetBufferSize(int arg0)
{
checkContext();
long _res = downstreamGLES3.glGetBufferSize(arg0);
String txt = new String("glGetBufferSize(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ")");
checkGLGetError( txt );
return _res;
}
public void glUniform3uiv(int arg0,int arg1,java.nio.IntBuffer arg2)
{
checkContext();
downstreamGLES3.glUniform3uiv(arg0,arg1,arg2);
String txt = new String("glUniform3uiv(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public boolean glIsTransformFeedback(int arg0)
{
checkContext();
boolean _res = downstreamGLES3.glIsTransformFeedback(arg0);
String txt = new String("glIsTransformFeedback(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ")");
checkGLGetError( txt );
return _res;
}
public void glDeleteRenderbuffers(int arg0,java.nio.IntBuffer arg1)
{
checkContext();
downstreamGLES3.glDeleteRenderbuffers(arg0,arg1);
String txt = new String("glDeleteRenderbuffers(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" "+arg1 + ")");
checkGLGetError( txt );
}
public void glGetPerfMonitorGroupsAMD(int[] arg0,int arg1,int arg2,int[] arg3,int arg4)
{
checkContext();
downstreamGLES3.glGetPerfMonitorGroupsAMD(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glGetPerfMonitorGroupsAMD(" +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg2).toUpperCase() + ", " +
"<[I>" + ", " +
" 0x"+Integer.toHexString(arg4).toUpperCase() + ")");
checkGLGetError( txt );
}
public void glGetPerfMonitorGroupsAMD(java.nio.IntBuffer arg0,int arg1,java.nio.IntBuffer arg2)
{
checkContext();
downstreamGLES3.glGetPerfMonitorGroupsAMD(arg0,arg1,arg2);
String txt = new String("glGetPerfMonitorGroupsAMD(" +
" "+arg0 + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glGetnUniformiv(int arg0,int arg1,int arg2,int[] arg3,int arg4)
{
checkContext();
downstreamGLES3.glGetnUniformiv(arg0,arg1,arg2,arg3,arg4);
String txt = new String("glGetnUniformiv(" +
" 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 glGetInteger64i_v(int arg0,int arg1,java.nio.LongBuffer arg2)
{
checkContext();
downstreamGLES3.glGetInteger64i_v(arg0,arg1,arg2);
String txt = new String("glGetInteger64i_v(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glGetDriverControlStringQCOM(int arg0,int arg1,int[] arg2,int arg3,byte[] arg4,int arg5)
{
checkContext();
downstreamGLES3.glGetDriverControlStringQCOM(arg0,arg1,arg2,arg3,arg4,arg5);
String txt = new String("glGetDriverControlStringQCOM(" +
" 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 glGetIntegeri_v(int arg0,int arg1,java.nio.IntBuffer arg2)
{
checkContext();
downstreamGLES3.glGetIntegeri_v(arg0,arg1,arg2);
String txt = new String("glGetIntegeri_v(" +
" 0x"+Integer.toHexString(arg0).toUpperCase() + ", " +
" 0x"+Integer.toHexString(arg1).toUpperCase() + ", " +
" "+arg2 + ")");
checkGLGetError( txt );
}
public void glGetShaderiv(int arg0,int arg1,int[] arg2,int arg3)
{
checkContext();
downstreamGLES3.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 glGetSamplerParameteriv(int arg0,int arg1,int[] arg2,int arg3)
{
checkContext();
downstreamGLES3.glGetSamplerParameteriv(arg0,arg1,arg2,arg3);
String txt = new String("glGetSamplerParameteriv(" +
"