Package arc.profiling

Class GL20Interceptor

java.lang.Object
arc.profiling.GLInterceptor
arc.profiling.GL20Interceptor
All Implemented Interfaces:
GL20

public class GL20Interceptor extends GLInterceptor implements GL20
  • Field Details

    • gl20

      protected final GL20 gl20
  • Constructor Details

    • GL20Interceptor

      protected GL20Interceptor(GLProfiler glProfiler, GL20 gl20)
  • Method Details

    • glActiveTexture

      public void glActiveTexture(int texture)
      Specified by:
      glActiveTexture in interface GL20
    • glBindTexture

      public void glBindTexture(int target, int texture)
      Specified by:
      glBindTexture in interface GL20
    • glBlendFunc

      public void glBlendFunc(int sfactor, int dfactor)
      Specified by:
      glBlendFunc in interface GL20
    • glClear

      public void glClear(int mask)
      Specified by:
      glClear in interface GL20
    • glClearColor

      public void glClearColor(float red, float green, float blue, float alpha)
      Specified by:
      glClearColor in interface GL20
    • glClearDepthf

      public void glClearDepthf(float depth)
      Specified by:
      glClearDepthf in interface GL20
    • glClearStencil

      public void glClearStencil(int s)
      Specified by:
      glClearStencil in interface GL20
    • glColorMask

      public void glColorMask(boolean red, boolean green, boolean blue, boolean alpha)
      Specified by:
      glColorMask in interface GL20
    • glCompressedTexImage2D

      public void glCompressedTexImage2D(int target, int level, int internalformat, int width, int height, int border, int imageSize, Buffer data)
      Specified by:
      glCompressedTexImage2D in interface GL20
    • glCompressedTexSubImage2D

      public void glCompressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, Buffer data)
      Specified by:
      glCompressedTexSubImage2D in interface GL20
    • glCopyTexImage2D

      public void glCopyTexImage2D(int target, int level, int internalformat, int x, int y, int width, int height, int border)
      Specified by:
      glCopyTexImage2D in interface GL20
    • glCopyTexSubImage2D

      public void glCopyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height)
      Specified by:
      glCopyTexSubImage2D in interface GL20
    • glCullFace

      public void glCullFace(int mode)
      Specified by:
      glCullFace in interface GL20
    • glDeleteTexture

      public void glDeleteTexture(int texture)
      Specified by:
      glDeleteTexture in interface GL20
    • glDepthFunc

      public void glDepthFunc(int func)
      Specified by:
      glDepthFunc in interface GL20
    • glDepthMask

      public void glDepthMask(boolean flag)
      Specified by:
      glDepthMask in interface GL20
    • glDepthRangef

      public void glDepthRangef(float zNear, float zFar)
      Specified by:
      glDepthRangef in interface GL20
    • glDisable

      public void glDisable(int cap)
      Specified by:
      glDisable in interface GL20
    • glDrawArrays

      public void glDrawArrays(int mode, int first, int count)
      Specified by:
      glDrawArrays in interface GL20
    • glDrawElements

      public void glDrawElements(int mode, int count, int type, Buffer indices)
      Specified by:
      glDrawElements in interface GL20
    • glEnable

      public void glEnable(int cap)
      Specified by:
      glEnable in interface GL20
    • glFinish

      public void glFinish()
      Specified by:
      glFinish in interface GL20
    • glFlush

      public void glFlush()
      Specified by:
      glFlush in interface GL20
    • glFrontFace

      public void glFrontFace(int mode)
      Specified by:
      glFrontFace in interface GL20
    • glGenTexture

      public int glGenTexture()
      Specified by:
      glGenTexture in interface GL20
    • glGetError

      public int glGetError()
      Specified by:
      glGetError in interface GL20
    • glGetIntegerv

      public void glGetIntegerv(int pname, IntBuffer params)
      Specified by:
      glGetIntegerv in interface GL20
    • glGetString

      public String glGetString(int name)
      Specified by:
      glGetString in interface GL20
    • glHint

      public void glHint(int target, int mode)
      Specified by:
      glHint in interface GL20
    • glLineWidth

      public void glLineWidth(float width)
      Specified by:
      glLineWidth in interface GL20
    • glPixelStorei

      public void glPixelStorei(int pname, int param)
      Specified by:
      glPixelStorei in interface GL20
    • glPolygonOffset

      public void glPolygonOffset(float factor, float units)
      Specified by:
      glPolygonOffset in interface GL20
    • glReadPixels

      public void glReadPixels(int x, int y, int width, int height, int format, int type, Buffer pixels)
      Specified by:
      glReadPixels in interface GL20
    • glScissor

      public void glScissor(int x, int y, int width, int height)
      Specified by:
      glScissor in interface GL20
    • glStencilFunc

      public void glStencilFunc(int func, int ref, int mask)
      Specified by:
      glStencilFunc in interface GL20
    • glStencilMask

      public void glStencilMask(int mask)
      Specified by:
      glStencilMask in interface GL20
    • glStencilOp

      public void glStencilOp(int fail, int zfail, int zpass)
      Specified by:
      glStencilOp in interface GL20
    • glTexImage2D

      public void glTexImage2D(int target, int level, int internalformat, int width, int height, int border, int format, int type, Buffer pixels)
      Specified by:
      glTexImage2D in interface GL20
    • glTexParameterf

      public void glTexParameterf(int target, int pname, float param)
      Specified by:
      glTexParameterf in interface GL20
    • glTexSubImage2D

      public void glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, Buffer pixels)
      Specified by:
      glTexSubImage2D in interface GL20
    • glViewport

      public void glViewport(int x, int y, int width, int height)
      Specified by:
      glViewport in interface GL20
    • glAttachShader

      public void glAttachShader(int program, int shader)
      Specified by:
      glAttachShader in interface GL20
    • glBindAttribLocation

      public void glBindAttribLocation(int program, int index, String name)
      Specified by:
      glBindAttribLocation in interface GL20
    • glBindBuffer

      public void glBindBuffer(int target, int buffer)
      Specified by:
      glBindBuffer in interface GL20
    • glBindFramebuffer

      public void glBindFramebuffer(int target, int framebuffer)
      Specified by:
      glBindFramebuffer in interface GL20
    • glBindRenderbuffer

      public void glBindRenderbuffer(int target, int renderbuffer)
      Specified by:
      glBindRenderbuffer in interface GL20
    • glBlendColor

      public void glBlendColor(float red, float green, float blue, float alpha)
      Specified by:
      glBlendColor in interface GL20
    • glBlendEquation

      public void glBlendEquation(int mode)
      Specified by:
      glBlendEquation in interface GL20
    • glBlendEquationSeparate

      public void glBlendEquationSeparate(int modeRGB, int modeAlpha)
      Specified by:
      glBlendEquationSeparate in interface GL20
    • glBlendFuncSeparate

      public void glBlendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha)
      Specified by:
      glBlendFuncSeparate in interface GL20
    • glBufferData

      public void glBufferData(int target, int size, Buffer data, int usage)
      Specified by:
      glBufferData in interface GL20
    • glBufferSubData

      public void glBufferSubData(int target, int offset, int size, Buffer data)
      Specified by:
      glBufferSubData in interface GL20
    • glCheckFramebufferStatus

      public int glCheckFramebufferStatus(int target)
      Specified by:
      glCheckFramebufferStatus in interface GL20
    • glCompileShader

      public void glCompileShader(int shader)
      Specified by:
      glCompileShader in interface GL20
    • glCreateProgram

      public int glCreateProgram()
      Specified by:
      glCreateProgram in interface GL20
    • glCreateShader

      public int glCreateShader(int type)
      Specified by:
      glCreateShader in interface GL20
    • glDeleteBuffer

      public void glDeleteBuffer(int buffer)
      Specified by:
      glDeleteBuffer in interface GL20
    • glDeleteFramebuffer

      public void glDeleteFramebuffer(int framebuffer)
      Specified by:
      glDeleteFramebuffer in interface GL20
    • glDeleteProgram

      public void glDeleteProgram(int program)
      Specified by:
      glDeleteProgram in interface GL20
    • glDeleteRenderbuffer

      public void glDeleteRenderbuffer(int renderbuffer)
      Specified by:
      glDeleteRenderbuffer in interface GL20
    • glDeleteShader

      public void glDeleteShader(int shader)
      Specified by:
      glDeleteShader in interface GL20
    • glDetachShader

      public void glDetachShader(int program, int shader)
      Specified by:
      glDetachShader in interface GL20
    • glDisableVertexAttribArray

      public void glDisableVertexAttribArray(int index)
      Specified by:
      glDisableVertexAttribArray in interface GL20
    • glDrawElements

      public void glDrawElements(int mode, int count, int type, int indices)
      Specified by:
      glDrawElements in interface GL20
    • glEnableVertexAttribArray

      public void glEnableVertexAttribArray(int index)
      Specified by:
      glEnableVertexAttribArray in interface GL20
    • glFramebufferRenderbuffer

      public void glFramebufferRenderbuffer(int target, int attachment, int renderbuffertarget, int renderbuffer)
      Specified by:
      glFramebufferRenderbuffer in interface GL20
    • glFramebufferTexture2D

      public void glFramebufferTexture2D(int target, int attachment, int textarget, int texture, int level)
      Specified by:
      glFramebufferTexture2D in interface GL20
    • glGenBuffer

      public int glGenBuffer()
      Specified by:
      glGenBuffer in interface GL20
    • glGenerateMipmap

      public void glGenerateMipmap(int target)
      Specified by:
      glGenerateMipmap in interface GL20
    • glGenFramebuffer

      public int glGenFramebuffer()
      Specified by:
      glGenFramebuffer in interface GL20
    • glGenRenderbuffer

      public int glGenRenderbuffer()
      Specified by:
      glGenRenderbuffer in interface GL20
    • glGetActiveAttrib

      public String glGetActiveAttrib(int program, int index, IntBuffer size, IntBuffer type)
      Specified by:
      glGetActiveAttrib in interface GL20
    • glGetActiveUniform

      public String glGetActiveUniform(int program, int index, IntBuffer size, IntBuffer type)
      Specified by:
      glGetActiveUniform in interface GL20
    • glGetAttribLocation

      public int glGetAttribLocation(int program, String name)
      Specified by:
      glGetAttribLocation in interface GL20
    • glGetBooleanv

      public void glGetBooleanv(int pname, Buffer params)
      Specified by:
      glGetBooleanv in interface GL20
    • glGetBufferParameteriv

      public void glGetBufferParameteriv(int target, int pname, IntBuffer params)
      Specified by:
      glGetBufferParameteriv in interface GL20
    • glGetFloatv

      public void glGetFloatv(int pname, FloatBuffer params)
      Specified by:
      glGetFloatv in interface GL20
    • glGetFramebufferAttachmentParameteriv

      public void glGetFramebufferAttachmentParameteriv(int target, int attachment, int pname, IntBuffer params)
      Specified by:
      glGetFramebufferAttachmentParameteriv in interface GL20
    • glGetProgramiv

      public void glGetProgramiv(int program, int pname, IntBuffer params)
      Specified by:
      glGetProgramiv in interface GL20
    • glGetProgramInfoLog

      public String glGetProgramInfoLog(int program)
      Specified by:
      glGetProgramInfoLog in interface GL20
    • glGetRenderbufferParameteriv

      public void glGetRenderbufferParameteriv(int target, int pname, IntBuffer params)
      Specified by:
      glGetRenderbufferParameteriv in interface GL20
    • glGetShaderiv

      public void glGetShaderiv(int shader, int pname, IntBuffer params)
      Specified by:
      glGetShaderiv in interface GL20
    • glGetShaderInfoLog

      public String glGetShaderInfoLog(int shader)
      Specified by:
      glGetShaderInfoLog in interface GL20
    • glGetShaderPrecisionFormat

      public void glGetShaderPrecisionFormat(int shadertype, int precisiontype, IntBuffer range, IntBuffer precision)
      Specified by:
      glGetShaderPrecisionFormat in interface GL20
    • glGetTexParameterfv

      public void glGetTexParameterfv(int target, int pname, FloatBuffer params)
      Specified by:
      glGetTexParameterfv in interface GL20
    • glGetTexParameteriv

      public void glGetTexParameteriv(int target, int pname, IntBuffer params)
      Specified by:
      glGetTexParameteriv in interface GL20
    • glGetUniformfv

      public void glGetUniformfv(int program, int location, FloatBuffer params)
      Specified by:
      glGetUniformfv in interface GL20
    • glGetUniformiv

      public void glGetUniformiv(int program, int location, IntBuffer params)
      Specified by:
      glGetUniformiv in interface GL20
    • glGetUniformLocation

      public int glGetUniformLocation(int program, String name)
      Specified by:
      glGetUniformLocation in interface GL20
    • glGetVertexAttribfv

      public void glGetVertexAttribfv(int index, int pname, FloatBuffer params)
      Specified by:
      glGetVertexAttribfv in interface GL20
    • glGetVertexAttribiv

      public void glGetVertexAttribiv(int index, int pname, IntBuffer params)
      Specified by:
      glGetVertexAttribiv in interface GL20
    • glIsBuffer

      public boolean glIsBuffer(int buffer)
      Specified by:
      glIsBuffer in interface GL20
    • glIsEnabled

      public boolean glIsEnabled(int cap)
      Specified by:
      glIsEnabled in interface GL20
    • glIsFramebuffer

      public boolean glIsFramebuffer(int framebuffer)
      Specified by:
      glIsFramebuffer in interface GL20
    • glIsProgram

      public boolean glIsProgram(int program)
      Specified by:
      glIsProgram in interface GL20
    • glIsRenderbuffer

      public boolean glIsRenderbuffer(int renderbuffer)
      Specified by:
      glIsRenderbuffer in interface GL20
    • glIsShader

      public boolean glIsShader(int shader)
      Specified by:
      glIsShader in interface GL20
    • glIsTexture

      public boolean glIsTexture(int texture)
      Specified by:
      glIsTexture in interface GL20
    • glLinkProgram

      public void glLinkProgram(int program)
      Specified by:
      glLinkProgram in interface GL20
    • glReleaseShaderCompiler

      public void glReleaseShaderCompiler()
      Specified by:
      glReleaseShaderCompiler in interface GL20
    • glRenderbufferStorage

      public void glRenderbufferStorage(int target, int internalformat, int width, int height)
      Specified by:
      glRenderbufferStorage in interface GL20
    • glSampleCoverage

      public void glSampleCoverage(float value, boolean invert)
      Specified by:
      glSampleCoverage in interface GL20
    • glShaderSource

      public void glShaderSource(int shader, String string)
      Specified by:
      glShaderSource in interface GL20
    • glStencilFuncSeparate

      public void glStencilFuncSeparate(int face, int func, int ref, int mask)
      Specified by:
      glStencilFuncSeparate in interface GL20
    • glStencilMaskSeparate

      public void glStencilMaskSeparate(int face, int mask)
      Specified by:
      glStencilMaskSeparate in interface GL20
    • glStencilOpSeparate

      public void glStencilOpSeparate(int face, int fail, int zfail, int zpass)
      Specified by:
      glStencilOpSeparate in interface GL20
    • glTexParameterfv

      public void glTexParameterfv(int target, int pname, FloatBuffer params)
      Specified by:
      glTexParameterfv in interface GL20
    • glTexParameteri

      public void glTexParameteri(int target, int pname, int param)
      Specified by:
      glTexParameteri in interface GL20
    • glTexParameteriv

      public void glTexParameteriv(int target, int pname, IntBuffer params)
      Specified by:
      glTexParameteriv in interface GL20
    • glUniform1f

      public void glUniform1f(int location, float x)
      Specified by:
      glUniform1f in interface GL20
    • glUniform1fv

      public void glUniform1fv(int location, int count, FloatBuffer v)
      Specified by:
      glUniform1fv in interface GL20
    • glUniform1fv

      public void glUniform1fv(int location, int count, float[] v, int offset)
      Specified by:
      glUniform1fv in interface GL20
    • glUniform1i

      public void glUniform1i(int location, int x)
      Specified by:
      glUniform1i in interface GL20
    • glUniform1iv

      public void glUniform1iv(int location, int count, IntBuffer v)
      Specified by:
      glUniform1iv in interface GL20
    • glUniform1iv

      public void glUniform1iv(int location, int count, int[] v, int offset)
      Specified by:
      glUniform1iv in interface GL20
    • glUniform2f

      public void glUniform2f(int location, float x, float y)
      Specified by:
      glUniform2f in interface GL20
    • glUniform2fv

      public void glUniform2fv(int location, int count, FloatBuffer v)
      Specified by:
      glUniform2fv in interface GL20
    • glUniform2fv

      public void glUniform2fv(int location, int count, float[] v, int offset)
      Specified by:
      glUniform2fv in interface GL20
    • glUniform2i

      public void glUniform2i(int location, int x, int y)
      Specified by:
      glUniform2i in interface GL20
    • glUniform2iv

      public void glUniform2iv(int location, int count, IntBuffer v)
      Specified by:
      glUniform2iv in interface GL20
    • glUniform2iv

      public void glUniform2iv(int location, int count, int[] v, int offset)
      Specified by:
      glUniform2iv in interface GL20
    • glUniform3f

      public void glUniform3f(int location, float x, float y, float z)
      Specified by:
      glUniform3f in interface GL20
    • glUniform3fv

      public void glUniform3fv(int location, int count, FloatBuffer v)
      Specified by:
      glUniform3fv in interface GL20
    • glUniform3fv

      public void glUniform3fv(int location, int count, float[] v, int offset)
      Specified by:
      glUniform3fv in interface GL20
    • glUniform3i

      public void glUniform3i(int location, int x, int y, int z)
      Specified by:
      glUniform3i in interface GL20
    • glUniform3iv

      public void glUniform3iv(int location, int count, IntBuffer v)
      Specified by:
      glUniform3iv in interface GL20
    • glUniform3iv

      public void glUniform3iv(int location, int count, int[] v, int offset)
      Specified by:
      glUniform3iv in interface GL20
    • glUniform4f

      public void glUniform4f(int location, float x, float y, float z, float w)
      Specified by:
      glUniform4f in interface GL20
    • glUniform4fv

      public void glUniform4fv(int location, int count, FloatBuffer v)
      Specified by:
      glUniform4fv in interface GL20
    • glUniform4fv

      public void glUniform4fv(int location, int count, float[] v, int offset)
      Specified by:
      glUniform4fv in interface GL20
    • glUniform4i

      public void glUniform4i(int location, int x, int y, int z, int w)
      Specified by:
      glUniform4i in interface GL20
    • glUniform4iv

      public void glUniform4iv(int location, int count, IntBuffer v)
      Specified by:
      glUniform4iv in interface GL20
    • glUniform4iv

      public void glUniform4iv(int location, int count, int[] v, int offset)
      Specified by:
      glUniform4iv in interface GL20
    • glUniformMatrix2fv

      public void glUniformMatrix2fv(int location, int count, boolean transpose, FloatBuffer value)
      Specified by:
      glUniformMatrix2fv in interface GL20
    • glUniformMatrix2fv

      public void glUniformMatrix2fv(int location, int count, boolean transpose, float[] value, int offset)
      Specified by:
      glUniformMatrix2fv in interface GL20
    • glUniformMatrix3fv

      public void glUniformMatrix3fv(int location, int count, boolean transpose, FloatBuffer value)
      Specified by:
      glUniformMatrix3fv in interface GL20
    • glUniformMatrix3fv

      public void glUniformMatrix3fv(int location, int count, boolean transpose, float[] value, int offset)
      Specified by:
      glUniformMatrix3fv in interface GL20
    • glUniformMatrix4fv

      public void glUniformMatrix4fv(int location, int count, boolean transpose, FloatBuffer value)
      Specified by:
      glUniformMatrix4fv in interface GL20
    • glUniformMatrix4fv

      public void glUniformMatrix4fv(int location, int count, boolean transpose, float[] value, int offset)
      Specified by:
      glUniformMatrix4fv in interface GL20
    • glUseProgram

      public void glUseProgram(int program)
      Specified by:
      glUseProgram in interface GL20
    • glValidateProgram

      public void glValidateProgram(int program)
      Specified by:
      glValidateProgram in interface GL20
    • glVertexAttrib1f

      public void glVertexAttrib1f(int indx, float x)
      Specified by:
      glVertexAttrib1f in interface GL20
    • glVertexAttrib1fv

      public void glVertexAttrib1fv(int indx, FloatBuffer values)
      Specified by:
      glVertexAttrib1fv in interface GL20
    • glVertexAttrib2f

      public void glVertexAttrib2f(int indx, float x, float y)
      Specified by:
      glVertexAttrib2f in interface GL20
    • glVertexAttrib2fv

      public void glVertexAttrib2fv(int indx, FloatBuffer values)
      Specified by:
      glVertexAttrib2fv in interface GL20
    • glVertexAttrib3f

      public void glVertexAttrib3f(int indx, float x, float y, float z)
      Specified by:
      glVertexAttrib3f in interface GL20
    • glVertexAttrib3fv

      public void glVertexAttrib3fv(int indx, FloatBuffer values)
      Specified by:
      glVertexAttrib3fv in interface GL20
    • glVertexAttrib4f

      public void glVertexAttrib4f(int indx, float x, float y, float z, float w)
      Specified by:
      glVertexAttrib4f in interface GL20
    • glVertexAttrib4fv

      public void glVertexAttrib4fv(int indx, FloatBuffer values)
      Specified by:
      glVertexAttrib4fv in interface GL20
    • glVertexAttribPointer

      public void glVertexAttribPointer(int indx, int size, int type, boolean normalized, int stride, Buffer ptr)
      Description copied from interface: GL20
      In OpenGl core profiles (3.1+), passing a pointer to client memory is not valid. In 3.0 and later, use the other version of this function instead, pass a zero-based offset which references the buffer currently bound to GL_ARRAY_BUFFER.
      Specified by:
      glVertexAttribPointer in interface GL20
    • glVertexAttribPointer

      public void glVertexAttribPointer(int indx, int size, int type, boolean normalized, int stride, int ptr)
      Specified by:
      glVertexAttribPointer in interface GL20