All Downloads are FREE. Search and download functionalities are using the official Maven repository.

javax.media.opengl.DebugGLES3 Maven / Gradle / Ivy

There is a newer version: 2.3.2
Show newest version
package javax.media.opengl;

import java.io.*;
import javax.media.opengl.*;
import com.jogamp.gluegen.runtime.*;
import java.nio.*;
import javax.media.opengl.GLES3;
import javax.media.opengl.GL4ES3;
import javax.media.opengl.GLES2;

/**
 * 

* 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 GL getDownstreamGL() throws GLException { return downstreamGLES3; } @Override public int getBoundBuffer(int arg0) { return downstreamGLES3.getBoundBuffer(arg0); } @Override public int getBoundFramebuffer(int arg0) { return downstreamGLES3.getBoundFramebuffer(arg0); } @Override public javax.media.opengl.GLBufferStorage getBufferStorage(int arg0) { return downstreamGLES3.getBufferStorage(arg0); } @Override public javax.media.opengl.GLContext getContext() { return downstreamGLES3.getContext(); } @Override public int getDefaultDrawFramebuffer() { return downstreamGLES3.getDefaultDrawFramebuffer(); } @Override public int getDefaultReadBuffer() { return downstreamGLES3.getDefaultReadBuffer(); } @Override public int getDefaultReadFramebuffer() { return downstreamGLES3.getDefaultReadFramebuffer(); } @Override public java.lang.Object getExtension(java.lang.String arg0) { return downstreamGLES3.getExtension(arg0); } @Override public javax.media.opengl.GL getGL() { return this; } @Override public javax.media.opengl.GL2 getGL2() { throw new GLException("Not a GL2 implementation"); } @Override public javax.media.opengl.GL2ES1 getGL2ES1() { throw new GLException("Not a GL2ES1 implementation"); } @Override public javax.media.opengl.GL2ES2 getGL2ES2() { if( isGL2ES2() ) { return this; } throw new GLException("Not a GL2ES2 implementation"); } @Override public javax.media.opengl.GL2ES3 getGL2ES3() { if( isGL2ES3() ) { return this; } throw new GLException("Not a GL2ES3 implementation"); } @Override public javax.media.opengl.GL2GL3 getGL2GL3() { throw new GLException("Not a GL2GL3 implementation"); } @Override public javax.media.opengl.GL3 getGL3() { throw new GLException("Not a GL3 implementation"); } @Override public javax.media.opengl.GL3ES3 getGL3ES3() { if( isGL3ES3() ) { return this; } throw new GLException("Not a GL3ES3 implementation"); } @Override public javax.media.opengl.GL3bc getGL3bc() { throw new GLException("Not a GL3bc implementation"); } @Override public javax.media.opengl.GL4 getGL4() { throw new GLException("Not a GL4 implementation"); } @Override public javax.media.opengl.GL4ES3 getGL4ES3() { if( isGL4ES3() ) { return this; } throw new GLException("Not a GL4ES3 implementation"); } @Override public javax.media.opengl.GL4bc getGL4bc() { throw new GLException("Not a GL4bc implementation"); } @Override public javax.media.opengl.GLES1 getGLES1() { throw new GLException("Not a GLES1 implementation"); } @Override public javax.media.opengl.GLES2 getGLES2() { if( isGLES2() ) { return this; } throw new GLException("Not a GLES2 implementation"); } @Override public javax.media.opengl.GLES3 getGLES3() { if( isGLES3() ) { return this; } throw new GLException("Not a GLES3 implementation"); } @Override public javax.media.opengl.GLProfile getGLProfile() { return downstreamGLES3.getGLProfile(); } @Override public int getMaxRenderbufferSamples() { return downstreamGLES3.getMaxRenderbufferSamples(); } @Override public java.lang.Object getPlatformGLExtensions() { return downstreamGLES3.getPlatformGLExtensions(); } @Override public javax.media.opengl.GL getRootGL() { return downstreamGLES3.getRootGL(); } @Override public int getSwapInterval() { return downstreamGLES3.getSwapInterval(); } @Override public void glActiveTexture(int arg0) { checkContext(); downstreamGLES3.glActiveTexture(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X)", "glActiveTexture", arg0); } } @Override public void glAlphaFuncQCOM(int arg0,float arg1) { checkContext(); downstreamGLES3.glAlphaFuncQCOM(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s)", "glAlphaFuncQCOM", arg0, arg1); } } @Override public void glAttachShader(int arg0,int arg1) { checkContext(); downstreamGLES3.glAttachShader(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X)", "glAttachShader", arg0, arg1); } } @Override public void glBeginPerfMonitorAMD(int arg0) { checkContext(); downstreamGLES3.glBeginPerfMonitorAMD(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X)", "glBeginPerfMonitorAMD", arg0); } } @Override public void glBeginQuery(int arg0,int arg1) { checkContext(); downstreamGLES3.glBeginQuery(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X)", "glBeginQuery", arg0, arg1); } } @Override public void glBeginTransformFeedback(int arg0) { checkContext(); downstreamGLES3.glBeginTransformFeedback(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X)", "glBeginTransformFeedback", arg0); } } @Override public void glBindAttribLocation(int arg0,int arg1,java.lang.String arg2) { checkContext(); downstreamGLES3.glBindAttribLocation(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s)", "glBindAttribLocation", arg0, arg1, arg2); } } @Override public void glBindBuffer(int arg0,int arg1) { checkContext(); downstreamGLES3.glBindBuffer(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X)", "glBindBuffer", arg0, arg1); } } @Override public void glBindBufferBase(int arg0,int arg1,int arg2) { checkContext(); downstreamGLES3.glBindBufferBase(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X)", "glBindBufferBase", arg0, arg1, arg2); } } @Override public void glBindBufferRange(int arg0,int arg1,int arg2,long arg3,long arg4) { checkContext(); downstreamGLES3.glBindBufferRange(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, %s, %s)", "glBindBufferRange", arg0, arg1, arg2, arg3, arg4); } } @Override public void glBindFramebuffer(int arg0,int arg1) { checkContext(); downstreamGLES3.glBindFramebuffer(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X)", "glBindFramebuffer", arg0, arg1); } } @Override public void glBindRenderbuffer(int arg0,int arg1) { checkContext(); downstreamGLES3.glBindRenderbuffer(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X)", "glBindRenderbuffer", arg0, arg1); } } @Override public void glBindSampler(int arg0,int arg1) { checkContext(); downstreamGLES3.glBindSampler(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X)", "glBindSampler", arg0, arg1); } } @Override public void glBindTexture(int arg0,int arg1) { checkContext(); downstreamGLES3.glBindTexture(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X)", "glBindTexture", arg0, arg1); } } @Override public void glBindTransformFeedback(int arg0,int arg1) { checkContext(); downstreamGLES3.glBindTransformFeedback(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X)", "glBindTransformFeedback", arg0, arg1); } } @Override public void glBindVertexArray(int arg0) { checkContext(); downstreamGLES3.glBindVertexArray(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X)", "glBindVertexArray", arg0); } } @Override public void glBindVertexArrayOES(int arg0) { checkContext(); downstreamGLES3.glBindVertexArrayOES(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X)", "glBindVertexArrayOES", arg0); } } @Override public void glBlendColor(float arg0,float arg1,float arg2,float arg3) { checkContext(); downstreamGLES3.glBlendColor(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( %s, %s, %s, %s)", "glBlendColor", arg0, arg1, arg2, arg3); } } @Override public void glBlendEquation(int arg0) { checkContext(); downstreamGLES3.glBlendEquation(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X)", "glBlendEquation", arg0); } } @Override public void glBlendEquationSeparate(int arg0,int arg1) { checkContext(); downstreamGLES3.glBlendEquationSeparate(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X)", "glBlendEquationSeparate", arg0, arg1); } } @Override public void glBlendFunc(int arg0,int arg1) { checkContext(); downstreamGLES3.glBlendFunc(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X)", "glBlendFunc", arg0, arg1); } } @Override public void glBlendFuncSeparate(int arg0,int arg1,int arg2,int arg3) { checkContext(); downstreamGLES3.glBlendFuncSeparate(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X)", "glBlendFuncSeparate", arg0, arg1, arg2, arg3); } } @Override 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); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X)", "glBlitFramebuffer", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9); } } @Override 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); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X)", "glBlitFramebufferANGLE", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9); } } @Override 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); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X)", "glBlitFramebufferNV", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9); } } @Override public void glBufferData(int arg0,long arg1,java.nio.Buffer arg2,int arg3) { checkContext(); downstreamGLES3.glBufferData(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s, %s, 0x%X)", "glBufferData", arg0, arg1, arg2, arg3); } } @Override public void glBufferSubData(int arg0,long arg1,long arg2,java.nio.Buffer arg3) { checkContext(); downstreamGLES3.glBufferSubData(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s, %s, %s)", "glBufferSubData", arg0, arg1, arg2, arg3); } } @Override public int glCheckFramebufferStatus(int arg0) { checkContext(); int _res = downstreamGLES3.glCheckFramebufferStatus(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X)", "glCheckFramebufferStatus", arg0); } return _res; } @Override public void glClear(int arg0) { checkContext(); downstreamGLES3.glClear(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X)", "glClear", arg0); } } @Override public void glClearBufferfi(int arg0,int arg1,float arg2,int arg3) { checkContext(); downstreamGLES3.glClearBufferfi(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s, 0x%X)", "glClearBufferfi", arg0, arg1, arg2, arg3); } } @Override public void glClearBufferfv(int arg0,int arg1,java.nio.FloatBuffer arg2) { checkContext(); downstreamGLES3.glClearBufferfv(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s)", "glClearBufferfv", arg0, arg1, arg2); } } @Override public void glClearBufferfv(int arg0,int arg1,float[] arg2,int arg3) { checkContext(); downstreamGLES3.glClearBufferfv(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[F>, 0x%X)", "glClearBufferfv", arg0, arg1, arg3); } } @Override public void glClearBufferiv(int arg0,int arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES3.glClearBufferiv(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s)", "glClearBufferiv", arg0, arg1, arg2); } } @Override public void glClearBufferiv(int arg0,int arg1,int[] arg2,int arg3) { checkContext(); downstreamGLES3.glClearBufferiv(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[I>, 0x%X)", "glClearBufferiv", arg0, arg1, arg3); } } @Override public void glClearBufferuiv(int arg0,int arg1,int[] arg2,int arg3) { checkContext(); downstreamGLES3.glClearBufferuiv(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[I>, 0x%X)", "glClearBufferuiv", arg0, arg1, arg3); } } @Override public void glClearBufferuiv(int arg0,int arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES3.glClearBufferuiv(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s)", "glClearBufferuiv", arg0, arg1, arg2); } } @Override public void glClearColor(float arg0,float arg1,float arg2,float arg3) { checkContext(); downstreamGLES3.glClearColor(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( %s, %s, %s, %s)", "glClearColor", arg0, arg1, arg2, arg3); } } @Override public void glClearDepth(double arg0) { checkContext(); downstreamGLES3.glClearDepth(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( %s)", "glClearDepth", arg0); } } @Override public void glClearDepthf(float arg0) { checkContext(); downstreamGLES3.glClearDepthf(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( %s)", "glClearDepthf", arg0); } } @Override public void glClearStencil(int arg0) { checkContext(); downstreamGLES3.glClearStencil(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X)", "glClearStencil", arg0); } } @Override public int glClientWaitSync(long arg0,int arg1,long arg2) { checkContext(); int _res = downstreamGLES3.glClientWaitSync(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( %s, 0x%X, %s)", "glClientWaitSync", arg0, arg1, arg2); } return _res; } @Override public void glColorMask(boolean arg0,boolean arg1,boolean arg2,boolean arg3) { checkContext(); downstreamGLES3.glColorMask(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( %s, %s, %s, %s)", "glColorMask", arg0, arg1, arg2, arg3); } } @Override public void glCompileShader(int arg0) { checkContext(); downstreamGLES3.glCompileShader(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X)", "glCompileShader", arg0); } } @Override public void glCompressedTexImage2D(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5,int arg6,long arg7) { checkContext(); downstreamGLES3.glCompressedTexImage2D(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, %s)", "glCompressedTexImage2D", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7); } } @Override 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); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, %s)", "glCompressedTexImage2D", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7); } } @Override public void glCompressedTexImage3D(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5,int arg6,int arg7,long arg8) { checkContext(); downstreamGLES3.glCompressedTexImage3D(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, %s)", "glCompressedTexImage3D", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8); } } @Override public void glCompressedTexImage3D(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5,int arg6,int arg7,java.nio.Buffer arg8) { checkContext(); downstreamGLES3.glCompressedTexImage3D(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, %s)", "glCompressedTexImage3D", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8); } } @Override public void glCompressedTexSubImage2D(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5,int arg6,int arg7,java.nio.Buffer arg8) { checkContext(); downstreamGLES3.glCompressedTexSubImage2D(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, %s)", "glCompressedTexSubImage2D", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8); } } @Override public void glCompressedTexSubImage2D(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5,int arg6,int arg7,long arg8) { checkContext(); downstreamGLES3.glCompressedTexSubImage2D(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, %s)", "glCompressedTexSubImage2D", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8); } } @Override public void glCompressedTexSubImage3D(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.glCompressedTexSubImage3D(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, %s)", "glCompressedTexSubImage3D", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10); } } @Override public void glCompressedTexSubImage3D(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5,int arg6,int arg7,int arg8,int arg9,long arg10) { checkContext(); downstreamGLES3.glCompressedTexSubImage3D(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, %s)", "glCompressedTexSubImage3D", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10); } } @Override public void glCopyBufferSubData(int arg0,int arg1,long arg2,long arg3,long arg4) { checkContext(); downstreamGLES3.glCopyBufferSubData(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s, %s, %s)", "glCopyBufferSubData", arg0, arg1, arg2, arg3, arg4); } } @Override 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); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X)", "glCopyTexImage2D", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7); } } @Override public void glCopyTexSubImage2D(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5,int arg6,int arg7) { checkContext(); downstreamGLES3.glCopyTexSubImage2D(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X)", "glCopyTexSubImage2D", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7); } } @Override 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); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X)", "glCopyTexSubImage3D", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8); } } @Override public void glCopyTextureLevelsAPPLE(int arg0,int arg1,int arg2,int arg3) { checkContext(); downstreamGLES3.glCopyTextureLevelsAPPLE(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X)", "glCopyTextureLevelsAPPLE", arg0, arg1, arg2, arg3); } } @Override public void glCoverageMaskNV(boolean arg0) { checkContext(); downstreamGLES3.glCoverageMaskNV(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( %s)", "glCoverageMaskNV", arg0); } } @Override public void glCoverageOperationNV(int arg0) { checkContext(); downstreamGLES3.glCoverageOperationNV(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X)", "glCoverageOperationNV", arg0); } } @Override public int glCreateProgram() { checkContext(); int _res = downstreamGLES3.glCreateProgram(); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s()", "glCreateProgram"); } return _res; } @Override public int glCreateShader(int arg0) { checkContext(); int _res = downstreamGLES3.glCreateShader(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X)", "glCreateShader", arg0); } return _res; } @Override public void glCullFace(int arg0) { checkContext(); downstreamGLES3.glCullFace(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X)", "glCullFace", arg0); } } @Override 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); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, <[I>, 0x%X, %s)", "glDebugMessageControl", arg0, arg1, arg2, arg3, arg5, arg6); } } @Override public void glDebugMessageControl(int arg0,int arg1,int arg2,int arg3,java.nio.IntBuffer arg4,boolean arg5) { checkContext(); downstreamGLES3.glDebugMessageControl(arg0,arg1,arg2,arg3,arg4,arg5); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, %s, %s)", "glDebugMessageControl", arg0, arg1, arg2, arg3, arg4, arg5); } } @Override public void glDebugMessageInsert(int arg0,int arg1,int arg2,int arg3,int arg4,java.lang.String arg5) { checkContext(); downstreamGLES3.glDebugMessageInsert(arg0,arg1,arg2,arg3,arg4,arg5); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, %s)", "glDebugMessageInsert", arg0, arg1, arg2, arg3, arg4, arg5); } } @Override public void glDeleteBuffers(int arg0,java.nio.IntBuffer arg1) { checkContext(); downstreamGLES3.glDeleteBuffers(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s)", "glDeleteBuffers", arg0, arg1); } } @Override public void glDeleteBuffers(int arg0,int[] arg1,int arg2) { checkContext(); downstreamGLES3.glDeleteBuffers(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, <[I>, 0x%X)", "glDeleteBuffers", arg0, arg2); } } @Override public void glDeleteFencesNV(int arg0,java.nio.IntBuffer arg1) { checkContext(); downstreamGLES3.glDeleteFencesNV(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s)", "glDeleteFencesNV", arg0, arg1); } } @Override public void glDeleteFencesNV(int arg0,int[] arg1,int arg2) { checkContext(); downstreamGLES3.glDeleteFencesNV(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, <[I>, 0x%X)", "glDeleteFencesNV", arg0, arg2); } } @Override public void glDeleteFramebuffers(int arg0,java.nio.IntBuffer arg1) { checkContext(); downstreamGLES3.glDeleteFramebuffers(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s)", "glDeleteFramebuffers", arg0, arg1); } } @Override public void glDeleteFramebuffers(int arg0,int[] arg1,int arg2) { checkContext(); downstreamGLES3.glDeleteFramebuffers(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, <[I>, 0x%X)", "glDeleteFramebuffers", arg0, arg2); } } @Override public void glDeletePerfMonitorsAMD(int arg0,int[] arg1,int arg2) { checkContext(); downstreamGLES3.glDeletePerfMonitorsAMD(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, <[I>, 0x%X)", "glDeletePerfMonitorsAMD", arg0, arg2); } } @Override public void glDeletePerfMonitorsAMD(int arg0,java.nio.IntBuffer arg1) { checkContext(); downstreamGLES3.glDeletePerfMonitorsAMD(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s)", "glDeletePerfMonitorsAMD", arg0, arg1); } } @Override public void glDeleteProgram(int arg0) { checkContext(); downstreamGLES3.glDeleteProgram(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X)", "glDeleteProgram", arg0); } } @Override public void glDeleteQueries(int arg0,int[] arg1,int arg2) { checkContext(); downstreamGLES3.glDeleteQueries(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, <[I>, 0x%X)", "glDeleteQueries", arg0, arg2); } } @Override public void glDeleteQueries(int arg0,java.nio.IntBuffer arg1) { checkContext(); downstreamGLES3.glDeleteQueries(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s)", "glDeleteQueries", arg0, arg1); } } @Override public void glDeleteRenderbuffers(int arg0,int[] arg1,int arg2) { checkContext(); downstreamGLES3.glDeleteRenderbuffers(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, <[I>, 0x%X)", "glDeleteRenderbuffers", arg0, arg2); } } @Override public void glDeleteRenderbuffers(int arg0,java.nio.IntBuffer arg1) { checkContext(); downstreamGLES3.glDeleteRenderbuffers(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s)", "glDeleteRenderbuffers", arg0, arg1); } } @Override public void glDeleteSamplers(int arg0,java.nio.IntBuffer arg1) { checkContext(); downstreamGLES3.glDeleteSamplers(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s)", "glDeleteSamplers", arg0, arg1); } } @Override public void glDeleteSamplers(int arg0,int[] arg1,int arg2) { checkContext(); downstreamGLES3.glDeleteSamplers(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, <[I>, 0x%X)", "glDeleteSamplers", arg0, arg2); } } @Override public void glDeleteShader(int arg0) { checkContext(); downstreamGLES3.glDeleteShader(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X)", "glDeleteShader", arg0); } } @Override public void glDeleteSync(long arg0) { checkContext(); downstreamGLES3.glDeleteSync(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( %s)", "glDeleteSync", arg0); } } @Override public void glDeleteTextures(int arg0,java.nio.IntBuffer arg1) { checkContext(); downstreamGLES3.glDeleteTextures(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s)", "glDeleteTextures", arg0, arg1); } } @Override public void glDeleteTextures(int arg0,int[] arg1,int arg2) { checkContext(); downstreamGLES3.glDeleteTextures(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, <[I>, 0x%X)", "glDeleteTextures", arg0, arg2); } } @Override public void glDeleteTransformFeedbacks(int arg0,int[] arg1,int arg2) { checkContext(); downstreamGLES3.glDeleteTransformFeedbacks(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, <[I>, 0x%X)", "glDeleteTransformFeedbacks", arg0, arg2); } } @Override public void glDeleteTransformFeedbacks(int arg0,java.nio.IntBuffer arg1) { checkContext(); downstreamGLES3.glDeleteTransformFeedbacks(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s)", "glDeleteTransformFeedbacks", arg0, arg1); } } @Override public void glDeleteVertexArrays(int arg0,java.nio.IntBuffer arg1) { checkContext(); downstreamGLES3.glDeleteVertexArrays(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s)", "glDeleteVertexArrays", arg0, arg1); } } @Override public void glDeleteVertexArrays(int arg0,int[] arg1,int arg2) { checkContext(); downstreamGLES3.glDeleteVertexArrays(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, <[I>, 0x%X)", "glDeleteVertexArrays", arg0, arg2); } } @Override public void glDeleteVertexArraysOES(int arg0,int[] arg1,int arg2) { checkContext(); downstreamGLES3.glDeleteVertexArraysOES(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, <[I>, 0x%X)", "glDeleteVertexArraysOES", arg0, arg2); } } @Override public void glDeleteVertexArraysOES(int arg0,java.nio.IntBuffer arg1) { checkContext(); downstreamGLES3.glDeleteVertexArraysOES(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s)", "glDeleteVertexArraysOES", arg0, arg1); } } @Override public void glDepthFunc(int arg0) { checkContext(); downstreamGLES3.glDepthFunc(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X)", "glDepthFunc", arg0); } } @Override public void glDepthMask(boolean arg0) { checkContext(); downstreamGLES3.glDepthMask(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( %s)", "glDepthMask", arg0); } } @Override public void glDepthRange(double arg0,double arg1) { checkContext(); downstreamGLES3.glDepthRange(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( %s, %s)", "glDepthRange", arg0, arg1); } } @Override public void glDepthRangef(float arg0,float arg1) { checkContext(); downstreamGLES3.glDepthRangef(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( %s, %s)", "glDepthRangef", arg0, arg1); } } @Override public void glDetachShader(int arg0,int arg1) { checkContext(); downstreamGLES3.glDetachShader(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X)", "glDetachShader", arg0, arg1); } } @Override public void glDisable(int arg0) { checkContext(); downstreamGLES3.glDisable(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X)", "glDisable", arg0); } } @Override public void glDisableDriverControlQCOM(int arg0) { checkContext(); downstreamGLES3.glDisableDriverControlQCOM(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X)", "glDisableDriverControlQCOM", arg0); } } @Override public void glDisableVertexAttribArray(int arg0) { checkContext(); downstreamGLES3.glDisableVertexAttribArray(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X)", "glDisableVertexAttribArray", arg0); } } @Override public void glDiscardFramebufferEXT(int arg0,int arg1,int[] arg2,int arg3) { checkContext(); downstreamGLES3.glDiscardFramebufferEXT(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[I>, 0x%X)", "glDiscardFramebufferEXT", arg0, arg1, arg3); } } @Override public void glDiscardFramebufferEXT(int arg0,int arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES3.glDiscardFramebufferEXT(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s)", "glDiscardFramebufferEXT", arg0, arg1, arg2); } } @Override public void glDrawArrays(int arg0,int arg1,int arg2) { checkContext(); downstreamGLES3.glDrawArrays(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X)", "glDrawArrays", arg0, arg1, arg2); } } @Override public void glDrawArraysInstanced(int arg0,int arg1,int arg2,int arg3) { checkContext(); downstreamGLES3.glDrawArraysInstanced(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X)", "glDrawArraysInstanced", arg0, arg1, arg2, arg3); } } @Override public void glDrawArraysInstancedANGLE(int arg0,int arg1,int arg2,int arg3) { checkContext(); downstreamGLES3.glDrawArraysInstancedANGLE(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X)", "glDrawArraysInstancedANGLE", arg0, arg1, arg2, arg3); } } @Override public void glDrawArraysInstancedNV(int arg0,int arg1,int arg2,int arg3) { checkContext(); downstreamGLES3.glDrawArraysInstancedNV(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X)", "glDrawArraysInstancedNV", arg0, arg1, arg2, arg3); } } @Override public void glDrawBuffers(int arg0,java.nio.IntBuffer arg1) { checkContext(); downstreamGLES3.glDrawBuffers(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s)", "glDrawBuffers", arg0, arg1); } } @Override public void glDrawBuffers(int arg0,int[] arg1,int arg2) { checkContext(); downstreamGLES3.glDrawBuffers(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, <[I>, 0x%X)", "glDrawBuffers", arg0, arg2); } } @Override public void glDrawBuffersIndexedEXT(int arg0,java.nio.IntBuffer arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES3.glDrawBuffersIndexedEXT(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s, %s)", "glDrawBuffersIndexedEXT", arg0, arg1, arg2); } } @Override public void glDrawBuffersIndexedEXT(int arg0,int[] arg1,int arg2,int[] arg3,int arg4) { checkContext(); downstreamGLES3.glDrawBuffersIndexedEXT(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, <[I>, 0x%X, <[I>, 0x%X)", "glDrawBuffersIndexedEXT", arg0, arg2, arg4); } } @Override public void glDrawElements(int arg0,int arg1,int arg2,java.nio.Buffer arg3) { checkContext(); downstreamGLES3.glDrawElements(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, %s)", "glDrawElements", arg0, arg1, arg2, arg3); } } @Override public void glDrawElements(int arg0,int arg1,int arg2,long arg3) { checkContext(); downstreamGLES3.glDrawElements(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, %s)", "glDrawElements", arg0, arg1, arg2, arg3); } } @Override public void glDrawElementsInstanced(int arg0,int arg1,int arg2,java.nio.Buffer arg3,int arg4) { checkContext(); downstreamGLES3.glDrawElementsInstanced(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, %s, 0x%X)", "glDrawElementsInstanced", arg0, arg1, arg2, arg3, arg4); } } @Override public void glDrawElementsInstanced(int arg0,int arg1,int arg2,long arg3,int arg4) { checkContext(); downstreamGLES3.glDrawElementsInstanced(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, %s, 0x%X)", "glDrawElementsInstanced", arg0, arg1, arg2, arg3, arg4); } } @Override public void glDrawElementsInstancedANGLE(int arg0,int arg1,int arg2,java.nio.Buffer arg3,int arg4) { checkContext(); downstreamGLES3.glDrawElementsInstancedANGLE(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, %s, 0x%X)", "glDrawElementsInstancedANGLE", arg0, arg1, arg2, arg3, arg4); } } @Override public void glDrawElementsInstancedNV(int arg0,int arg1,int arg2,java.nio.Buffer arg3,int arg4) { checkContext(); downstreamGLES3.glDrawElementsInstancedNV(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, %s, 0x%X)", "glDrawElementsInstancedNV", arg0, arg1, arg2, arg3, arg4); } } @Override public void glDrawRangeElements(int arg0,int arg1,int arg2,int arg3,int arg4,java.nio.Buffer arg5) { checkContext(); downstreamGLES3.glDrawRangeElements(arg0,arg1,arg2,arg3,arg4,arg5); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, %s)", "glDrawRangeElements", arg0, arg1, arg2, arg3, arg4, arg5); } } @Override public void glDrawRangeElements(int arg0,int arg1,int arg2,int arg3,int arg4,long arg5) { checkContext(); downstreamGLES3.glDrawRangeElements(arg0,arg1,arg2,arg3,arg4,arg5); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, %s)", "glDrawRangeElements", arg0, arg1, arg2, arg3, arg4, arg5); } } @Override public void glEGLImageTargetRenderbufferStorageOES(int arg0,long arg1) { checkContext(); downstreamGLES3.glEGLImageTargetRenderbufferStorageOES(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s)", "glEGLImageTargetRenderbufferStorageOES", arg0, arg1); } } @Override public void glEGLImageTargetTexture2DOES(int arg0,long arg1) { checkContext(); downstreamGLES3.glEGLImageTargetTexture2DOES(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s)", "glEGLImageTargetTexture2DOES", arg0, arg1); } } @Override public void glEnable(int arg0) { checkContext(); downstreamGLES3.glEnable(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X)", "glEnable", arg0); } } @Override public void glEnableDriverControlQCOM(int arg0) { checkContext(); downstreamGLES3.glEnableDriverControlQCOM(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X)", "glEnableDriverControlQCOM", arg0); } } @Override public void glEnableVertexAttribArray(int arg0) { checkContext(); downstreamGLES3.glEnableVertexAttribArray(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X)", "glEnableVertexAttribArray", arg0); } } @Override public void glEndPerfMonitorAMD(int arg0) { checkContext(); downstreamGLES3.glEndPerfMonitorAMD(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X)", "glEndPerfMonitorAMD", arg0); } } @Override public void glEndQuery(int arg0) { checkContext(); downstreamGLES3.glEndQuery(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X)", "glEndQuery", arg0); } } @Override public void glEndTilingQCOM(int arg0) { checkContext(); downstreamGLES3.glEndTilingQCOM(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X)", "glEndTilingQCOM", arg0); } } @Override public void glEndTransformFeedback() { checkContext(); downstreamGLES3.glEndTransformFeedback(); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s()", "glEndTransformFeedback"); } } @Override public void glExtGetBufferPointervQCOM(int arg0,com.jogamp.common.nio.PointerBuffer arg1) { checkContext(); downstreamGLES3.glExtGetBufferPointervQCOM(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s)", "glExtGetBufferPointervQCOM", arg0, arg1); } } @Override public void glExtGetBuffersQCOM(java.nio.IntBuffer arg0,int arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES3.glExtGetBuffersQCOM(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( %s, 0x%X, %s)", "glExtGetBuffersQCOM", arg0, arg1, arg2); } } @Override public void glExtGetBuffersQCOM(int[] arg0,int arg1,int arg2,int[] arg3,int arg4) { checkContext(); downstreamGLES3.glExtGetBuffersQCOM(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s(<[I>, 0x%X, 0x%X, <[I>, 0x%X)", "glExtGetBuffersQCOM", arg1, arg2, arg4); } } @Override public void glExtGetFramebuffersQCOM(java.nio.IntBuffer arg0,int arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES3.glExtGetFramebuffersQCOM(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( %s, 0x%X, %s)", "glExtGetFramebuffersQCOM", arg0, arg1, arg2); } } @Override public void glExtGetFramebuffersQCOM(int[] arg0,int arg1,int arg2,int[] arg3,int arg4) { checkContext(); downstreamGLES3.glExtGetFramebuffersQCOM(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s(<[I>, 0x%X, 0x%X, <[I>, 0x%X)", "glExtGetFramebuffersQCOM", arg1, arg2, arg4); } } @Override public void glExtGetProgramBinarySourceQCOM(int arg0,int arg1,byte[] arg2,int arg3,int[] arg4,int arg5) { checkContext(); downstreamGLES3.glExtGetProgramBinarySourceQCOM(arg0,arg1,arg2,arg3,arg4,arg5); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[B>, 0x%X, <[I>, 0x%X)", "glExtGetProgramBinarySourceQCOM", arg0, arg1, arg3, arg5); } } @Override public void glExtGetProgramBinarySourceQCOM(int arg0,int arg1,java.nio.ByteBuffer arg2,java.nio.IntBuffer arg3) { checkContext(); downstreamGLES3.glExtGetProgramBinarySourceQCOM(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s, %s)", "glExtGetProgramBinarySourceQCOM", arg0, arg1, arg2, arg3); } } @Override public void glExtGetProgramsQCOM(int[] arg0,int arg1,int arg2,int[] arg3,int arg4) { checkContext(); downstreamGLES3.glExtGetProgramsQCOM(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s(<[I>, 0x%X, 0x%X, <[I>, 0x%X)", "glExtGetProgramsQCOM", arg1, arg2, arg4); } } @Override public void glExtGetProgramsQCOM(java.nio.IntBuffer arg0,int arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES3.glExtGetProgramsQCOM(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( %s, 0x%X, %s)", "glExtGetProgramsQCOM", arg0, arg1, arg2); } } @Override public void glExtGetRenderbuffersQCOM(java.nio.IntBuffer arg0,int arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES3.glExtGetRenderbuffersQCOM(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( %s, 0x%X, %s)", "glExtGetRenderbuffersQCOM", arg0, arg1, arg2); } } @Override public void glExtGetRenderbuffersQCOM(int[] arg0,int arg1,int arg2,int[] arg3,int arg4) { checkContext(); downstreamGLES3.glExtGetRenderbuffersQCOM(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s(<[I>, 0x%X, 0x%X, <[I>, 0x%X)", "glExtGetRenderbuffersQCOM", arg1, arg2, arg4); } } @Override public void glExtGetShadersQCOM(int[] arg0,int arg1,int arg2,int[] arg3,int arg4) { checkContext(); downstreamGLES3.glExtGetShadersQCOM(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s(<[I>, 0x%X, 0x%X, <[I>, 0x%X)", "glExtGetShadersQCOM", arg1, arg2, arg4); } } @Override public void glExtGetShadersQCOM(java.nio.IntBuffer arg0,int arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES3.glExtGetShadersQCOM(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( %s, 0x%X, %s)", "glExtGetShadersQCOM", arg0, arg1, arg2); } } @Override public void glExtGetTexLevelParameterivQCOM(int arg0,int arg1,int arg2,int arg3,int[] arg4,int arg5) { checkContext(); downstreamGLES3.glExtGetTexLevelParameterivQCOM(arg0,arg1,arg2,arg3,arg4,arg5); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, <[I>, 0x%X)", "glExtGetTexLevelParameterivQCOM", arg0, arg1, arg2, arg3, arg5); } } @Override public void glExtGetTexLevelParameterivQCOM(int arg0,int arg1,int arg2,int arg3,java.nio.IntBuffer arg4) { checkContext(); downstreamGLES3.glExtGetTexLevelParameterivQCOM(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, %s)", "glExtGetTexLevelParameterivQCOM", arg0, arg1, arg2, arg3, arg4); } } @Override public void glExtGetTexSubImageQCOM(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.glExtGetTexSubImageQCOM(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, %s)", "glExtGetTexSubImageQCOM", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10); } } @Override public void glExtGetTexturesQCOM(java.nio.IntBuffer arg0,int arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES3.glExtGetTexturesQCOM(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( %s, 0x%X, %s)", "glExtGetTexturesQCOM", arg0, arg1, arg2); } } @Override public void glExtGetTexturesQCOM(int[] arg0,int arg1,int arg2,int[] arg3,int arg4) { checkContext(); downstreamGLES3.glExtGetTexturesQCOM(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s(<[I>, 0x%X, 0x%X, <[I>, 0x%X)", "glExtGetTexturesQCOM", arg1, arg2, arg4); } } @Override public boolean glExtIsProgramBinaryQCOM(int arg0) { checkContext(); boolean _res = downstreamGLES3.glExtIsProgramBinaryQCOM(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X)", "glExtIsProgramBinaryQCOM", arg0); } return _res; } @Override public void glExtTexObjectStateOverrideiQCOM(int arg0,int arg1,int arg2) { checkContext(); downstreamGLES3.glExtTexObjectStateOverrideiQCOM(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X)", "glExtTexObjectStateOverrideiQCOM", arg0, arg1, arg2); } } @Override public long glFenceSync(int arg0,int arg1) { checkContext(); long _res = downstreamGLES3.glFenceSync(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X)", "glFenceSync", arg0, arg1); } return _res; } @Override public void glFinish() { checkContext(); downstreamGLES3.glFinish(); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s()", "glFinish"); } } @Override public void glFinishFenceNV(int arg0) { checkContext(); downstreamGLES3.glFinishFenceNV(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X)", "glFinishFenceNV", arg0); } } @Override public void glFlush() { checkContext(); downstreamGLES3.glFlush(); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s()", "glFlush"); } } @Override public void glFlushMappedBufferRange(int arg0,long arg1,long arg2) { checkContext(); downstreamGLES3.glFlushMappedBufferRange(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s, %s)", "glFlushMappedBufferRange", arg0, arg1, arg2); } } @Override public void glFramebufferRenderbuffer(int arg0,int arg1,int arg2,int arg3) { checkContext(); downstreamGLES3.glFramebufferRenderbuffer(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X)", "glFramebufferRenderbuffer", arg0, arg1, arg2, arg3); } } @Override public void glFramebufferTexture2D(int arg0,int arg1,int arg2,int arg3,int arg4) { checkContext(); downstreamGLES3.glFramebufferTexture2D(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, 0x%X)", "glFramebufferTexture2D", arg0, arg1, arg2, arg3, arg4); } } @Override public void glFramebufferTexture2DMultisampleEXT(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5) { checkContext(); downstreamGLES3.glFramebufferTexture2DMultisampleEXT(arg0,arg1,arg2,arg3,arg4,arg5); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X)", "glFramebufferTexture2DMultisampleEXT", arg0, arg1, arg2, arg3, arg4, arg5); } } @Override public void glFramebufferTexture2DMultisampleIMG(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5) { checkContext(); downstreamGLES3.glFramebufferTexture2DMultisampleIMG(arg0,arg1,arg2,arg3,arg4,arg5); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X)", "glFramebufferTexture2DMultisampleIMG", arg0, arg1, arg2, arg3, arg4, arg5); } } @Override public void glFramebufferTexture3D(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5) { checkContext(); downstreamGLES3.glFramebufferTexture3D(arg0,arg1,arg2,arg3,arg4,arg5); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X)", "glFramebufferTexture3D", arg0, arg1, arg2, arg3, arg4, arg5); } } @Override public void glFramebufferTextureLayer(int arg0,int arg1,int arg2,int arg3,int arg4) { checkContext(); downstreamGLES3.glFramebufferTextureLayer(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, 0x%X)", "glFramebufferTextureLayer", arg0, arg1, arg2, arg3, arg4); } } @Override public void glFrontFace(int arg0) { checkContext(); downstreamGLES3.glFrontFace(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X)", "glFrontFace", arg0); } } @Override public void glGenBuffers(int arg0,int[] arg1,int arg2) { checkContext(); downstreamGLES3.glGenBuffers(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, <[I>, 0x%X)", "glGenBuffers", arg0, arg2); } } @Override public void glGenBuffers(int arg0,java.nio.IntBuffer arg1) { checkContext(); downstreamGLES3.glGenBuffers(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s)", "glGenBuffers", arg0, arg1); } } @Override public void glGenFencesNV(int arg0,java.nio.IntBuffer arg1) { checkContext(); downstreamGLES3.glGenFencesNV(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s)", "glGenFencesNV", arg0, arg1); } } @Override public void glGenFencesNV(int arg0,int[] arg1,int arg2) { checkContext(); downstreamGLES3.glGenFencesNV(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, <[I>, 0x%X)", "glGenFencesNV", arg0, arg2); } } @Override public void glGenFramebuffers(int arg0,java.nio.IntBuffer arg1) { checkContext(); downstreamGLES3.glGenFramebuffers(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s)", "glGenFramebuffers", arg0, arg1); } } @Override public void glGenFramebuffers(int arg0,int[] arg1,int arg2) { checkContext(); downstreamGLES3.glGenFramebuffers(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, <[I>, 0x%X)", "glGenFramebuffers", arg0, arg2); } } @Override public void glGenPerfMonitorsAMD(int arg0,java.nio.IntBuffer arg1) { checkContext(); downstreamGLES3.glGenPerfMonitorsAMD(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s)", "glGenPerfMonitorsAMD", arg0, arg1); } } @Override public void glGenPerfMonitorsAMD(int arg0,int[] arg1,int arg2) { checkContext(); downstreamGLES3.glGenPerfMonitorsAMD(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, <[I>, 0x%X)", "glGenPerfMonitorsAMD", arg0, arg2); } } @Override public void glGenQueries(int arg0,java.nio.IntBuffer arg1) { checkContext(); downstreamGLES3.glGenQueries(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s)", "glGenQueries", arg0, arg1); } } @Override public void glGenQueries(int arg0,int[] arg1,int arg2) { checkContext(); downstreamGLES3.glGenQueries(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, <[I>, 0x%X)", "glGenQueries", arg0, arg2); } } @Override public void glGenRenderbuffers(int arg0,java.nio.IntBuffer arg1) { checkContext(); downstreamGLES3.glGenRenderbuffers(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s)", "glGenRenderbuffers", arg0, arg1); } } @Override public void glGenRenderbuffers(int arg0,int[] arg1,int arg2) { checkContext(); downstreamGLES3.glGenRenderbuffers(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, <[I>, 0x%X)", "glGenRenderbuffers", arg0, arg2); } } @Override public void glGenSamplers(int arg0,java.nio.IntBuffer arg1) { checkContext(); downstreamGLES3.glGenSamplers(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s)", "glGenSamplers", arg0, arg1); } } @Override public void glGenSamplers(int arg0,int[] arg1,int arg2) { checkContext(); downstreamGLES3.glGenSamplers(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, <[I>, 0x%X)", "glGenSamplers", arg0, arg2); } } @Override public void glGenTextures(int arg0,java.nio.IntBuffer arg1) { checkContext(); downstreamGLES3.glGenTextures(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s)", "glGenTextures", arg0, arg1); } } @Override public void glGenTextures(int arg0,int[] arg1,int arg2) { checkContext(); downstreamGLES3.glGenTextures(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, <[I>, 0x%X)", "glGenTextures", arg0, arg2); } } @Override public void glGenTransformFeedbacks(int arg0,int[] arg1,int arg2) { checkContext(); downstreamGLES3.glGenTransformFeedbacks(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, <[I>, 0x%X)", "glGenTransformFeedbacks", arg0, arg2); } } @Override public void glGenTransformFeedbacks(int arg0,java.nio.IntBuffer arg1) { checkContext(); downstreamGLES3.glGenTransformFeedbacks(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s)", "glGenTransformFeedbacks", arg0, arg1); } } @Override public void glGenVertexArrays(int arg0,java.nio.IntBuffer arg1) { checkContext(); downstreamGLES3.glGenVertexArrays(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s)", "glGenVertexArrays", arg0, arg1); } } @Override public void glGenVertexArrays(int arg0,int[] arg1,int arg2) { checkContext(); downstreamGLES3.glGenVertexArrays(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, <[I>, 0x%X)", "glGenVertexArrays", arg0, arg2); } } @Override public void glGenVertexArraysOES(int arg0,java.nio.IntBuffer arg1) { checkContext(); downstreamGLES3.glGenVertexArraysOES(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s)", "glGenVertexArraysOES", arg0, arg1); } } @Override public void glGenVertexArraysOES(int arg0,int[] arg1,int arg2) { checkContext(); downstreamGLES3.glGenVertexArraysOES(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, <[I>, 0x%X)", "glGenVertexArraysOES", arg0, arg2); } } @Override public void glGenerateMipmap(int arg0) { checkContext(); downstreamGLES3.glGenerateMipmap(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X)", "glGenerateMipmap", arg0); } } @Override public void glGetActiveAttrib(int arg0,int arg1,int arg2,java.nio.IntBuffer arg3,java.nio.IntBuffer arg4,java.nio.IntBuffer arg5,java.nio.ByteBuffer arg6) { checkContext(); downstreamGLES3.glGetActiveAttrib(arg0,arg1,arg2,arg3,arg4,arg5,arg6); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, %s, %s, %s, %s)", "glGetActiveAttrib", arg0, arg1, arg2, arg3, arg4, arg5, arg6); } } @Override public void glGetActiveAttrib(int arg0,int arg1,int arg2,int[] arg3,int arg4,int[] arg5,int arg6,int[] arg7,int arg8,byte[] arg9,int arg10) { checkContext(); downstreamGLES3.glGetActiveAttrib(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, <[I>, 0x%X, <[I>, 0x%X, <[I>, 0x%X, <[B>, 0x%X)", "glGetActiveAttrib", arg0, arg1, arg2, arg4, arg6, arg8, arg10); } } @Override public void glGetActiveUniform(int arg0,int arg1,int arg2,java.nio.IntBuffer arg3,java.nio.IntBuffer arg4,java.nio.IntBuffer arg5,java.nio.ByteBuffer arg6) { checkContext(); downstreamGLES3.glGetActiveUniform(arg0,arg1,arg2,arg3,arg4,arg5,arg6); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, %s, %s, %s, %s)", "glGetActiveUniform", arg0, arg1, arg2, arg3, arg4, arg5, arg6); } } @Override 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); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, <[I>, 0x%X, <[I>, 0x%X, <[I>, 0x%X, <[B>, 0x%X)", "glGetActiveUniform", arg0, arg1, arg2, arg4, arg6, arg8, arg10); } } @Override 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); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, <[I>, 0x%X, <[B>, 0x%X)", "glGetActiveUniformBlockName", arg0, arg1, arg2, arg4, arg6); } } @Override public void glGetActiveUniformBlockName(int arg0,int arg1,int arg2,java.nio.IntBuffer arg3,java.nio.ByteBuffer arg4) { checkContext(); downstreamGLES3.glGetActiveUniformBlockName(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, %s, %s)", "glGetActiveUniformBlockName", arg0, arg1, arg2, arg3, arg4); } } @Override public void glGetActiveUniformBlockiv(int arg0,int arg1,int arg2,int[] arg3,int arg4) { checkContext(); downstreamGLES3.glGetActiveUniformBlockiv(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, <[I>, 0x%X)", "glGetActiveUniformBlockiv", arg0, arg1, arg2, arg4); } } @Override public void glGetActiveUniformBlockiv(int arg0,int arg1,int arg2,java.nio.IntBuffer arg3) { checkContext(); downstreamGLES3.glGetActiveUniformBlockiv(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, %s)", "glGetActiveUniformBlockiv", arg0, arg1, arg2, arg3); } } @Override public void glGetActiveUniformsiv(int arg0,int arg1,int[] arg2,int arg3,int arg4,int[] arg5,int arg6) { checkContext(); downstreamGLES3.glGetActiveUniformsiv(arg0,arg1,arg2,arg3,arg4,arg5,arg6); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[I>, 0x%X, 0x%X, <[I>, 0x%X)", "glGetActiveUniformsiv", arg0, arg1, arg3, arg4, arg6); } } @Override public void glGetActiveUniformsiv(int arg0,int arg1,java.nio.IntBuffer arg2,int arg3,java.nio.IntBuffer arg4) { checkContext(); downstreamGLES3.glGetActiveUniformsiv(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s, 0x%X, %s)", "glGetActiveUniformsiv", arg0, arg1, arg2, arg3, arg4); } } @Override public void glGetAttachedShaders(int arg0,int arg1,int[] arg2,int arg3,int[] arg4,int arg5) { checkContext(); downstreamGLES3.glGetAttachedShaders(arg0,arg1,arg2,arg3,arg4,arg5); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[I>, 0x%X, <[I>, 0x%X)", "glGetAttachedShaders", arg0, arg1, arg3, arg5); } } @Override public void glGetAttachedShaders(int arg0,int arg1,java.nio.IntBuffer arg2,java.nio.IntBuffer arg3) { checkContext(); downstreamGLES3.glGetAttachedShaders(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s, %s)", "glGetAttachedShaders", arg0, arg1, arg2, arg3); } } @Override public int glGetAttribLocation(int arg0,java.lang.String arg1) { checkContext(); int _res = downstreamGLES3.glGetAttribLocation(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s)", "glGetAttribLocation", arg0, arg1); } return _res; } @Override public void glGetBooleanv(int arg0,java.nio.ByteBuffer arg1) { checkContext(); downstreamGLES3.glGetBooleanv(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s)", "glGetBooleanv", arg0, arg1); } } @Override public void glGetBooleanv(int arg0,byte[] arg1,int arg2) { checkContext(); downstreamGLES3.glGetBooleanv(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, <[B>, 0x%X)", "glGetBooleanv", arg0, arg2); } } @Override public void glGetBufferParameteri64v(int arg0,int arg1,java.nio.LongBuffer arg2) { checkContext(); downstreamGLES3.glGetBufferParameteri64v(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s)", "glGetBufferParameteri64v", arg0, arg1, arg2); } } @Override public void glGetBufferParameteri64v(int arg0,int arg1,long[] arg2,int arg3) { checkContext(); downstreamGLES3.glGetBufferParameteri64v(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[J>, 0x%X)", "glGetBufferParameteri64v", arg0, arg1, arg3); } } @Override public void glGetBufferParameteriv(int arg0,int arg1,int[] arg2,int arg3) { checkContext(); downstreamGLES3.glGetBufferParameteriv(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[I>, 0x%X)", "glGetBufferParameteriv", arg0, arg1, arg3); } } @Override public void glGetBufferParameteriv(int arg0,int arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES3.glGetBufferParameteriv(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s)", "glGetBufferParameteriv", arg0, arg1, arg2); } } @Override public int glGetDebugMessageLog(int arg0,int arg1,int[] arg2,int arg3,int[] arg4,int arg5,int[] arg6,int arg7,int[] arg8,int arg9,int[] arg10,int arg11,byte[] arg12,int arg13) { checkContext(); int _res = downstreamGLES3.glGetDebugMessageLog(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[I>, 0x%X, <[I>, 0x%X, <[I>, 0x%X, <[I>, 0x%X, <[I>, 0x%X, <[B>, 0x%X)", "glGetDebugMessageLog", arg0, arg1, arg3, arg5, arg7, arg9, arg11, arg13); } return _res; } @Override public int glGetDebugMessageLog(int arg0,int arg1,java.nio.IntBuffer arg2,java.nio.IntBuffer arg3,java.nio.IntBuffer arg4,java.nio.IntBuffer arg5,java.nio.IntBuffer arg6,java.nio.ByteBuffer arg7) { checkContext(); int _res = downstreamGLES3.glGetDebugMessageLog(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s, %s, %s, %s, %s, %s)", "glGetDebugMessageLog", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7); } return _res; } @Override public void glGetDriverControlStringQCOM(int arg0,int arg1,int[] arg2,int arg3,byte[] arg4,int arg5) { checkContext(); downstreamGLES3.glGetDriverControlStringQCOM(arg0,arg1,arg2,arg3,arg4,arg5); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[I>, 0x%X, <[B>, 0x%X)", "glGetDriverControlStringQCOM", arg0, arg1, arg3, arg5); } } @Override public void glGetDriverControlStringQCOM(int arg0,int arg1,java.nio.IntBuffer arg2,java.nio.ByteBuffer arg3) { checkContext(); downstreamGLES3.glGetDriverControlStringQCOM(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s, %s)", "glGetDriverControlStringQCOM", arg0, arg1, arg2, arg3); } } @Override public void glGetDriverControlsQCOM(java.nio.IntBuffer arg0,int arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES3.glGetDriverControlsQCOM(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( %s, 0x%X, %s)", "glGetDriverControlsQCOM", arg0, arg1, arg2); } } @Override public void glGetDriverControlsQCOM(int[] arg0,int arg1,int arg2,int[] arg3,int arg4) { checkContext(); downstreamGLES3.glGetDriverControlsQCOM(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s(<[I>, 0x%X, 0x%X, <[I>, 0x%X)", "glGetDriverControlsQCOM", arg1, arg2, arg4); } } @Override public int glGetError() { checkContext(); int _res = downstreamGLES3.glGetError(); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s()", "glGetError"); } return _res; } @Override public void glGetFenceivNV(int arg0,int arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES3.glGetFenceivNV(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s)", "glGetFenceivNV", arg0, arg1, arg2); } } @Override public void glGetFenceivNV(int arg0,int arg1,int[] arg2,int arg3) { checkContext(); downstreamGLES3.glGetFenceivNV(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[I>, 0x%X)", "glGetFenceivNV", arg0, arg1, arg3); } } @Override public void glGetFloatv(int arg0,float[] arg1,int arg2) { checkContext(); downstreamGLES3.glGetFloatv(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, <[F>, 0x%X)", "glGetFloatv", arg0, arg2); } } @Override public void glGetFloatv(int arg0,java.nio.FloatBuffer arg1) { checkContext(); downstreamGLES3.glGetFloatv(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s)", "glGetFloatv", arg0, arg1); } } @Override public int glGetFragDataLocation(int arg0,java.lang.String arg1) { checkContext(); int _res = downstreamGLES3.glGetFragDataLocation(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s)", "glGetFragDataLocation", arg0, arg1); } return _res; } @Override public void glGetFramebufferAttachmentParameteriv(int arg0,int arg1,int arg2,java.nio.IntBuffer arg3) { checkContext(); downstreamGLES3.glGetFramebufferAttachmentParameteriv(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, %s)", "glGetFramebufferAttachmentParameteriv", arg0, arg1, arg2, arg3); } } @Override public void glGetFramebufferAttachmentParameteriv(int arg0,int arg1,int arg2,int[] arg3,int arg4) { checkContext(); downstreamGLES3.glGetFramebufferAttachmentParameteriv(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, <[I>, 0x%X)", "glGetFramebufferAttachmentParameteriv", arg0, arg1, arg2, arg4); } } @Override public int glGetGraphicsResetStatus() { checkContext(); int _res = downstreamGLES3.glGetGraphicsResetStatus(); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s()", "glGetGraphicsResetStatus"); } return _res; } @Override public void glGetInteger64i_v(int arg0,int arg1,java.nio.LongBuffer arg2) { checkContext(); downstreamGLES3.glGetInteger64i_v(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s)", "glGetInteger64i_v", arg0, arg1, arg2); } } @Override public void glGetInteger64i_v(int arg0,int arg1,long[] arg2,int arg3) { checkContext(); downstreamGLES3.glGetInteger64i_v(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[J>, 0x%X)", "glGetInteger64i_v", arg0, arg1, arg3); } } @Override public void glGetInteger64v(int arg0,java.nio.LongBuffer arg1) { checkContext(); downstreamGLES3.glGetInteger64v(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s)", "glGetInteger64v", arg0, arg1); } } @Override public void glGetInteger64v(int arg0,long[] arg1,int arg2) { checkContext(); downstreamGLES3.glGetInteger64v(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, <[J>, 0x%X)", "glGetInteger64v", arg0, arg2); } } @Override public void glGetIntegeri_v(int arg0,int arg1,int[] arg2,int arg3) { checkContext(); downstreamGLES3.glGetIntegeri_v(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[I>, 0x%X)", "glGetIntegeri_v", arg0, arg1, arg3); } } @Override public void glGetIntegeri_v(int arg0,int arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES3.glGetIntegeri_v(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s)", "glGetIntegeri_v", arg0, arg1, arg2); } } @Override public void glGetIntegeri_vEXT(int arg0,int arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES3.glGetIntegeri_vEXT(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s)", "glGetIntegeri_vEXT", arg0, arg1, arg2); } } @Override public void glGetIntegeri_vEXT(int arg0,int arg1,int[] arg2,int arg3) { checkContext(); downstreamGLES3.glGetIntegeri_vEXT(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[I>, 0x%X)", "glGetIntegeri_vEXT", arg0, arg1, arg3); } } @Override public void glGetIntegerv(int arg0,java.nio.IntBuffer arg1) { checkContext(); downstreamGLES3.glGetIntegerv(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s)", "glGetIntegerv", arg0, arg1); } } @Override public void glGetIntegerv(int arg0,int[] arg1,int arg2) { checkContext(); downstreamGLES3.glGetIntegerv(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, <[I>, 0x%X)", "glGetIntegerv", arg0, arg2); } } @Override public void glGetInternalformativ(int arg0,int arg1,int arg2,int arg3,int[] arg4,int arg5) { checkContext(); downstreamGLES3.glGetInternalformativ(arg0,arg1,arg2,arg3,arg4,arg5); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, <[I>, 0x%X)", "glGetInternalformativ", arg0, arg1, arg2, arg3, arg5); } } @Override public void glGetInternalformativ(int arg0,int arg1,int arg2,int arg3,java.nio.IntBuffer arg4) { checkContext(); downstreamGLES3.glGetInternalformativ(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, %s)", "glGetInternalformativ", arg0, arg1, arg2, arg3, arg4); } } @Override public void glGetObjectLabel(int arg0,int arg1,int arg2,java.nio.IntBuffer arg3,java.nio.ByteBuffer arg4) { checkContext(); downstreamGLES3.glGetObjectLabel(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, %s, %s)", "glGetObjectLabel", arg0, arg1, arg2, arg3, arg4); } } @Override public void glGetObjectLabel(int arg0,int arg1,int arg2,int[] arg3,int arg4,byte[] arg5,int arg6) { checkContext(); downstreamGLES3.glGetObjectLabel(arg0,arg1,arg2,arg3,arg4,arg5,arg6); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, <[I>, 0x%X, <[B>, 0x%X)", "glGetObjectLabel", arg0, arg1, arg2, arg4, arg6); } } @Override public void glGetObjectLabelEXT(int arg0,int arg1,int arg2,java.nio.IntBuffer arg3,java.nio.ByteBuffer arg4) { checkContext(); downstreamGLES3.glGetObjectLabelEXT(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, %s, %s)", "glGetObjectLabelEXT", arg0, arg1, arg2, arg3, arg4); } } @Override public void glGetObjectLabelEXT(int arg0,int arg1,int arg2,int[] arg3,int arg4,byte[] arg5,int arg6) { checkContext(); downstreamGLES3.glGetObjectLabelEXT(arg0,arg1,arg2,arg3,arg4,arg5,arg6); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, <[I>, 0x%X, <[B>, 0x%X)", "glGetObjectLabelEXT", arg0, arg1, arg2, arg4, arg6); } } @Override public void glGetObjectPtrLabel(java.nio.Buffer arg0,int arg1,int[] arg2,int arg3,byte[] arg4,int arg5) { checkContext(); downstreamGLES3.glGetObjectPtrLabel(arg0,arg1,arg2,arg3,arg4,arg5); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( %s, 0x%X, <[I>, 0x%X, <[B>, 0x%X)", "glGetObjectPtrLabel", arg0, arg1, arg3, arg5); } } @Override public void glGetObjectPtrLabel(java.nio.Buffer arg0,int arg1,java.nio.IntBuffer arg2,java.nio.ByteBuffer arg3) { checkContext(); downstreamGLES3.glGetObjectPtrLabel(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( %s, 0x%X, %s, %s)", "glGetObjectPtrLabel", arg0, arg1, arg2, arg3); } } @Override public void glGetPerfMonitorCounterDataAMD(int arg0,int arg1,int arg2,int[] arg3,int arg4,int[] arg5,int arg6) { checkContext(); downstreamGLES3.glGetPerfMonitorCounterDataAMD(arg0,arg1,arg2,arg3,arg4,arg5,arg6); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, <[I>, 0x%X, <[I>, 0x%X)", "glGetPerfMonitorCounterDataAMD", arg0, arg1, arg2, arg4, arg6); } } @Override public void glGetPerfMonitorCounterDataAMD(int arg0,int arg1,int arg2,java.nio.IntBuffer arg3,java.nio.IntBuffer arg4) { checkContext(); downstreamGLES3.glGetPerfMonitorCounterDataAMD(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, %s, %s)", "glGetPerfMonitorCounterDataAMD", arg0, arg1, arg2, arg3, arg4); } } @Override public void glGetPerfMonitorCounterInfoAMD(int arg0,int arg1,int arg2,java.nio.Buffer arg3) { checkContext(); downstreamGLES3.glGetPerfMonitorCounterInfoAMD(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, %s)", "glGetPerfMonitorCounterInfoAMD", arg0, arg1, arg2, arg3); } } @Override public void glGetPerfMonitorCounterStringAMD(int arg0,int arg1,int arg2,int[] arg3,int arg4,byte[] arg5,int arg6) { checkContext(); downstreamGLES3.glGetPerfMonitorCounterStringAMD(arg0,arg1,arg2,arg3,arg4,arg5,arg6); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, <[I>, 0x%X, <[B>, 0x%X)", "glGetPerfMonitorCounterStringAMD", arg0, arg1, arg2, arg4, arg6); } } @Override public void glGetPerfMonitorCounterStringAMD(int arg0,int arg1,int arg2,java.nio.IntBuffer arg3,java.nio.ByteBuffer arg4) { checkContext(); downstreamGLES3.glGetPerfMonitorCounterStringAMD(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, %s, %s)", "glGetPerfMonitorCounterStringAMD", arg0, arg1, arg2, arg3, arg4); } } @Override public void glGetPerfMonitorCountersAMD(int arg0,int[] arg1,int arg2,int[] arg3,int arg4,int arg5,int[] arg6,int arg7) { checkContext(); downstreamGLES3.glGetPerfMonitorCountersAMD(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, <[I>, 0x%X, <[I>, 0x%X, 0x%X, <[I>, 0x%X)", "glGetPerfMonitorCountersAMD", arg0, arg2, arg4, arg5, arg7); } } @Override public void glGetPerfMonitorCountersAMD(int arg0,java.nio.IntBuffer arg1,java.nio.IntBuffer arg2,int arg3,java.nio.IntBuffer arg4) { checkContext(); downstreamGLES3.glGetPerfMonitorCountersAMD(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s, %s, 0x%X, %s)", "glGetPerfMonitorCountersAMD", arg0, arg1, arg2, arg3, arg4); } } @Override public void glGetPerfMonitorGroupStringAMD(int arg0,int arg1,java.nio.IntBuffer arg2,java.nio.ByteBuffer arg3) { checkContext(); downstreamGLES3.glGetPerfMonitorGroupStringAMD(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s, %s)", "glGetPerfMonitorGroupStringAMD", arg0, arg1, arg2, arg3); } } @Override public void glGetPerfMonitorGroupStringAMD(int arg0,int arg1,int[] arg2,int arg3,byte[] arg4,int arg5) { checkContext(); downstreamGLES3.glGetPerfMonitorGroupStringAMD(arg0,arg1,arg2,arg3,arg4,arg5); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[I>, 0x%X, <[B>, 0x%X)", "glGetPerfMonitorGroupStringAMD", arg0, arg1, arg3, arg5); } } @Override public void glGetPerfMonitorGroupsAMD(int[] arg0,int arg1,int arg2,int[] arg3,int arg4) { checkContext(); downstreamGLES3.glGetPerfMonitorGroupsAMD(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s(<[I>, 0x%X, 0x%X, <[I>, 0x%X)", "glGetPerfMonitorGroupsAMD", arg1, arg2, arg4); } } @Override public void glGetPerfMonitorGroupsAMD(java.nio.IntBuffer arg0,int arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES3.glGetPerfMonitorGroupsAMD(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( %s, 0x%X, %s)", "glGetPerfMonitorGroupsAMD", arg0, arg1, arg2); } } @Override public void glGetProgramBinary(int arg0,int arg1,java.nio.IntBuffer arg2,java.nio.IntBuffer arg3,java.nio.Buffer arg4) { checkContext(); downstreamGLES3.glGetProgramBinary(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s, %s, %s)", "glGetProgramBinary", arg0, arg1, arg2, arg3, arg4); } } @Override public void glGetProgramBinary(int arg0,int arg1,int[] arg2,int arg3,int[] arg4,int arg5,java.nio.Buffer arg6) { checkContext(); downstreamGLES3.glGetProgramBinary(arg0,arg1,arg2,arg3,arg4,arg5,arg6); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[I>, 0x%X, <[I>, 0x%X, %s)", "glGetProgramBinary", arg0, arg1, arg3, arg5, arg6); } } @Override public void glGetProgramInfoLog(int arg0,int arg1,int[] arg2,int arg3,byte[] arg4,int arg5) { checkContext(); downstreamGLES3.glGetProgramInfoLog(arg0,arg1,arg2,arg3,arg4,arg5); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[I>, 0x%X, <[B>, 0x%X)", "glGetProgramInfoLog", arg0, arg1, arg3, arg5); } } @Override public void glGetProgramInfoLog(int arg0,int arg1,java.nio.IntBuffer arg2,java.nio.ByteBuffer arg3) { checkContext(); downstreamGLES3.glGetProgramInfoLog(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s, %s)", "glGetProgramInfoLog", arg0, arg1, arg2, arg3); } } @Override public void glGetProgramiv(int arg0,int arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES3.glGetProgramiv(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s)", "glGetProgramiv", arg0, arg1, arg2); } } @Override public void glGetProgramiv(int arg0,int arg1,int[] arg2,int arg3) { checkContext(); downstreamGLES3.glGetProgramiv(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[I>, 0x%X)", "glGetProgramiv", arg0, arg1, arg3); } } @Override public void glGetQueryObjecti64vEXT(int arg0,int arg1,java.nio.LongBuffer arg2) { checkContext(); downstreamGLES3.glGetQueryObjecti64vEXT(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s)", "glGetQueryObjecti64vEXT", arg0, arg1, arg2); } } @Override public void glGetQueryObjecti64vEXT(int arg0,int arg1,long[] arg2,int arg3) { checkContext(); downstreamGLES3.glGetQueryObjecti64vEXT(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[J>, 0x%X)", "glGetQueryObjecti64vEXT", arg0, arg1, arg3); } } @Override public void glGetQueryObjectivEXT(int arg0,int arg1,int[] arg2,int arg3) { checkContext(); downstreamGLES3.glGetQueryObjectivEXT(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[I>, 0x%X)", "glGetQueryObjectivEXT", arg0, arg1, arg3); } } @Override public void glGetQueryObjectivEXT(int arg0,int arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES3.glGetQueryObjectivEXT(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s)", "glGetQueryObjectivEXT", arg0, arg1, arg2); } } @Override public void glGetQueryObjectui64vEXT(int arg0,int arg1,long[] arg2,int arg3) { checkContext(); downstreamGLES3.glGetQueryObjectui64vEXT(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[J>, 0x%X)", "glGetQueryObjectui64vEXT", arg0, arg1, arg3); } } @Override public void glGetQueryObjectui64vEXT(int arg0,int arg1,java.nio.LongBuffer arg2) { checkContext(); downstreamGLES3.glGetQueryObjectui64vEXT(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s)", "glGetQueryObjectui64vEXT", arg0, arg1, arg2); } } @Override public void glGetQueryObjectuiv(int arg0,int arg1,int[] arg2,int arg3) { checkContext(); downstreamGLES3.glGetQueryObjectuiv(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[I>, 0x%X)", "glGetQueryObjectuiv", arg0, arg1, arg3); } } @Override public void glGetQueryObjectuiv(int arg0,int arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES3.glGetQueryObjectuiv(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s)", "glGetQueryObjectuiv", arg0, arg1, arg2); } } @Override public void glGetQueryiv(int arg0,int arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES3.glGetQueryiv(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s)", "glGetQueryiv", arg0, arg1, arg2); } } @Override public void glGetQueryiv(int arg0,int arg1,int[] arg2,int arg3) { checkContext(); downstreamGLES3.glGetQueryiv(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[I>, 0x%X)", "glGetQueryiv", arg0, arg1, arg3); } } @Override public void glGetRenderbufferParameteriv(int arg0,int arg1,int[] arg2,int arg3) { checkContext(); downstreamGLES3.glGetRenderbufferParameteriv(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[I>, 0x%X)", "glGetRenderbufferParameteriv", arg0, arg1, arg3); } } @Override public void glGetRenderbufferParameteriv(int arg0,int arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES3.glGetRenderbufferParameteriv(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s)", "glGetRenderbufferParameteriv", arg0, arg1, arg2); } } @Override public void glGetSamplerParameterfv(int arg0,int arg1,java.nio.FloatBuffer arg2) { checkContext(); downstreamGLES3.glGetSamplerParameterfv(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s)", "glGetSamplerParameterfv", arg0, arg1, arg2); } } @Override public void glGetSamplerParameterfv(int arg0,int arg1,float[] arg2,int arg3) { checkContext(); downstreamGLES3.glGetSamplerParameterfv(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[F>, 0x%X)", "glGetSamplerParameterfv", arg0, arg1, arg3); } } @Override public void glGetSamplerParameteriv(int arg0,int arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES3.glGetSamplerParameteriv(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s)", "glGetSamplerParameteriv", arg0, arg1, arg2); } } @Override public void glGetSamplerParameteriv(int arg0,int arg1,int[] arg2,int arg3) { checkContext(); downstreamGLES3.glGetSamplerParameteriv(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[I>, 0x%X)", "glGetSamplerParameteriv", arg0, arg1, arg3); } } @Override public void glGetShaderInfoLog(int arg0,int arg1,java.nio.IntBuffer arg2,java.nio.ByteBuffer arg3) { checkContext(); downstreamGLES3.glGetShaderInfoLog(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s, %s)", "glGetShaderInfoLog", arg0, arg1, arg2, arg3); } } @Override public void glGetShaderInfoLog(int arg0,int arg1,int[] arg2,int arg3,byte[] arg4,int arg5) { checkContext(); downstreamGLES3.glGetShaderInfoLog(arg0,arg1,arg2,arg3,arg4,arg5); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[I>, 0x%X, <[B>, 0x%X)", "glGetShaderInfoLog", arg0, arg1, arg3, arg5); } } @Override public void glGetShaderPrecisionFormat(int arg0,int arg1,int[] arg2,int arg3,int[] arg4,int arg5) { checkContext(); downstreamGLES3.glGetShaderPrecisionFormat(arg0,arg1,arg2,arg3,arg4,arg5); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[I>, 0x%X, <[I>, 0x%X)", "glGetShaderPrecisionFormat", arg0, arg1, arg3, arg5); } } @Override public void glGetShaderPrecisionFormat(int arg0,int arg1,java.nio.IntBuffer arg2,java.nio.IntBuffer arg3) { checkContext(); downstreamGLES3.glGetShaderPrecisionFormat(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s, %s)", "glGetShaderPrecisionFormat", arg0, arg1, arg2, arg3); } } @Override public void glGetShaderSource(int arg0,int arg1,int[] arg2,int arg3,byte[] arg4,int arg5) { checkContext(); downstreamGLES3.glGetShaderSource(arg0,arg1,arg2,arg3,arg4,arg5); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[I>, 0x%X, <[B>, 0x%X)", "glGetShaderSource", arg0, arg1, arg3, arg5); } } @Override public void glGetShaderSource(int arg0,int arg1,java.nio.IntBuffer arg2,java.nio.ByteBuffer arg3) { checkContext(); downstreamGLES3.glGetShaderSource(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s, %s)", "glGetShaderSource", arg0, arg1, arg2, arg3); } } @Override public void glGetShaderiv(int arg0,int arg1,int[] arg2,int arg3) { checkContext(); downstreamGLES3.glGetShaderiv(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[I>, 0x%X)", "glGetShaderiv", arg0, arg1, arg3); } } @Override public void glGetShaderiv(int arg0,int arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES3.glGetShaderiv(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s)", "glGetShaderiv", arg0, arg1, arg2); } } @Override public java.lang.String glGetString(int arg0) { checkContext(); java.lang.String _res = downstreamGLES3.glGetString(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X)", "glGetString", arg0); } return _res; } @Override public java.lang.String glGetStringi(int arg0,int arg1) { checkContext(); java.lang.String _res = downstreamGLES3.glGetStringi(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X)", "glGetStringi", arg0, arg1); } return _res; } @Override public void glGetSynciv(long arg0,int arg1,int arg2,int[] arg3,int arg4,int[] arg5,int arg6) { checkContext(); downstreamGLES3.glGetSynciv(arg0,arg1,arg2,arg3,arg4,arg5,arg6); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( %s, 0x%X, 0x%X, <[I>, 0x%X, <[I>, 0x%X)", "glGetSynciv", arg0, arg1, arg2, arg4, arg6); } } @Override public void glGetSynciv(long arg0,int arg1,int arg2,java.nio.IntBuffer arg3,java.nio.IntBuffer arg4) { checkContext(); downstreamGLES3.glGetSynciv(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( %s, 0x%X, 0x%X, %s, %s)", "glGetSynciv", arg0, arg1, arg2, arg3, arg4); } } @Override public void glGetTexParameterfv(int arg0,int arg1,java.nio.FloatBuffer arg2) { checkContext(); downstreamGLES3.glGetTexParameterfv(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s)", "glGetTexParameterfv", arg0, arg1, arg2); } } @Override public void glGetTexParameterfv(int arg0,int arg1,float[] arg2,int arg3) { checkContext(); downstreamGLES3.glGetTexParameterfv(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[F>, 0x%X)", "glGetTexParameterfv", arg0, arg1, arg3); } } @Override public void glGetTexParameteriv(int arg0,int arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES3.glGetTexParameteriv(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s)", "glGetTexParameteriv", arg0, arg1, arg2); } } @Override public void glGetTexParameteriv(int arg0,int arg1,int[] arg2,int arg3) { checkContext(); downstreamGLES3.glGetTexParameteriv(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[I>, 0x%X)", "glGetTexParameteriv", arg0, arg1, arg3); } } @Override 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); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, <[I>, 0x%X, <[I>, 0x%X, <[I>, 0x%X, <[B>, 0x%X)", "glGetTransformFeedbackVarying", arg0, arg1, arg2, arg4, arg6, arg8, arg10); } } @Override public void glGetTransformFeedbackVarying(int arg0,int arg1,int arg2,java.nio.IntBuffer arg3,java.nio.IntBuffer arg4,java.nio.IntBuffer arg5,java.nio.ByteBuffer arg6) { checkContext(); downstreamGLES3.glGetTransformFeedbackVarying(arg0,arg1,arg2,arg3,arg4,arg5,arg6); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, %s, %s, %s, %s)", "glGetTransformFeedbackVarying", arg0, arg1, arg2, arg3, arg4, arg5, arg6); } } @Override public void glGetTranslatedShaderSourceANGLE(int arg0,int arg1,java.nio.IntBuffer arg2,java.nio.ByteBuffer arg3) { checkContext(); downstreamGLES3.glGetTranslatedShaderSourceANGLE(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s, %s)", "glGetTranslatedShaderSourceANGLE", arg0, arg1, arg2, arg3); } } @Override public void glGetTranslatedShaderSourceANGLE(int arg0,int arg1,int[] arg2,int arg3,byte[] arg4,int arg5) { checkContext(); downstreamGLES3.glGetTranslatedShaderSourceANGLE(arg0,arg1,arg2,arg3,arg4,arg5); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[I>, 0x%X, <[B>, 0x%X)", "glGetTranslatedShaderSourceANGLE", arg0, arg1, arg3, arg5); } } @Override public int glGetUniformBlockIndex(int arg0,java.lang.String arg1) { checkContext(); int _res = downstreamGLES3.glGetUniformBlockIndex(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s)", "glGetUniformBlockIndex", arg0, arg1); } return _res; } @Override public void glGetUniformIndices(int arg0,int arg1,java.lang.String[] arg2,java.nio.IntBuffer arg3) { checkContext(); downstreamGLES3.glGetUniformIndices(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[Ljava.lang.String;>, %s)", "glGetUniformIndices", arg0, arg1, arg3); } } @Override public void glGetUniformIndices(int arg0,int arg1,java.lang.String[] arg2,int[] arg3,int arg4) { checkContext(); downstreamGLES3.glGetUniformIndices(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[Ljava.lang.String;>, <[I>, 0x%X)", "glGetUniformIndices", arg0, arg1, arg4); } } @Override public int glGetUniformLocation(int arg0,java.lang.String arg1) { checkContext(); int _res = downstreamGLES3.glGetUniformLocation(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s)", "glGetUniformLocation", arg0, arg1); } return _res; } @Override public void glGetUniformfv(int arg0,int arg1,java.nio.FloatBuffer arg2) { checkContext(); downstreamGLES3.glGetUniformfv(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s)", "glGetUniformfv", arg0, arg1, arg2); } } @Override public void glGetUniformfv(int arg0,int arg1,float[] arg2,int arg3) { checkContext(); downstreamGLES3.glGetUniformfv(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[F>, 0x%X)", "glGetUniformfv", arg0, arg1, arg3); } } @Override public void glGetUniformiv(int arg0,int arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES3.glGetUniformiv(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s)", "glGetUniformiv", arg0, arg1, arg2); } } @Override public void glGetUniformiv(int arg0,int arg1,int[] arg2,int arg3) { checkContext(); downstreamGLES3.glGetUniformiv(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[I>, 0x%X)", "glGetUniformiv", arg0, arg1, arg3); } } @Override public void glGetUniformuiv(int arg0,int arg1,int[] arg2,int arg3) { checkContext(); downstreamGLES3.glGetUniformuiv(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[I>, 0x%X)", "glGetUniformuiv", arg0, arg1, arg3); } } @Override public void glGetUniformuiv(int arg0,int arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES3.glGetUniformuiv(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s)", "glGetUniformuiv", arg0, arg1, arg2); } } @Override public void glGetVertexAttribIiv(int arg0,int arg1,int[] arg2,int arg3) { checkContext(); downstreamGLES3.glGetVertexAttribIiv(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[I>, 0x%X)", "glGetVertexAttribIiv", arg0, arg1, arg3); } } @Override public void glGetVertexAttribIiv(int arg0,int arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES3.glGetVertexAttribIiv(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s)", "glGetVertexAttribIiv", arg0, arg1, arg2); } } @Override public void glGetVertexAttribIuiv(int arg0,int arg1,int[] arg2,int arg3) { checkContext(); downstreamGLES3.glGetVertexAttribIuiv(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[I>, 0x%X)", "glGetVertexAttribIuiv", arg0, arg1, arg3); } } @Override public void glGetVertexAttribIuiv(int arg0,int arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES3.glGetVertexAttribIuiv(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s)", "glGetVertexAttribIuiv", arg0, arg1, arg2); } } @Override public void glGetVertexAttribfv(int arg0,int arg1,float[] arg2,int arg3) { checkContext(); downstreamGLES3.glGetVertexAttribfv(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[F>, 0x%X)", "glGetVertexAttribfv", arg0, arg1, arg3); } } @Override public void glGetVertexAttribfv(int arg0,int arg1,java.nio.FloatBuffer arg2) { checkContext(); downstreamGLES3.glGetVertexAttribfv(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s)", "glGetVertexAttribfv", arg0, arg1, arg2); } } @Override public void glGetVertexAttribiv(int arg0,int arg1,int[] arg2,int arg3) { checkContext(); downstreamGLES3.glGetVertexAttribiv(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[I>, 0x%X)", "glGetVertexAttribiv", arg0, arg1, arg3); } } @Override public void glGetVertexAttribiv(int arg0,int arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES3.glGetVertexAttribiv(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s)", "glGetVertexAttribiv", arg0, arg1, arg2); } } @Override public void glGetnUniformfv(int arg0,int arg1,int arg2,java.nio.FloatBuffer arg3) { checkContext(); downstreamGLES3.glGetnUniformfv(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, %s)", "glGetnUniformfv", arg0, arg1, arg2, arg3); } } @Override public void glGetnUniformfv(int arg0,int arg1,int arg2,float[] arg3,int arg4) { checkContext(); downstreamGLES3.glGetnUniformfv(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, <[F>, 0x%X)", "glGetnUniformfv", arg0, arg1, arg2, arg4); } } @Override public void glGetnUniformiv(int arg0,int arg1,int arg2,java.nio.IntBuffer arg3) { checkContext(); downstreamGLES3.glGetnUniformiv(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, %s)", "glGetnUniformiv", arg0, arg1, arg2, arg3); } } @Override public void glGetnUniformiv(int arg0,int arg1,int arg2,int[] arg3,int arg4) { checkContext(); downstreamGLES3.glGetnUniformiv(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, <[I>, 0x%X)", "glGetnUniformiv", arg0, arg1, arg2, arg4); } } @Override public void glHint(int arg0,int arg1) { checkContext(); downstreamGLES3.glHint(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X)", "glHint", arg0, arg1); } } @Override public void glInsertEventMarkerEXT(int arg0,java.nio.ByteBuffer arg1) { checkContext(); downstreamGLES3.glInsertEventMarkerEXT(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s)", "glInsertEventMarkerEXT", arg0, arg1); } } @Override public void glInsertEventMarkerEXT(int arg0,byte[] arg1,int arg2) { checkContext(); downstreamGLES3.glInsertEventMarkerEXT(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, <[B>, 0x%X)", "glInsertEventMarkerEXT", arg0, arg2); } } @Override public void glInvalidateFramebuffer(int arg0,int arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES3.glInvalidateFramebuffer(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s)", "glInvalidateFramebuffer", arg0, arg1, arg2); } } @Override public void glInvalidateFramebuffer(int arg0,int arg1,int[] arg2,int arg3) { checkContext(); downstreamGLES3.glInvalidateFramebuffer(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[I>, 0x%X)", "glInvalidateFramebuffer", arg0, arg1, arg3); } } @Override public void glInvalidateSubFramebuffer(int arg0,int arg1,java.nio.IntBuffer arg2,int arg3,int arg4,int arg5,int arg6) { checkContext(); downstreamGLES3.glInvalidateSubFramebuffer(arg0,arg1,arg2,arg3,arg4,arg5,arg6); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s, 0x%X, 0x%X, 0x%X, 0x%X)", "glInvalidateSubFramebuffer", arg0, arg1, arg2, arg3, arg4, arg5, arg6); } } @Override 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); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[I>, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X)", "glInvalidateSubFramebuffer", arg0, arg1, arg3, arg4, arg5, arg6, arg7); } } @Override public boolean glIsBuffer(int arg0) { checkContext(); boolean _res = downstreamGLES3.glIsBuffer(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X)", "glIsBuffer", arg0); } return _res; } @Override public boolean glIsEnabled(int arg0) { checkContext(); boolean _res = downstreamGLES3.glIsEnabled(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X)", "glIsEnabled", arg0); } return _res; } @Override public boolean glIsFenceNV(int arg0) { checkContext(); boolean _res = downstreamGLES3.glIsFenceNV(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X)", "glIsFenceNV", arg0); } return _res; } @Override public boolean glIsFramebuffer(int arg0) { checkContext(); boolean _res = downstreamGLES3.glIsFramebuffer(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X)", "glIsFramebuffer", arg0); } return _res; } @Override public boolean glIsProgram(int arg0) { checkContext(); boolean _res = downstreamGLES3.glIsProgram(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X)", "glIsProgram", arg0); } return _res; } @Override public boolean glIsQuery(int arg0) { checkContext(); boolean _res = downstreamGLES3.glIsQuery(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X)", "glIsQuery", arg0); } return _res; } @Override public boolean glIsRenderbuffer(int arg0) { checkContext(); boolean _res = downstreamGLES3.glIsRenderbuffer(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X)", "glIsRenderbuffer", arg0); } return _res; } @Override public boolean glIsSampler(int arg0) { checkContext(); boolean _res = downstreamGLES3.glIsSampler(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X)", "glIsSampler", arg0); } return _res; } @Override public boolean glIsShader(int arg0) { checkContext(); boolean _res = downstreamGLES3.glIsShader(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X)", "glIsShader", arg0); } return _res; } @Override public boolean glIsSync(long arg0) { checkContext(); boolean _res = downstreamGLES3.glIsSync(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( %s)", "glIsSync", arg0); } return _res; } @Override public boolean glIsTexture(int arg0) { checkContext(); boolean _res = downstreamGLES3.glIsTexture(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X)", "glIsTexture", arg0); } return _res; } @Override public boolean glIsTransformFeedback(int arg0) { checkContext(); boolean _res = downstreamGLES3.glIsTransformFeedback(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X)", "glIsTransformFeedback", arg0); } return _res; } @Override public boolean glIsVertexArray(int arg0) { checkContext(); boolean _res = downstreamGLES3.glIsVertexArray(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X)", "glIsVertexArray", arg0); } return _res; } @Override public boolean glIsVertexArrayOES(int arg0) { checkContext(); boolean _res = downstreamGLES3.glIsVertexArrayOES(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X)", "glIsVertexArrayOES", arg0); } return _res; } @Override public void glLabelObjectEXT(int arg0,int arg1,int arg2,byte[] arg3,int arg4) { checkContext(); downstreamGLES3.glLabelObjectEXT(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, <[B>, 0x%X)", "glLabelObjectEXT", arg0, arg1, arg2, arg4); } } @Override public void glLabelObjectEXT(int arg0,int arg1,int arg2,java.nio.ByteBuffer arg3) { checkContext(); downstreamGLES3.glLabelObjectEXT(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, %s)", "glLabelObjectEXT", arg0, arg1, arg2, arg3); } } @Override public void glLineWidth(float arg0) { checkContext(); downstreamGLES3.glLineWidth(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( %s)", "glLineWidth", arg0); } } @Override public void glLinkProgram(int arg0) { checkContext(); downstreamGLES3.glLinkProgram(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X)", "glLinkProgram", arg0); } } @Override public java.nio.ByteBuffer glMapBuffer(int arg0,int arg1) { checkContext(); java.nio.ByteBuffer _res = downstreamGLES3.glMapBuffer(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X)", "glMapBuffer", arg0, arg1); } return _res; } @Override public java.nio.ByteBuffer glMapBufferRange(int arg0,long arg1,long arg2,int arg3) { checkContext(); java.nio.ByteBuffer _res = downstreamGLES3.glMapBufferRange(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s, %s, 0x%X)", "glMapBufferRange", arg0, arg1, arg2, arg3); } return _res; } @Override public void glObjectLabel(int arg0,int arg1,int arg2,byte[] arg3,int arg4) { checkContext(); downstreamGLES3.glObjectLabel(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, <[B>, 0x%X)", "glObjectLabel", arg0, arg1, arg2, arg4); } } @Override public void glObjectLabel(int arg0,int arg1,int arg2,java.nio.ByteBuffer arg3) { checkContext(); downstreamGLES3.glObjectLabel(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, %s)", "glObjectLabel", arg0, arg1, arg2, arg3); } } @Override public void glObjectPtrLabel(java.nio.Buffer arg0,int arg1,java.nio.ByteBuffer arg2) { checkContext(); downstreamGLES3.glObjectPtrLabel(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( %s, 0x%X, %s)", "glObjectPtrLabel", arg0, arg1, arg2); } } @Override public void glObjectPtrLabel(java.nio.Buffer arg0,int arg1,byte[] arg2,int arg3) { checkContext(); downstreamGLES3.glObjectPtrLabel(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( %s, 0x%X, <[B>, 0x%X)", "glObjectPtrLabel", arg0, arg1, arg3); } } @Override public void glPauseTransformFeedback() { checkContext(); downstreamGLES3.glPauseTransformFeedback(); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s()", "glPauseTransformFeedback"); } } @Override public void glPixelStorei(int arg0,int arg1) { checkContext(); downstreamGLES3.glPixelStorei(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X)", "glPixelStorei", arg0, arg1); } } @Override public void glPolygonOffset(float arg0,float arg1) { checkContext(); downstreamGLES3.glPolygonOffset(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( %s, %s)", "glPolygonOffset", arg0, arg1); } } @Override public void glPopDebugGroup() { checkContext(); downstreamGLES3.glPopDebugGroup(); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s()", "glPopDebugGroup"); } } @Override public void glPopGroupMarkerEXT() { checkContext(); downstreamGLES3.glPopGroupMarkerEXT(); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s()", "glPopGroupMarkerEXT"); } } @Override public void glProgramBinary(int arg0,int arg1,java.nio.Buffer arg2,int arg3) { checkContext(); downstreamGLES3.glProgramBinary(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s, 0x%X)", "glProgramBinary", arg0, arg1, arg2, arg3); } } @Override public void glProgramParameteri(int arg0,int arg1,int arg2) { checkContext(); downstreamGLES3.glProgramParameteri(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X)", "glProgramParameteri", arg0, arg1, arg2); } } @Override public void glPushDebugGroup(int arg0,int arg1,int arg2,java.nio.ByteBuffer arg3) { checkContext(); downstreamGLES3.glPushDebugGroup(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, %s)", "glPushDebugGroup", arg0, arg1, arg2, arg3); } } @Override public void glPushDebugGroup(int arg0,int arg1,int arg2,byte[] arg3,int arg4) { checkContext(); downstreamGLES3.glPushDebugGroup(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, <[B>, 0x%X)", "glPushDebugGroup", arg0, arg1, arg2, arg4); } } @Override public void glPushGroupMarkerEXT(int arg0,byte[] arg1,int arg2) { checkContext(); downstreamGLES3.glPushGroupMarkerEXT(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, <[B>, 0x%X)", "glPushGroupMarkerEXT", arg0, arg2); } } @Override public void glPushGroupMarkerEXT(int arg0,java.nio.ByteBuffer arg1) { checkContext(); downstreamGLES3.glPushGroupMarkerEXT(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s)", "glPushGroupMarkerEXT", arg0, arg1); } } @Override public void glQueryCounterEXT(int arg0,int arg1) { checkContext(); downstreamGLES3.glQueryCounterEXT(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X)", "glQueryCounterEXT", arg0, arg1); } } @Override public void glReadBuffer(int arg0) { checkContext(); downstreamGLES3.glReadBuffer(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X)", "glReadBuffer", arg0); } } @Override public void glReadBufferIndexedEXT(int arg0,int arg1) { checkContext(); downstreamGLES3.glReadBufferIndexedEXT(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X)", "glReadBufferIndexedEXT", arg0, arg1); } } @Override public void glReadBufferNV(int arg0) { checkContext(); downstreamGLES3.glReadBufferNV(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X)", "glReadBufferNV", arg0); } } @Override public void glReadPixels(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5,long arg6) { checkContext(); downstreamGLES3.glReadPixels(arg0,arg1,arg2,arg3,arg4,arg5,arg6); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, %s)", "glReadPixels", arg0, arg1, arg2, arg3, arg4, arg5, arg6); } } @Override 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); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, %s)", "glReadPixels", arg0, arg1, arg2, arg3, arg4, arg5, arg6); } } @Override public void glReadnPixels(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5,int arg6,java.nio.Buffer arg7) { checkContext(); downstreamGLES3.glReadnPixels(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, %s)", "glReadnPixels", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7); } } @Override public void glReleaseShaderCompiler() { checkContext(); downstreamGLES3.glReleaseShaderCompiler(); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s()", "glReleaseShaderCompiler"); } } @Override public void glRenderbufferStorage(int arg0,int arg1,int arg2,int arg3) { checkContext(); downstreamGLES3.glRenderbufferStorage(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X)", "glRenderbufferStorage", arg0, arg1, arg2, arg3); } } @Override public void glRenderbufferStorageMultisample(int arg0,int arg1,int arg2,int arg3,int arg4) { checkContext(); downstreamGLES3.glRenderbufferStorageMultisample(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, 0x%X)", "glRenderbufferStorageMultisample", arg0, arg1, arg2, arg3, arg4); } } @Override public void glRenderbufferStorageMultisampleANGLE(int arg0,int arg1,int arg2,int arg3,int arg4) { checkContext(); downstreamGLES3.glRenderbufferStorageMultisampleANGLE(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, 0x%X)", "glRenderbufferStorageMultisampleANGLE", arg0, arg1, arg2, arg3, arg4); } } @Override public void glRenderbufferStorageMultisampleAPPLE(int arg0,int arg1,int arg2,int arg3,int arg4) { checkContext(); downstreamGLES3.glRenderbufferStorageMultisampleAPPLE(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, 0x%X)", "glRenderbufferStorageMultisampleAPPLE", arg0, arg1, arg2, arg3, arg4); } } @Override public void glRenderbufferStorageMultisampleIMG(int arg0,int arg1,int arg2,int arg3,int arg4) { checkContext(); downstreamGLES3.glRenderbufferStorageMultisampleIMG(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, 0x%X)", "glRenderbufferStorageMultisampleIMG", arg0, arg1, arg2, arg3, arg4); } } @Override public void glRenderbufferStorageMultisampleNV(int arg0,int arg1,int arg2,int arg3,int arg4) { checkContext(); downstreamGLES3.glRenderbufferStorageMultisampleNV(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, 0x%X)", "glRenderbufferStorageMultisampleNV", arg0, arg1, arg2, arg3, arg4); } } @Override public void glResolveMultisampleFramebufferAPPLE() { checkContext(); downstreamGLES3.glResolveMultisampleFramebufferAPPLE(); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s()", "glResolveMultisampleFramebufferAPPLE"); } } @Override public void glResumeTransformFeedback() { checkContext(); downstreamGLES3.glResumeTransformFeedback(); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s()", "glResumeTransformFeedback"); } } @Override public void glSampleCoverage(float arg0,boolean arg1) { checkContext(); downstreamGLES3.glSampleCoverage(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( %s, %s)", "glSampleCoverage", arg0, arg1); } } @Override public void glSamplerParameterf(int arg0,int arg1,float arg2) { checkContext(); downstreamGLES3.glSamplerParameterf(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s)", "glSamplerParameterf", arg0, arg1, arg2); } } @Override public void glSamplerParameterfv(int arg0,int arg1,float[] arg2,int arg3) { checkContext(); downstreamGLES3.glSamplerParameterfv(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[F>, 0x%X)", "glSamplerParameterfv", arg0, arg1, arg3); } } @Override public void glSamplerParameterfv(int arg0,int arg1,java.nio.FloatBuffer arg2) { checkContext(); downstreamGLES3.glSamplerParameterfv(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s)", "glSamplerParameterfv", arg0, arg1, arg2); } } @Override public void glSamplerParameteri(int arg0,int arg1,int arg2) { checkContext(); downstreamGLES3.glSamplerParameteri(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X)", "glSamplerParameteri", arg0, arg1, arg2); } } @Override public void glSamplerParameteriv(int arg0,int arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES3.glSamplerParameteriv(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s)", "glSamplerParameteriv", arg0, arg1, arg2); } } @Override public void glSamplerParameteriv(int arg0,int arg1,int[] arg2,int arg3) { checkContext(); downstreamGLES3.glSamplerParameteriv(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[I>, 0x%X)", "glSamplerParameteriv", arg0, arg1, arg3); } } @Override public void glScissor(int arg0,int arg1,int arg2,int arg3) { checkContext(); downstreamGLES3.glScissor(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X)", "glScissor", arg0, arg1, arg2, arg3); } } @Override public void glSelectPerfMonitorCountersAMD(int arg0,boolean arg1,int arg2,int arg3,java.nio.IntBuffer arg4) { checkContext(); downstreamGLES3.glSelectPerfMonitorCountersAMD(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s, 0x%X, 0x%X, %s)", "glSelectPerfMonitorCountersAMD", arg0, arg1, arg2, arg3, arg4); } } @Override public void glSelectPerfMonitorCountersAMD(int arg0,boolean arg1,int arg2,int arg3,int[] arg4,int arg5) { checkContext(); downstreamGLES3.glSelectPerfMonitorCountersAMD(arg0,arg1,arg2,arg3,arg4,arg5); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s, 0x%X, 0x%X, <[I>, 0x%X)", "glSelectPerfMonitorCountersAMD", arg0, arg1, arg2, arg3, arg5); } } @Override public void glSetFenceNV(int arg0,int arg1) { checkContext(); downstreamGLES3.glSetFenceNV(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X)", "glSetFenceNV", arg0, arg1); } } @Override 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); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s, 0x%X, %s, 0x%X)", "glShaderBinary", arg0, arg1, arg2, arg3, arg4); } } @Override public void glShaderBinary(int arg0,int[] arg1,int arg2,int arg3,java.nio.Buffer arg4,int arg5) { checkContext(); downstreamGLES3.glShaderBinary(arg0,arg1,arg2,arg3,arg4,arg5); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, <[I>, 0x%X, 0x%X, %s, 0x%X)", "glShaderBinary", arg0, arg2, arg3, arg4, arg5); } } @Override public void glShaderSource(int arg0,int arg1,java.lang.String[] arg2,int[] arg3,int arg4) { checkContext(); downstreamGLES3.glShaderSource(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[Ljava.lang.String;>, <[I>, 0x%X)", "glShaderSource", arg0, arg1, arg4); } } @Override public void glShaderSource(int arg0,int arg1,java.lang.String[] arg2,java.nio.IntBuffer arg3) { checkContext(); downstreamGLES3.glShaderSource(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[Ljava.lang.String;>, %s)", "glShaderSource", arg0, arg1, arg3); } } @Override public void glStartTilingQCOM(int arg0,int arg1,int arg2,int arg3,int arg4) { checkContext(); downstreamGLES3.glStartTilingQCOM(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, 0x%X)", "glStartTilingQCOM", arg0, arg1, arg2, arg3, arg4); } } @Override public void glStencilFunc(int arg0,int arg1,int arg2) { checkContext(); downstreamGLES3.glStencilFunc(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X)", "glStencilFunc", arg0, arg1, arg2); } } @Override public void glStencilFuncSeparate(int arg0,int arg1,int arg2,int arg3) { checkContext(); downstreamGLES3.glStencilFuncSeparate(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X)", "glStencilFuncSeparate", arg0, arg1, arg2, arg3); } } @Override public void glStencilMask(int arg0) { checkContext(); downstreamGLES3.glStencilMask(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X)", "glStencilMask", arg0); } } @Override public void glStencilMaskSeparate(int arg0,int arg1) { checkContext(); downstreamGLES3.glStencilMaskSeparate(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X)", "glStencilMaskSeparate", arg0, arg1); } } @Override public void glStencilOp(int arg0,int arg1,int arg2) { checkContext(); downstreamGLES3.glStencilOp(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X)", "glStencilOp", arg0, arg1, arg2); } } @Override public void glStencilOpSeparate(int arg0,int arg1,int arg2,int arg3) { checkContext(); downstreamGLES3.glStencilOpSeparate(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X)", "glStencilOpSeparate", arg0, arg1, arg2, arg3); } } @Override public boolean glTestFenceNV(int arg0) { checkContext(); boolean _res = downstreamGLES3.glTestFenceNV(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X)", "glTestFenceNV", arg0); } return _res; } @Override public void glTexImage2D(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5,int arg6,int arg7,long arg8) { checkContext(); downstreamGLES3.glTexImage2D(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, %s)", "glTexImage2D", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8); } } @Override 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); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, %s)", "glTexImage2D", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8); } } @Override 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); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, %s)", "glTexImage3D", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9); } } @Override public void glTexImage3D(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5,int arg6,int arg7,int arg8,java.nio.Buffer arg9) { checkContext(); downstreamGLES3.glTexImage3D(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, %s)", "glTexImage3D", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9); } } @Override public void glTexParameterf(int arg0,int arg1,float arg2) { checkContext(); downstreamGLES3.glTexParameterf(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s)", "glTexParameterf", arg0, arg1, arg2); } } @Override public void glTexParameterfv(int arg0,int arg1,java.nio.FloatBuffer arg2) { checkContext(); downstreamGLES3.glTexParameterfv(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s)", "glTexParameterfv", arg0, arg1, arg2); } } @Override public void glTexParameterfv(int arg0,int arg1,float[] arg2,int arg3) { checkContext(); downstreamGLES3.glTexParameterfv(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[F>, 0x%X)", "glTexParameterfv", arg0, arg1, arg3); } } @Override public void glTexParameteri(int arg0,int arg1,int arg2) { checkContext(); downstreamGLES3.glTexParameteri(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X)", "glTexParameteri", arg0, arg1, arg2); } } @Override public void glTexParameteriv(int arg0,int arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES3.glTexParameteriv(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s)", "glTexParameteriv", arg0, arg1, arg2); } } @Override public void glTexParameteriv(int arg0,int arg1,int[] arg2,int arg3) { checkContext(); downstreamGLES3.glTexParameteriv(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[I>, 0x%X)", "glTexParameteriv", arg0, arg1, arg3); } } @Override public void glTexStorage1D(int arg0,int arg1,int arg2,int arg3) { checkContext(); downstreamGLES3.glTexStorage1D(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X)", "glTexStorage1D", arg0, arg1, arg2, arg3); } } @Override public void glTexStorage2D(int arg0,int arg1,int arg2,int arg3,int arg4) { checkContext(); downstreamGLES3.glTexStorage2D(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, 0x%X)", "glTexStorage2D", arg0, arg1, arg2, arg3, arg4); } } @Override public void glTexStorage3D(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5) { checkContext(); downstreamGLES3.glTexStorage3D(arg0,arg1,arg2,arg3,arg4,arg5); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X)", "glTexStorage3D", arg0, arg1, arg2, arg3, arg4, arg5); } } @Override 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); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, %s)", "glTexSubImage2D", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8); } } @Override public void glTexSubImage2D(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5,int arg6,int arg7,long arg8) { checkContext(); downstreamGLES3.glTexSubImage2D(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, %s)", "glTexSubImage2D", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8); } } @Override 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); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, %s)", "glTexSubImage3D", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10); } } @Override public void glTexSubImage3D(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5,int arg6,int arg7,int arg8,int arg9,long arg10) { checkContext(); downstreamGLES3.glTexSubImage3D(arg0,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, %s)", "glTexSubImage3D", arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10); } } @Override public void glTextureStorage1D(int arg0,int arg1,int arg2,int arg3,int arg4) { checkContext(); downstreamGLES3.glTextureStorage1D(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, 0x%X)", "glTextureStorage1D", arg0, arg1, arg2, arg3, arg4); } } @Override public void glTextureStorage2D(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5) { checkContext(); downstreamGLES3.glTextureStorage2D(arg0,arg1,arg2,arg3,arg4,arg5); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X)", "glTextureStorage2D", arg0, arg1, arg2, arg3, arg4, arg5); } } @Override 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); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X, 0x%X)", "glTextureStorage3D", arg0, arg1, arg2, arg3, arg4, arg5, arg6); } } @Override public void glTransformFeedbackVaryings(int arg0,int arg1,java.lang.String[] arg2,int arg3) { checkContext(); downstreamGLES3.glTransformFeedbackVaryings(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[Ljava.lang.String;>, 0x%X)", "glTransformFeedbackVaryings", arg0, arg1, arg3); } } @Override public void glUniform(javax.media.opengl.GLUniformData arg0) { checkContext(); downstreamGLES3.glUniform(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( %s)", "glUniform", arg0); } } @Override public void glUniform1f(int arg0,float arg1) { checkContext(); downstreamGLES3.glUniform1f(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s)", "glUniform1f", arg0, arg1); } } @Override public void glUniform1fv(int arg0,int arg1,java.nio.FloatBuffer arg2) { checkContext(); downstreamGLES3.glUniform1fv(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s)", "glUniform1fv", arg0, arg1, arg2); } } @Override public void glUniform1fv(int arg0,int arg1,float[] arg2,int arg3) { checkContext(); downstreamGLES3.glUniform1fv(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[F>, 0x%X)", "glUniform1fv", arg0, arg1, arg3); } } @Override public void glUniform1i(int arg0,int arg1) { checkContext(); downstreamGLES3.glUniform1i(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X)", "glUniform1i", arg0, arg1); } } @Override public void glUniform1iv(int arg0,int arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES3.glUniform1iv(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s)", "glUniform1iv", arg0, arg1, arg2); } } @Override public void glUniform1iv(int arg0,int arg1,int[] arg2,int arg3) { checkContext(); downstreamGLES3.glUniform1iv(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[I>, 0x%X)", "glUniform1iv", arg0, arg1, arg3); } } @Override public void glUniform1ui(int arg0,int arg1) { checkContext(); downstreamGLES3.glUniform1ui(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X)", "glUniform1ui", arg0, arg1); } } @Override public void glUniform1uiv(int arg0,int arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES3.glUniform1uiv(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s)", "glUniform1uiv", arg0, arg1, arg2); } } @Override public void glUniform1uiv(int arg0,int arg1,int[] arg2,int arg3) { checkContext(); downstreamGLES3.glUniform1uiv(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[I>, 0x%X)", "glUniform1uiv", arg0, arg1, arg3); } } @Override public void glUniform2f(int arg0,float arg1,float arg2) { checkContext(); downstreamGLES3.glUniform2f(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s, %s)", "glUniform2f", arg0, arg1, arg2); } } @Override public void glUniform2fv(int arg0,int arg1,java.nio.FloatBuffer arg2) { checkContext(); downstreamGLES3.glUniform2fv(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s)", "glUniform2fv", arg0, arg1, arg2); } } @Override public void glUniform2fv(int arg0,int arg1,float[] arg2,int arg3) { checkContext(); downstreamGLES3.glUniform2fv(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[F>, 0x%X)", "glUniform2fv", arg0, arg1, arg3); } } @Override public void glUniform2i(int arg0,int arg1,int arg2) { checkContext(); downstreamGLES3.glUniform2i(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X)", "glUniform2i", arg0, arg1, arg2); } } @Override public void glUniform2iv(int arg0,int arg1,int[] arg2,int arg3) { checkContext(); downstreamGLES3.glUniform2iv(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[I>, 0x%X)", "glUniform2iv", arg0, arg1, arg3); } } @Override public void glUniform2iv(int arg0,int arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES3.glUniform2iv(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s)", "glUniform2iv", arg0, arg1, arg2); } } @Override public void glUniform2ui(int arg0,int arg1,int arg2) { checkContext(); downstreamGLES3.glUniform2ui(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X)", "glUniform2ui", arg0, arg1, arg2); } } @Override public void glUniform2uiv(int arg0,int arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES3.glUniform2uiv(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s)", "glUniform2uiv", arg0, arg1, arg2); } } @Override public void glUniform2uiv(int arg0,int arg1,int[] arg2,int arg3) { checkContext(); downstreamGLES3.glUniform2uiv(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[I>, 0x%X)", "glUniform2uiv", arg0, arg1, arg3); } } @Override public void glUniform3f(int arg0,float arg1,float arg2,float arg3) { checkContext(); downstreamGLES3.glUniform3f(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s, %s, %s)", "glUniform3f", arg0, arg1, arg2, arg3); } } @Override public void glUniform3fv(int arg0,int arg1,java.nio.FloatBuffer arg2) { checkContext(); downstreamGLES3.glUniform3fv(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s)", "glUniform3fv", arg0, arg1, arg2); } } @Override public void glUniform3fv(int arg0,int arg1,float[] arg2,int arg3) { checkContext(); downstreamGLES3.glUniform3fv(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[F>, 0x%X)", "glUniform3fv", arg0, arg1, arg3); } } @Override public void glUniform3i(int arg0,int arg1,int arg2,int arg3) { checkContext(); downstreamGLES3.glUniform3i(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X)", "glUniform3i", arg0, arg1, arg2, arg3); } } @Override public void glUniform3iv(int arg0,int arg1,int[] arg2,int arg3) { checkContext(); downstreamGLES3.glUniform3iv(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[I>, 0x%X)", "glUniform3iv", arg0, arg1, arg3); } } @Override public void glUniform3iv(int arg0,int arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES3.glUniform3iv(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s)", "glUniform3iv", arg0, arg1, arg2); } } @Override public void glUniform3ui(int arg0,int arg1,int arg2,int arg3) { checkContext(); downstreamGLES3.glUniform3ui(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X)", "glUniform3ui", arg0, arg1, arg2, arg3); } } @Override public void glUniform3uiv(int arg0,int arg1,int[] arg2,int arg3) { checkContext(); downstreamGLES3.glUniform3uiv(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[I>, 0x%X)", "glUniform3uiv", arg0, arg1, arg3); } } @Override public void glUniform3uiv(int arg0,int arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES3.glUniform3uiv(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s)", "glUniform3uiv", arg0, arg1, arg2); } } @Override public void glUniform4f(int arg0,float arg1,float arg2,float arg3,float arg4) { checkContext(); downstreamGLES3.glUniform4f(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s, %s, %s, %s)", "glUniform4f", arg0, arg1, arg2, arg3, arg4); } } @Override public void glUniform4fv(int arg0,int arg1,java.nio.FloatBuffer arg2) { checkContext(); downstreamGLES3.glUniform4fv(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s)", "glUniform4fv", arg0, arg1, arg2); } } @Override public void glUniform4fv(int arg0,int arg1,float[] arg2,int arg3) { checkContext(); downstreamGLES3.glUniform4fv(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[F>, 0x%X)", "glUniform4fv", arg0, arg1, arg3); } } @Override public void glUniform4i(int arg0,int arg1,int arg2,int arg3,int arg4) { checkContext(); downstreamGLES3.glUniform4i(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, 0x%X)", "glUniform4i", arg0, arg1, arg2, arg3, arg4); } } @Override public void glUniform4iv(int arg0,int arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES3.glUniform4iv(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s)", "glUniform4iv", arg0, arg1, arg2); } } @Override public void glUniform4iv(int arg0,int arg1,int[] arg2,int arg3) { checkContext(); downstreamGLES3.glUniform4iv(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[I>, 0x%X)", "glUniform4iv", arg0, arg1, arg3); } } @Override public void glUniform4ui(int arg0,int arg1,int arg2,int arg3,int arg4) { checkContext(); downstreamGLES3.glUniform4ui(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, 0x%X)", "glUniform4ui", arg0, arg1, arg2, arg3, arg4); } } @Override public void glUniform4uiv(int arg0,int arg1,java.nio.IntBuffer arg2) { checkContext(); downstreamGLES3.glUniform4uiv(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s)", "glUniform4uiv", arg0, arg1, arg2); } } @Override public void glUniform4uiv(int arg0,int arg1,int[] arg2,int arg3) { checkContext(); downstreamGLES3.glUniform4uiv(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, <[I>, 0x%X)", "glUniform4uiv", arg0, arg1, arg3); } } @Override public void glUniformBlockBinding(int arg0,int arg1,int arg2) { checkContext(); downstreamGLES3.glUniformBlockBinding(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X)", "glUniformBlockBinding", arg0, arg1, arg2); } } @Override public void glUniformMatrix2fv(int arg0,int arg1,boolean arg2,float[] arg3,int arg4) { checkContext(); downstreamGLES3.glUniformMatrix2fv(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s, <[F>, 0x%X)", "glUniformMatrix2fv", arg0, arg1, arg2, arg4); } } @Override public void glUniformMatrix2fv(int arg0,int arg1,boolean arg2,java.nio.FloatBuffer arg3) { checkContext(); downstreamGLES3.glUniformMatrix2fv(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s, %s)", "glUniformMatrix2fv", arg0, arg1, arg2, arg3); } } @Override public void glUniformMatrix2x3fv(int arg0,int arg1,boolean arg2,float[] arg3,int arg4) { checkContext(); downstreamGLES3.glUniformMatrix2x3fv(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s, <[F>, 0x%X)", "glUniformMatrix2x3fv", arg0, arg1, arg2, arg4); } } @Override public void glUniformMatrix2x3fv(int arg0,int arg1,boolean arg2,java.nio.FloatBuffer arg3) { checkContext(); downstreamGLES3.glUniformMatrix2x3fv(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s, %s)", "glUniformMatrix2x3fv", arg0, arg1, arg2, arg3); } } @Override public void glUniformMatrix2x4fv(int arg0,int arg1,boolean arg2,float[] arg3,int arg4) { checkContext(); downstreamGLES3.glUniformMatrix2x4fv(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s, <[F>, 0x%X)", "glUniformMatrix2x4fv", arg0, arg1, arg2, arg4); } } @Override public void glUniformMatrix2x4fv(int arg0,int arg1,boolean arg2,java.nio.FloatBuffer arg3) { checkContext(); downstreamGLES3.glUniformMatrix2x4fv(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s, %s)", "glUniformMatrix2x4fv", arg0, arg1, arg2, arg3); } } @Override public void glUniformMatrix3fv(int arg0,int arg1,boolean arg2,float[] arg3,int arg4) { checkContext(); downstreamGLES3.glUniformMatrix3fv(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s, <[F>, 0x%X)", "glUniformMatrix3fv", arg0, arg1, arg2, arg4); } } @Override public void glUniformMatrix3fv(int arg0,int arg1,boolean arg2,java.nio.FloatBuffer arg3) { checkContext(); downstreamGLES3.glUniformMatrix3fv(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s, %s)", "glUniformMatrix3fv", arg0, arg1, arg2, arg3); } } @Override public void glUniformMatrix3x2fv(int arg0,int arg1,boolean arg2,float[] arg3,int arg4) { checkContext(); downstreamGLES3.glUniformMatrix3x2fv(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s, <[F>, 0x%X)", "glUniformMatrix3x2fv", arg0, arg1, arg2, arg4); } } @Override public void glUniformMatrix3x2fv(int arg0,int arg1,boolean arg2,java.nio.FloatBuffer arg3) { checkContext(); downstreamGLES3.glUniformMatrix3x2fv(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s, %s)", "glUniformMatrix3x2fv", arg0, arg1, arg2, arg3); } } @Override public void glUniformMatrix3x4fv(int arg0,int arg1,boolean arg2,java.nio.FloatBuffer arg3) { checkContext(); downstreamGLES3.glUniformMatrix3x4fv(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s, %s)", "glUniformMatrix3x4fv", arg0, arg1, arg2, arg3); } } @Override public void glUniformMatrix3x4fv(int arg0,int arg1,boolean arg2,float[] arg3,int arg4) { checkContext(); downstreamGLES3.glUniformMatrix3x4fv(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s, <[F>, 0x%X)", "glUniformMatrix3x4fv", arg0, arg1, arg2, arg4); } } @Override public void glUniformMatrix4fv(int arg0,int arg1,boolean arg2,float[] arg3,int arg4) { checkContext(); downstreamGLES3.glUniformMatrix4fv(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s, <[F>, 0x%X)", "glUniformMatrix4fv", arg0, arg1, arg2, arg4); } } @Override public void glUniformMatrix4fv(int arg0,int arg1,boolean arg2,java.nio.FloatBuffer arg3) { checkContext(); downstreamGLES3.glUniformMatrix4fv(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s, %s)", "glUniformMatrix4fv", arg0, arg1, arg2, arg3); } } @Override public void glUniformMatrix4x2fv(int arg0,int arg1,boolean arg2,float[] arg3,int arg4) { checkContext(); downstreamGLES3.glUniformMatrix4x2fv(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s, <[F>, 0x%X)", "glUniformMatrix4x2fv", arg0, arg1, arg2, arg4); } } @Override public void glUniformMatrix4x2fv(int arg0,int arg1,boolean arg2,java.nio.FloatBuffer arg3) { checkContext(); downstreamGLES3.glUniformMatrix4x2fv(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s, %s)", "glUniformMatrix4x2fv", arg0, arg1, arg2, arg3); } } @Override public void glUniformMatrix4x3fv(int arg0,int arg1,boolean arg2,float[] arg3,int arg4) { checkContext(); downstreamGLES3.glUniformMatrix4x3fv(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s, <[F>, 0x%X)", "glUniformMatrix4x3fv", arg0, arg1, arg2, arg4); } } @Override public void glUniformMatrix4x3fv(int arg0,int arg1,boolean arg2,java.nio.FloatBuffer arg3) { checkContext(); downstreamGLES3.glUniformMatrix4x3fv(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, %s, %s)", "glUniformMatrix4x3fv", arg0, arg1, arg2, arg3); } } @Override public boolean glUnmapBuffer(int arg0) { checkContext(); boolean _res = downstreamGLES3.glUnmapBuffer(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X)", "glUnmapBuffer", arg0); } return _res; } @Override public void glUseProgram(int arg0) { checkContext(); downstreamGLES3.glUseProgram(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X)", "glUseProgram", arg0); } } @Override public void glValidateProgram(int arg0) { checkContext(); downstreamGLES3.glValidateProgram(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X)", "glValidateProgram", arg0); } } @Override public void glVertexAttrib1f(int arg0,float arg1) { checkContext(); downstreamGLES3.glVertexAttrib1f(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s)", "glVertexAttrib1f", arg0, arg1); } } @Override public void glVertexAttrib1fv(int arg0,java.nio.FloatBuffer arg1) { checkContext(); downstreamGLES3.glVertexAttrib1fv(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s)", "glVertexAttrib1fv", arg0, arg1); } } @Override public void glVertexAttrib1fv(int arg0,float[] arg1,int arg2) { checkContext(); downstreamGLES3.glVertexAttrib1fv(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, <[F>, 0x%X)", "glVertexAttrib1fv", arg0, arg2); } } @Override public void glVertexAttrib2f(int arg0,float arg1,float arg2) { checkContext(); downstreamGLES3.glVertexAttrib2f(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s, %s)", "glVertexAttrib2f", arg0, arg1, arg2); } } @Override public void glVertexAttrib2fv(int arg0,java.nio.FloatBuffer arg1) { checkContext(); downstreamGLES3.glVertexAttrib2fv(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s)", "glVertexAttrib2fv", arg0, arg1); } } @Override public void glVertexAttrib2fv(int arg0,float[] arg1,int arg2) { checkContext(); downstreamGLES3.glVertexAttrib2fv(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, <[F>, 0x%X)", "glVertexAttrib2fv", arg0, arg2); } } @Override public void glVertexAttrib3f(int arg0,float arg1,float arg2,float arg3) { checkContext(); downstreamGLES3.glVertexAttrib3f(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s, %s, %s)", "glVertexAttrib3f", arg0, arg1, arg2, arg3); } } @Override public void glVertexAttrib3fv(int arg0,java.nio.FloatBuffer arg1) { checkContext(); downstreamGLES3.glVertexAttrib3fv(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s)", "glVertexAttrib3fv", arg0, arg1); } } @Override public void glVertexAttrib3fv(int arg0,float[] arg1,int arg2) { checkContext(); downstreamGLES3.glVertexAttrib3fv(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, <[F>, 0x%X)", "glVertexAttrib3fv", arg0, arg2); } } @Override public void glVertexAttrib4f(int arg0,float arg1,float arg2,float arg3,float arg4) { checkContext(); downstreamGLES3.glVertexAttrib4f(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s, %s, %s, %s)", "glVertexAttrib4f", arg0, arg1, arg2, arg3, arg4); } } @Override public void glVertexAttrib4fv(int arg0,java.nio.FloatBuffer arg1) { checkContext(); downstreamGLES3.glVertexAttrib4fv(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s)", "glVertexAttrib4fv", arg0, arg1); } } @Override public void glVertexAttrib4fv(int arg0,float[] arg1,int arg2) { checkContext(); downstreamGLES3.glVertexAttrib4fv(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, <[F>, 0x%X)", "glVertexAttrib4fv", arg0, arg2); } } @Override public void glVertexAttribDivisor(int arg0,int arg1) { checkContext(); downstreamGLES3.glVertexAttribDivisor(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X)", "glVertexAttribDivisor", arg0, arg1); } } @Override public void glVertexAttribDivisorANGLE(int arg0,int arg1) { checkContext(); downstreamGLES3.glVertexAttribDivisorANGLE(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X)", "glVertexAttribDivisorANGLE", arg0, arg1); } } @Override public void glVertexAttribDivisorNV(int arg0,int arg1) { checkContext(); downstreamGLES3.glVertexAttribDivisorNV(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X)", "glVertexAttribDivisorNV", arg0, arg1); } } @Override public void glVertexAttribI4i(int arg0,int arg1,int arg2,int arg3,int arg4) { checkContext(); downstreamGLES3.glVertexAttribI4i(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, 0x%X)", "glVertexAttribI4i", arg0, arg1, arg2, arg3, arg4); } } @Override public void glVertexAttribI4iv(int arg0,int[] arg1,int arg2) { checkContext(); downstreamGLES3.glVertexAttribI4iv(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, <[I>, 0x%X)", "glVertexAttribI4iv", arg0, arg2); } } @Override public void glVertexAttribI4iv(int arg0,java.nio.IntBuffer arg1) { checkContext(); downstreamGLES3.glVertexAttribI4iv(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s)", "glVertexAttribI4iv", arg0, arg1); } } @Override public void glVertexAttribI4ui(int arg0,int arg1,int arg2,int arg3,int arg4) { checkContext(); downstreamGLES3.glVertexAttribI4ui(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, 0x%X)", "glVertexAttribI4ui", arg0, arg1, arg2, arg3, arg4); } } @Override public void glVertexAttribI4uiv(int arg0,int[] arg1,int arg2) { checkContext(); downstreamGLES3.glVertexAttribI4uiv(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, <[I>, 0x%X)", "glVertexAttribI4uiv", arg0, arg2); } } @Override public void glVertexAttribI4uiv(int arg0,java.nio.IntBuffer arg1) { checkContext(); downstreamGLES3.glVertexAttribI4uiv(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s)", "glVertexAttribI4uiv", arg0, arg1); } } @Override public void glVertexAttribIPointer(int arg0,int arg1,int arg2,int arg3,long arg4) { checkContext(); downstreamGLES3.glVertexAttribIPointer(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, %s)", "glVertexAttribIPointer", arg0, arg1, arg2, arg3, arg4); } } @Override public void glVertexAttribIPointer(int arg0,int arg1,int arg2,int arg3,java.nio.Buffer arg4) { checkContext(); downstreamGLES3.glVertexAttribIPointer(arg0,arg1,arg2,arg3,arg4); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X, %s)", "glVertexAttribIPointer", arg0, arg1, arg2, arg3, arg4); } } @Override public void glVertexAttribPointer(int arg0,int arg1,int arg2,boolean arg3,int arg4,long arg5) { checkContext(); downstreamGLES3.glVertexAttribPointer(arg0,arg1,arg2,arg3,arg4,arg5); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, %s, 0x%X, %s)", "glVertexAttribPointer", arg0, arg1, arg2, arg3, arg4, arg5); } } @Override public void glVertexAttribPointer(int arg0,int arg1,int arg2,boolean arg3,int arg4,java.nio.Buffer arg5) { checkContext(); downstreamGLES3.glVertexAttribPointer(arg0,arg1,arg2,arg3,arg4,arg5); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, %s, 0x%X, %s)", "glVertexAttribPointer", arg0, arg1, arg2, arg3, arg4, arg5); } } @Override public void glVertexAttribPointer(javax.media.opengl.GLArrayData arg0) { checkContext(); downstreamGLES3.glVertexAttribPointer(arg0); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( %s)", "glVertexAttribPointer", arg0); } } @Override public void glViewport(int arg0,int arg1,int arg2,int arg3) { checkContext(); downstreamGLES3.glViewport(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X, 0x%X, 0x%X)", "glViewport", arg0, arg1, arg2, arg3); } } @Override public void glWaitSync(long arg0,int arg1,long arg2) { checkContext(); downstreamGLES3.glWaitSync(arg0,arg1,arg2); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( %s, 0x%X, %s)", "glWaitSync", arg0, arg1, arg2); } } @Override public boolean hasBasicFBOSupport() { return downstreamGLES3.hasBasicFBOSupport(); } @Override public boolean hasFullFBOSupport() { return downstreamGLES3.hasFullFBOSupport(); } @Override public boolean hasGLSL() { return downstreamGLES3.hasGLSL(); } @Override public boolean isExtensionAvailable(java.lang.String arg0) { return downstreamGLES3.isExtensionAvailable(arg0); } @Override public boolean isFunctionAvailable(java.lang.String arg0) { return downstreamGLES3.isFunctionAvailable(arg0); } @Override public boolean isGL() { return true; } @Override public boolean isGL2() { return downstreamGLES3.isGL2(); } @Override public boolean isGL2ES1() { return downstreamGLES3.isGL2ES1(); } @Override public boolean isGL2ES2() { return downstreamGLES3.isGL2ES2(); } @Override public boolean isGL2ES3() { return downstreamGLES3.isGL2ES3(); } @Override public boolean isGL2GL3() { return downstreamGLES3.isGL2GL3(); } @Override public boolean isGL3() { return downstreamGLES3.isGL3(); } @Override public boolean isGL3ES3() { return downstreamGLES3.isGL3ES3(); } @Override public boolean isGL3bc() { return downstreamGLES3.isGL3bc(); } @Override public boolean isGL3core() { return downstreamGLES3.isGL3core(); } @Override public boolean isGL4() { return downstreamGLES3.isGL4(); } @Override public boolean isGL4ES3() { return downstreamGLES3.isGL4ES3(); } @Override public boolean isGL4bc() { return downstreamGLES3.isGL4bc(); } @Override public boolean isGL4core() { return downstreamGLES3.isGL4core(); } @Override public boolean isGLES() { return downstreamGLES3.isGLES(); } @Override public boolean isGLES1() { return downstreamGLES3.isGLES1(); } @Override public boolean isGLES2() { return downstreamGLES3.isGLES2(); } @Override public boolean isGLES2Compatible() { return downstreamGLES3.isGLES2Compatible(); } @Override public boolean isGLES3() { return downstreamGLES3.isGLES3(); } @Override public boolean isGLES3Compatible() { return downstreamGLES3.isGLES3Compatible(); } @Override public boolean isGLcore() { return downstreamGLES3.isGLcore(); } @Override public boolean isNPOTTextureAvailable() { return downstreamGLES3.isNPOTTextureAvailable(); } @Override public boolean isPBOPackBound() { return downstreamGLES3.isPBOPackBound(); } @Override public boolean isPBOUnpackBound() { return downstreamGLES3.isPBOUnpackBound(); } @Override public boolean isTextureFormatBGRA8888Available() { return downstreamGLES3.isTextureFormatBGRA8888Available(); } @Override public boolean isVBOArrayBound() { return downstreamGLES3.isVBOArrayBound(); } @Override public boolean isVBOElementArrayBound() { return downstreamGLES3.isVBOElementArrayBound(); } @Override public javax.media.opengl.GLBufferStorage mapBuffer(int arg0,int arg1) { checkContext(); javax.media.opengl.GLBufferStorage _res = downstreamGLES3.mapBuffer(arg0,arg1); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, 0x%X)", "mapBuffer", arg0, arg1); } return _res; } @Override public javax.media.opengl.GLBufferStorage mapBufferRange(int arg0,long arg1,long arg2,int arg3) { checkContext(); javax.media.opengl.GLBufferStorage _res = downstreamGLES3.mapBufferRange(arg0,arg1,arg2,arg3); final int err = checkGLError(); if (err != GL_NO_ERROR) { writeGLError(err, "%s( 0x%X, %s, %s, 0x%X)", "mapBufferRange", arg0, arg1, arg2, arg3); } return _res; } @Override public void setSwapInterval(int arg0) { downstreamGLES3.setSwapInterval(arg0); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("DebugGLES3 [this 0x"+Integer.toHexString(hashCode())+" implementing javax.media.opengl.GLES3,\n\t"); sb.append(" downstream: "+downstreamGLES3.toString()+"\n\t]"); return sb.toString(); } private int checkGLError() { return downstreamGLES3.glGetError(); } private void writeGLError(int err, String fmt, Object... args) { StringBuilder buf = new StringBuilder(); buf.append(Thread.currentThread().toString()); buf.append(" glGetError() returned the following error codes after a call to "); buf.append(String.format(fmt, args)); buf.append(": "); // Loop repeatedly to allow for distributed GL implementations, // as detailed in the glGetError() specification int recursionDepth = 10; do { switch (err) { case GL_INVALID_ENUM: buf.append("GL_INVALID_ENUM "); break; case GL_INVALID_VALUE: buf.append("GL_INVALID_VALUE "); break; case GL_INVALID_OPERATION: buf.append("GL_INVALID_OPERATION "); break; case GL_OUT_OF_MEMORY: buf.append("GL_OUT_OF_MEMORY "); break; case GL_NO_ERROR: throw new InternalError("Should not be treating GL_NO_ERROR as error"); default: buf.append("Unknown glGetError() return value: "); } buf.append("( " + err + " 0x"+Integer.toHexString(err).toUpperCase() + "), "); } while ((--recursionDepth >= 0) && (err = downstreamGLES3.glGetError()) != GL_NO_ERROR); throw new GLException(buf.toString()); } private void checkContext() { GLContext currentContext = GLContext.getCurrent(); if (currentContext == null) { throw new GLException("No OpenGL context is current on this thread"); } if ((_context != null) && (_context != currentContext)) { throw new GLException("This GL object is being incorrectly used with a different GLContext than that which created it"); } } private GLContext _context; private GLES3 downstreamGLES3; } // end class DebugGLES3




© 2015 - 2024 Weber Informatics LLC | Privacy Policy