Lines Matching refs:self

385 GLenum GL2Encoder::s_glGetError(void * self)  in s_glGetError()  argument
387 GL2Encoder *ctx = (GL2Encoder *)self; in s_glGetError()
398 return ctx->m_glGetError_enc(self); in s_glGetError()
502 void GL2Encoder::s_glFlush(void *self) in s_glFlush() argument
504 GL2Encoder *ctx = (GL2Encoder *) self; in s_glFlush()
505 ctx->m_glFlush_enc(self); in s_glFlush()
509 const GLubyte *GL2Encoder::s_glGetString(void *self, GLenum name) in s_glGetString() argument
511 GL2Encoder *ctx = (GL2Encoder *)self; in s_glGetString()
538 void GL2Encoder::s_glPixelStorei(void *self, GLenum param, GLint value) in s_glPixelStorei() argument
540 GL2Encoder *ctx = (GL2Encoder *)self; in s_glPixelStorei()
547 void GL2Encoder::s_glBindBuffer(void *self, GLenum target, GLuint id) in s_glBindBuffer() argument
549 GL2Encoder *ctx = (GL2Encoder *) self; in s_glBindBuffer()
573 void GL2Encoder::s_glBufferData(void * self, GLenum target, GLsizeiptr size, const GLvoid * data, G… in s_glBufferData() argument
575 GL2Encoder *ctx = (GL2Encoder *) self; in s_glBufferData()
583 ctx->m_glBufferData_enc(self, target, size, data, usage); in s_glBufferData()
586 void GL2Encoder::s_glBufferSubData(void * self, GLenum target, GLintptr offset, GLsizeiptr size, co… in s_glBufferSubData() argument
588 GL2Encoder *ctx = (GL2Encoder *) self; in s_glBufferSubData()
597 ctx->m_glBufferSubData_enc(self, target, offset, size, data); in s_glBufferSubData()
600 void GL2Encoder::s_glGenBuffers(void* self, GLsizei n, GLuint* buffers) { in s_glGenBuffers() argument
601 GL2Encoder *ctx = (GL2Encoder *) self; in s_glGenBuffers()
603 ctx->m_glGenBuffers_enc(self, n, buffers); in s_glGenBuffers()
609 void GL2Encoder::s_glDeleteBuffers(void * self, GLsizei n, const GLuint * buffers) in s_glDeleteBuffers() argument
611 GL2Encoder *ctx = (GL2Encoder *) self; in s_glDeleteBuffers()
619 ctx->m_glDeleteBuffers_enc(self,1,&buffers[i]); in s_glDeleteBuffers()
623 static bool isValidVertexAttribIndex(void *self, GLuint indx) in isValidVertexAttribIndex() argument
625 GL2Encoder *ctx = (GL2Encoder *)self; in isValidVertexAttribIndex()
627 ctx->glGetIntegerv(self, GL_MAX_VERTEX_ATTRIBS, &maxIndex); in isValidVertexAttribIndex()
633 !isValidVertexAttribIndex(self, index), GL_INVALID_VALUE, \
636 void GL2Encoder::s_glVertexAttribPointer(void *self, GLuint indx, GLint size, GLenum type, GLboolea… in s_glVertexAttribPointer() argument
638 GL2Encoder *ctx = (GL2Encoder *)self; in s_glVertexAttribPointer()
674 void GL2Encoder::s_glGetIntegerv(void *self, GLenum param, GLint *ptr) in s_glGetIntegerv() argument
676 GL2Encoder *ctx = (GL2Encoder *) self; in s_glGetIntegerv()
898 void GL2Encoder::s_glGetFloatv(void *self, GLenum param, GLfloat *ptr) in s_glGetFloatv() argument
900 GL2Encoder *ctx = (GL2Encoder *)self; in s_glGetFloatv()
962 void GL2Encoder::s_glGetBooleanv(void *self, GLenum param, GLboolean *ptr) in s_glGetBooleanv() argument
964 GL2Encoder *ctx = (GL2Encoder *)self; in s_glGetBooleanv()
1027 void GL2Encoder::s_glEnableVertexAttribArray(void *self, GLuint index) in s_glEnableVertexAttribArray() argument
1029 GL2Encoder *ctx = (GL2Encoder *)self; in s_glEnableVertexAttribArray()
1036 void GL2Encoder::s_glDisableVertexAttribArray(void *self, GLuint index) in s_glDisableVertexAttribArray() argument
1038 GL2Encoder *ctx = (GL2Encoder *)self; in s_glDisableVertexAttribArray()
1046 void GL2Encoder::s_glGetVertexAttribiv(void *self, GLuint index, GLenum pname, GLint *params) in s_glGetVertexAttribiv() argument
1048 GL2Encoder *ctx = (GL2Encoder *)self; in s_glGetVertexAttribiv()
1051 ctx->glGetIntegerv(self, GL_MAX_VERTEX_ATTRIBS, &maxIndex); in s_glGetVertexAttribiv()
1055 ctx->m_glGetVertexAttribiv_enc(self, index, pname, params); in s_glGetVertexAttribiv()
1059 void GL2Encoder::s_glGetVertexAttribfv(void *self, GLuint index, GLenum pname, GLfloat *params) in s_glGetVertexAttribfv() argument
1061 GL2Encoder *ctx = (GL2Encoder *)self; in s_glGetVertexAttribfv()
1064 ctx->glGetIntegerv(self, GL_MAX_VERTEX_ATTRIBS, &maxIndex); in s_glGetVertexAttribfv()
1068 ctx->m_glGetVertexAttribfv_enc(self, index, pname, params); in s_glGetVertexAttribfv()
1072 void GL2Encoder::s_glGetVertexAttribPointerv(void *self, GLuint index, GLenum pname, GLvoid **point… in s_glGetVertexAttribPointerv() argument
1074 GL2Encoder *ctx = (GL2Encoder *)self; in s_glGetVertexAttribPointerv()
1077 ctx->glGetIntegerv(self, GL_MAX_VERTEX_ATTRIBS, &maxIndex); in s_glGetVertexAttribPointerv()
1321 void GL2Encoder::s_glDrawArrays(void *self, GLenum mode, GLint first, GLsizei count) in s_glDrawArrays() argument
1323 GL2Encoder *ctx = (GL2Encoder *)self; in s_glDrawArrays()
1344 void GL2Encoder::s_glDrawElements(void *self, GLenum mode, GLsizei count, GLenum type, const void *… in s_glDrawElements() argument
1347 GL2Encoder *ctx = (GL2Encoder *)self; in s_glDrawElements()
1362 GLenum status = ctx->m_glCheckFramebufferStatus_enc(self, GL_FRAMEBUFFER); in s_glDrawElements()
1433 void GL2Encoder::s_glDrawArraysNullAEMU(void *self, GLenum mode, GLint first, GLsizei count) in s_glDrawArraysNullAEMU() argument
1435 GL2Encoder *ctx = (GL2Encoder *)self; in s_glDrawArraysNullAEMU()
1456 void GL2Encoder::s_glDrawElementsNullAEMU(void *self, GLenum mode, GLsizei count, GLenum type, cons… in s_glDrawElementsNullAEMU() argument
1459 GL2Encoder *ctx = (GL2Encoder *)self; in s_glDrawElementsNullAEMU()
1474 GLenum status = ctx->m_glCheckFramebufferStatus_enc(self, GL_FRAMEBUFFER); in s_glDrawElementsNullAEMU()
1523 ctx->m_glBindBuffer_enc(self, GL_ELEMENT_ARRAY_BUFFER, 0); in s_glDrawElementsNullAEMU()
1733 void GL2Encoder::s_glShaderBinary(void *self, GLsizei, const GLuint *, GLenum, const void*, GLsizei) in s_glShaderBinary() argument
1736 GL2Encoder* ctx = (GL2Encoder*)self; in s_glShaderBinary()
1740 void GL2Encoder::s_glShaderSource(void *self, GLuint shader, GLsizei count, const GLchar * const *s… in s_glShaderSource() argument
1742 GL2Encoder* ctx = (GL2Encoder*)self; in s_glShaderSource()
1785 void GL2Encoder::s_glFinish(void *self) in s_glFinish() argument
1787 GL2Encoder *ctx = (GL2Encoder *)self; in s_glFinish()
1788 ctx->glFinishRoundTrip(self); in s_glFinish()
1791 void GL2Encoder::s_glLinkProgram(void * self, GLuint program) in s_glLinkProgram() argument
1793 GL2Encoder *ctx = (GL2Encoder *)self; in s_glLinkProgram()
1798 ctx->m_glLinkProgram_enc(self, program); in s_glLinkProgram()
1801 ctx->glGetProgramiv(self, program, GL_LINK_STATUS, &linkStatus); in s_glLinkProgram()
1808 ctx->glGetProgramiv(self, program, GL_ACTIVE_UNIFORMS, &numUniforms); in s_glLinkProgram()
1813 ctx->glGetProgramiv(self, program, GL_ACTIVE_UNIFORM_MAX_LENGTH, &maxLength); in s_glLinkProgram()
1822 ctx->glGetActiveUniform(self, program, i, maxLength, NULL, &size, &type, name); in s_glLinkProgram()
1823 location = ctx->m_glGetUniformLocation_enc(self, program, name); in s_glLinkProgram()
1830 void GL2Encoder::s_glDeleteProgram(void *self, GLuint program) in s_glDeleteProgram() argument
1832 GL2Encoder *ctx = (GL2Encoder*)self; in s_glDeleteProgram()
1833 ctx->m_glDeleteProgram_enc(self, program); in s_glDeleteProgram()
1838 void GL2Encoder::s_glGetUniformiv(void *self, GLuint program, GLint location, GLint* params) in s_glGetUniformiv() argument
1840 GL2Encoder *ctx = (GL2Encoder*)self; in s_glGetUniformiv()
1846 ctx->m_glGetUniformiv_enc(self, program, hostLoc, params); in s_glGetUniformiv()
1848 void GL2Encoder::s_glGetUniformfv(void *self, GLuint program, GLint location, GLfloat* params) in s_glGetUniformfv() argument
1850 GL2Encoder *ctx = (GL2Encoder*)self; in s_glGetUniformfv()
1856 ctx->m_glGetUniformfv_enc(self, program, hostLoc, params); in s_glGetUniformfv()
1859 GLuint GL2Encoder::s_glCreateProgram(void * self) in s_glCreateProgram() argument
1861 GL2Encoder *ctx = (GL2Encoder*)self; in s_glCreateProgram()
1862 GLuint program = ctx->m_glCreateProgram_enc(self); in s_glCreateProgram()
1868 GLuint GL2Encoder::s_glCreateShader(void *self, GLenum shaderType) in s_glCreateShader() argument
1870 GL2Encoder *ctx = (GL2Encoder*)self; in s_glCreateShader()
1872 GLuint shader = ctx->m_glCreateShader_enc(self, shaderType); in s_glCreateShader()
1875 ctx->m_glDeleteShader_enc(self, shader); in s_glCreateShader()
1882 void GL2Encoder::s_glGetAttachedShaders(void *self, GLuint program, GLsizei maxCount, in s_glGetAttachedShaders() argument
1885 GL2Encoder *ctx = (GL2Encoder*)self; in s_glGetAttachedShaders()
1887 ctx->m_glGetAttachedShaders_enc(self, program, maxCount, count, shaders); in s_glGetAttachedShaders()
1890 void GL2Encoder::s_glGetShaderSource(void *self, GLuint shader, GLsizei bufsize, in s_glGetShaderSource() argument
1893 GL2Encoder *ctx = (GL2Encoder*)self; in s_glGetShaderSource()
1895 ctx->m_glGetShaderSource_enc(self, shader, bufsize, length, source); in s_glGetShaderSource()
1915 void GL2Encoder::s_glGetShaderInfoLog(void *self, GLuint shader, GLsizei bufsize, in s_glGetShaderInfoLog() argument
1918 GL2Encoder *ctx = (GL2Encoder*)self; in s_glGetShaderInfoLog()
1920 ctx->m_glGetShaderInfoLog_enc(self, shader, bufsize, length, infolog); in s_glGetShaderInfoLog()
1923 void GL2Encoder::s_glGetProgramInfoLog(void *self, GLuint program, GLsizei bufsize, in s_glGetProgramInfoLog() argument
1926 GL2Encoder *ctx = (GL2Encoder*)self; in s_glGetProgramInfoLog()
1928 ctx->m_glGetProgramInfoLog_enc(self, program, bufsize, length, infolog); in s_glGetProgramInfoLog()
1931 void GL2Encoder::s_glDeleteShader(void *self, GLenum shader) in s_glDeleteShader() argument
1933 GL2Encoder *ctx = (GL2Encoder*)self; in s_glDeleteShader()
1934 ctx->m_glDeleteShader_enc(self,shader); in s_glDeleteShader()
1938 void GL2Encoder::s_glAttachShader(void *self, GLuint program, GLuint shader) in s_glAttachShader() argument
1940 GL2Encoder *ctx = (GL2Encoder*)self; in s_glAttachShader()
1941 ctx->m_glAttachShader_enc(self, program, shader); in s_glAttachShader()
1945 void GL2Encoder::s_glDetachShader(void *self, GLuint program, GLuint shader) in s_glDetachShader() argument
1947 GL2Encoder *ctx = (GL2Encoder*)self; in s_glDetachShader()
1948 ctx->m_glDetachShader_enc(self, program, shader); in s_glDetachShader()
1965 int GL2Encoder::s_glGetUniformLocation(void *self, GLuint program, const GLchar *name) in s_glGetUniformLocation() argument
1968 GL2Encoder *ctx = (GL2Encoder*)self; in s_glGetUniformLocation()
1969 return ctx->m_glGetUniformLocation_enc(self, program, name); in s_glGetUniformLocation()
2022 void GL2Encoder::s_glUseProgram(void *self, GLuint program) in s_glUseProgram() argument
2024 GL2Encoder *ctx = (GL2Encoder*)self; in s_glUseProgram()
2030 ctx->m_glUseProgram_enc(self, program); in s_glUseProgram()
2037 void GL2Encoder::s_glUniform1f(void *self , GLint location, GLfloat x) in s_glUniform1f() argument
2039 GL2Encoder *ctx = (GL2Encoder*)self; in s_glUniform1f()
2041 ctx->m_glUniform1f_enc(self, hostLoc, x); in s_glUniform1f()
2044 void GL2Encoder::s_glUniform1fv(void *self , GLint location, GLsizei count, const GLfloat* v) in s_glUniform1fv() argument
2046 GL2Encoder *ctx = (GL2Encoder*)self; in s_glUniform1fv()
2048 ctx->m_glUniform1fv_enc(self, hostLoc, count, v); in s_glUniform1fv()
2051 void GL2Encoder::s_glUniform1i(void *self , GLint location, GLint x) in s_glUniform1i() argument
2053 GL2Encoder *ctx = (GL2Encoder*)self; in s_glUniform1i()
2058 ctx->m_glUniform1i_enc(self, hostLoc, x); in s_glUniform1i()
2064 ctx->m_glActiveTexture_enc(self, origActiveTexture); in s_glUniform1i()
2070 void GL2Encoder::s_glUniform1iv(void *self , GLint location, GLsizei count, const GLint* v) in s_glUniform1iv() argument
2072 GL2Encoder *ctx = (GL2Encoder*)self; in s_glUniform1iv()
2074 ctx->m_glUniform1iv_enc(self, hostLoc, count, v); in s_glUniform1iv()
2077 void GL2Encoder::s_glUniform2f(void *self , GLint location, GLfloat x, GLfloat y) in s_glUniform2f() argument
2079 GL2Encoder *ctx = (GL2Encoder*)self; in s_glUniform2f()
2081 ctx->m_glUniform2f_enc(self, hostLoc, x, y); in s_glUniform2f()
2084 void GL2Encoder::s_glUniform2fv(void *self , GLint location, GLsizei count, const GLfloat* v) in s_glUniform2fv() argument
2086 GL2Encoder *ctx = (GL2Encoder*)self; in s_glUniform2fv()
2088 ctx->m_glUniform2fv_enc(self, hostLoc, count, v); in s_glUniform2fv()
2091 void GL2Encoder::s_glUniform2i(void *self , GLint location, GLint x, GLint y) in s_glUniform2i() argument
2093 GL2Encoder *ctx = (GL2Encoder*)self; in s_glUniform2i()
2095 ctx->m_glUniform2i_enc(self, hostLoc, x, y); in s_glUniform2i()
2098 void GL2Encoder::s_glUniform2iv(void *self , GLint location, GLsizei count, const GLint* v) in s_glUniform2iv() argument
2100 GL2Encoder *ctx = (GL2Encoder*)self; in s_glUniform2iv()
2102 ctx->m_glUniform2iv_enc(self, hostLoc, count, v); in s_glUniform2iv()
2105 void GL2Encoder::s_glUniform3f(void *self , GLint location, GLfloat x, GLfloat y, GLfloat z) in s_glUniform3f() argument
2107 GL2Encoder *ctx = (GL2Encoder*)self; in s_glUniform3f()
2109 ctx->m_glUniform3f_enc(self, hostLoc, x, y, z); in s_glUniform3f()
2112 void GL2Encoder::s_glUniform3fv(void *self , GLint location, GLsizei count, const GLfloat* v) in s_glUniform3fv() argument
2114 GL2Encoder *ctx = (GL2Encoder*)self; in s_glUniform3fv()
2116 ctx->m_glUniform3fv_enc(self, hostLoc, count, v); in s_glUniform3fv()
2119 void GL2Encoder::s_glUniform3i(void *self , GLint location, GLint x, GLint y, GLint z) in s_glUniform3i() argument
2121 GL2Encoder *ctx = (GL2Encoder*)self; in s_glUniform3i()
2123 ctx->m_glUniform3i_enc(self, hostLoc, x, y, z); in s_glUniform3i()
2126 void GL2Encoder::s_glUniform3iv(void *self , GLint location, GLsizei count, const GLint* v) in s_glUniform3iv() argument
2128 GL2Encoder *ctx = (GL2Encoder*)self; in s_glUniform3iv()
2130 ctx->m_glUniform3iv_enc(self, hostLoc, count, v); in s_glUniform3iv()
2133 void GL2Encoder::s_glUniform4f(void *self , GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloa… in s_glUniform4f() argument
2135 GL2Encoder *ctx = (GL2Encoder*)self; in s_glUniform4f()
2137 ctx->m_glUniform4f_enc(self, hostLoc, x, y, z, w); in s_glUniform4f()
2140 void GL2Encoder::s_glUniform4fv(void *self , GLint location, GLsizei count, const GLfloat* v) in s_glUniform4fv() argument
2142 GL2Encoder *ctx = (GL2Encoder*)self; in s_glUniform4fv()
2144 ctx->m_glUniform4fv_enc(self, hostLoc, count, v); in s_glUniform4fv()
2147 void GL2Encoder::s_glUniform4i(void *self , GLint location, GLint x, GLint y, GLint z, GLint w) in s_glUniform4i() argument
2149 GL2Encoder *ctx = (GL2Encoder*)self; in s_glUniform4i()
2151 ctx->m_glUniform4i_enc(self, hostLoc, x, y, z, w); in s_glUniform4i()
2154 void GL2Encoder::s_glUniform4iv(void *self , GLint location, GLsizei count, const GLint* v) in s_glUniform4iv() argument
2156 GL2Encoder *ctx = (GL2Encoder*)self; in s_glUniform4iv()
2158 ctx->m_glUniform4iv_enc(self, hostLoc, count, v); in s_glUniform4iv()
2161 void GL2Encoder::s_glUniformMatrix2fv(void *self , GLint location, GLsizei count, GLboolean transpo… in s_glUniformMatrix2fv() argument
2163 GL2Encoder *ctx = (GL2Encoder*)self; in s_glUniformMatrix2fv()
2165 ctx->m_glUniformMatrix2fv_enc(self, hostLoc, count, transpose, value); in s_glUniformMatrix2fv()
2168 void GL2Encoder::s_glUniformMatrix3fv(void *self , GLint location, GLsizei count, GLboolean transpo… in s_glUniformMatrix3fv() argument
2170 GL2Encoder *ctx = (GL2Encoder*)self; in s_glUniformMatrix3fv()
2172 ctx->m_glUniformMatrix3fv_enc(self, hostLoc, count, transpose, value); in s_glUniformMatrix3fv()
2175 void GL2Encoder::s_glUniformMatrix4fv(void *self , GLint location, GLsizei count, GLboolean transpo… in s_glUniformMatrix4fv() argument
2177 GL2Encoder *ctx = (GL2Encoder*)self; in s_glUniformMatrix4fv()
2179 ctx->m_glUniformMatrix4fv_enc(self, hostLoc, count, transpose, value); in s_glUniformMatrix4fv()
2182 void GL2Encoder::s_glActiveTexture(void* self, GLenum texture) in s_glActiveTexture() argument
2184 GL2Encoder* ctx = (GL2Encoder*)self; in s_glActiveTexture()
2193 void GL2Encoder::s_glBindTexture(void* self, GLenum target, GLuint texture) in s_glBindTexture() argument
2195 GL2Encoder* ctx = (GL2Encoder*)self; in s_glBindTexture()
2230 void GL2Encoder::s_glDeleteTextures(void* self, GLsizei n, const GLuint* textures) in s_glDeleteTextures() argument
2232 GL2Encoder* ctx = (GL2Encoder*)self; in s_glDeleteTextures()
2239 void GL2Encoder::s_glGetTexParameterfv(void* self, in s_glGetTexParameterfv() argument
2242 GL2Encoder* ctx = (GL2Encoder*)self; in s_glGetTexParameterfv()
2253 void GL2Encoder::s_glGetTexParameteriv(void* self, in s_glGetTexParameteriv() argument
2256 GL2Encoder* ctx = (GL2Encoder*)self; in s_glGetTexParameteriv()
2291 void GL2Encoder::s_glTexParameterf(void* self, in s_glTexParameterf() argument
2294 GL2Encoder* ctx = (GL2Encoder*)self; in s_glTexParameterf()
2309 void GL2Encoder::s_glTexParameterfv(void* self, in s_glTexParameterfv() argument
2312 GL2Encoder* ctx = (GL2Encoder*)self; in s_glTexParameterfv()
2327 void GL2Encoder::s_glTexParameteri(void* self, in s_glTexParameteri() argument
2330 GL2Encoder* ctx = (GL2Encoder*)self; in s_glTexParameteri()
2352 void GL2Encoder::s_glTexImage2D(void* self, GLenum target, GLint level, in s_glTexImage2D() argument
2356 GL2Encoder* ctx = (GL2Encoder*)self; in s_glTexImage2D()
2431 void GL2Encoder::s_glTexSubImage2D(void* self, GLenum target, GLint level, in s_glTexSubImage2D() argument
2435 GL2Encoder* ctx = (GL2Encoder*)self; in s_glTexSubImage2D()
2500 void GL2Encoder::s_glCopyTexImage2D(void* self, GLenum target, GLint level, in s_glCopyTexImage2D() argument
2504 GL2Encoder* ctx = (GL2Encoder*)self; in s_glCopyTexImage2D()
2529 void GL2Encoder::s_glTexParameteriv(void* self, in s_glTexParameteriv() argument
2532 GL2Encoder* ctx = (GL2Encoder*)self; in s_glTexParameteriv()
2606 void GL2Encoder::s_glGenRenderbuffers(void* self, in s_glGenRenderbuffers() argument
2608 GL2Encoder* ctx = (GL2Encoder*)self; in s_glGenRenderbuffers()
2613 ctx->m_glGenFramebuffers_enc(self, n, renderbuffers); in s_glGenRenderbuffers()
2617 void GL2Encoder::s_glDeleteRenderbuffers(void* self, in s_glDeleteRenderbuffers() argument
2619 GL2Encoder* ctx = (GL2Encoder*)self; in s_glDeleteRenderbuffers()
2624 ctx->m_glDeleteRenderbuffers_enc(self, n, renderbuffers); in s_glDeleteRenderbuffers()
2640 void GL2Encoder::s_glBindRenderbuffer(void* self, in s_glBindRenderbuffer() argument
2642 GL2Encoder* ctx = (GL2Encoder*)self; in s_glBindRenderbuffer()
2648 ctx->m_glBindRenderbuffer_enc(self, target, renderbuffer); in s_glBindRenderbuffer()
2652 void GL2Encoder::s_glRenderbufferStorage(void* self, in s_glRenderbufferStorage() argument
2655 GL2Encoder* ctx = (GL2Encoder*) self; in s_glRenderbufferStorage()
2666 ctx->m_glRenderbufferStorage_enc(self, target, internalformat, in s_glRenderbufferStorage()
2670 void GL2Encoder::s_glFramebufferRenderbuffer(void* self, in s_glFramebufferRenderbuffer() argument
2673 GL2Encoder* ctx = (GL2Encoder*)self; in s_glFramebufferRenderbuffer()
2680 … ctx->m_glFramebufferRenderbuffer_enc(self, target, attachment, renderbuffertarget, renderbuffer); in s_glFramebufferRenderbuffer()
2683 void GL2Encoder::s_glGenFramebuffers(void* self, in s_glGenFramebuffers() argument
2685 GL2Encoder* ctx = (GL2Encoder*)self; in s_glGenFramebuffers()
2690 ctx->m_glGenFramebuffers_enc(self, n, framebuffers); in s_glGenFramebuffers()
2694 void GL2Encoder::s_glDeleteFramebuffers(void* self, in s_glDeleteFramebuffers() argument
2696 GL2Encoder* ctx = (GL2Encoder*)self; in s_glDeleteFramebuffers()
2701 ctx->m_glDeleteFramebuffers_enc(self, n, framebuffers); in s_glDeleteFramebuffers()
2705 void GL2Encoder::s_glBindFramebuffer(void* self, in s_glBindFramebuffer() argument
2707 GL2Encoder* ctx = (GL2Encoder*)self; in s_glBindFramebuffer()
2714 ctx->m_glBindFramebuffer_enc(self, target, framebuffer); in s_glBindFramebuffer()
2717 void GL2Encoder::s_glFramebufferTexture2D(void* self, in s_glFramebufferTexture2D() argument
2720 GL2Encoder* ctx = (GL2Encoder*)self; in s_glFramebufferTexture2D()
2727 ctx->m_glFramebufferTexture2D_enc(self, target, attachment, textarget, texture, level); in s_glFramebufferTexture2D()
2730 void GL2Encoder::s_glFramebufferTexture3DOES(void* self, in s_glFramebufferTexture3DOES() argument
2733 GL2Encoder* ctx = (GL2Encoder*)self; in s_glFramebufferTexture3DOES()
2738 …ctx->m_glFramebufferTexture3DOES_enc(self, target, attachment, textarget, texture, level, zoffset); in s_glFramebufferTexture3DOES()
2741 void GL2Encoder::s_glGetFramebufferAttachmentParameteriv(void* self, in s_glGetFramebufferAttachmentParameteriv() argument
2743 GL2Encoder* ctx = (GL2Encoder*)self; in s_glGetFramebufferAttachmentParameteriv()
2767 ctx->m_glGetFramebufferAttachmentParameteriv_enc(self, target, attachment, pname, params); in s_glGetFramebufferAttachmentParameteriv()
2871 GLenum GL2Encoder::s_glCheckFramebufferStatus(void* self, GLenum target) { in s_glCheckFramebufferStatus() argument
2872 GL2Encoder* ctx = (GL2Encoder*)self; in s_glCheckFramebufferStatus()
2883 GLenum host_checkstatus = ctx->m_glCheckFramebufferStatus_enc(self, target); in s_glCheckFramebufferStatus()
2890 void GL2Encoder::s_glGenVertexArrays(void* self, GLsizei n, GLuint* arrays) { in s_glGenVertexArrays() argument
2891 GL2Encoder* ctx = (GL2Encoder*)self; in s_glGenVertexArrays()
2895 ctx->m_glGenVertexArrays_enc(self, n, arrays); in s_glGenVertexArrays()
2902 void GL2Encoder::s_glDeleteVertexArrays(void* self, GLsizei n, const GLuint* arrays) { in s_glDeleteVertexArrays() argument
2903 GL2Encoder* ctx = (GL2Encoder*)self; in s_glDeleteVertexArrays()
2907 ctx->m_glDeleteVertexArrays_enc(self, n, arrays); in s_glDeleteVertexArrays()
2914 void GL2Encoder::s_glBindVertexArray(void* self, GLuint array) { in s_glBindVertexArray() argument
2916 GL2Encoder* ctx = (GL2Encoder*)self; in s_glBindVertexArray()
2919 ctx->m_glBindVertexArray_enc(self, array); in s_glBindVertexArray()
2923 void* GL2Encoder::s_glMapBufferOES(void* self, GLenum target, GLenum access) { in s_glMapBufferOES() argument
2924 GL2Encoder* ctx = (GL2Encoder*)self; in s_glMapBufferOES()
2938 GLboolean GL2Encoder::s_glUnmapBufferOES(void* self, GLenum target) { in s_glUnmapBufferOES() argument
2939 GL2Encoder* ctx = (GL2Encoder*)self; in s_glUnmapBufferOES()
2963 void* GL2Encoder::s_glMapBufferRange(void* self, GLenum target, GLintptr offset, GLsizeiptr length,… in s_glMapBufferRange() argument
2964 GL2Encoder* ctx = (GL2Encoder*)self; in s_glMapBufferRange()
3033 GLboolean GL2Encoder::s_glUnmapBuffer(void* self, GLenum target) { in s_glUnmapBuffer() argument
3034 GL2Encoder* ctx = (GL2Encoder*)self; in s_glUnmapBuffer()
3099 void GL2Encoder::s_glFlushMappedBufferRange(void* self, GLenum target, GLintptr offset, GLsizeiptr … in s_glFlushMappedBufferRange() argument
3100 GL2Encoder* ctx = (GL2Encoder*)self; in s_glFlushMappedBufferRange()
3137 void GL2Encoder::s_glCompressedTexImage2D(void* self, GLenum target, GLint level, GLenum internalfo… in s_glCompressedTexImage2D() argument
3138 GL2Encoder* ctx = (GL2Encoder*)self; in s_glCompressedTexImage2D()
3199 void GL2Encoder::s_glCompressedTexSubImage2D(void* self, GLenum target, GLint level, GLint xoffset,… in s_glCompressedTexSubImage2D() argument
3200 GL2Encoder* ctx = (GL2Encoder*)self; in s_glCompressedTexSubImage2D()
3243 void GL2Encoder::s_glBindBufferRange(void* self, GLenum target, GLuint index, GLuint buffer, GLintp… in s_glBindBufferRange() argument
3244 GL2Encoder* ctx = (GL2Encoder*)self; in s_glBindBufferRange()
3287 void GL2Encoder::s_glBindBufferBase(void* self, GLenum target, GLuint index, GLuint buffer) { in s_glBindBufferBase() argument
3288 GL2Encoder* ctx = (GL2Encoder*)self; in s_glBindBufferBase()
3335 void GL2Encoder::s_glCopyBufferSubData(void *self , GLenum readtarget, GLenum writetarget, GLintptr… in s_glCopyBufferSubData() argument
3336 GL2Encoder* ctx = (GL2Encoder*)self; in s_glCopyBufferSubData()
3368 ctx->m_glCopyBufferSubData_enc(self, readtarget, writetarget, readoffset, writeoffset, size); in s_glCopyBufferSubData()
3371 void GL2Encoder::s_glGetBufferParameteriv(void* self, GLenum target, GLenum pname, GLint* params) { in s_glGetBufferParameteriv() argument
3372 GL2Encoder* ctx = (GL2Encoder*)self; in s_glGetBufferParameteriv()
3423 void GL2Encoder::s_glGetBufferParameteri64v(void* self, GLenum target, GLenum pname, GLint64* param… in s_glGetBufferParameteri64v() argument
3424 GL2Encoder* ctx = (GL2Encoder*)self; in s_glGetBufferParameteri64v()
3475 void GL2Encoder::s_glGetBufferPointerv(void* self, GLenum target, GLenum pname, GLvoid** params) { in s_glGetBufferPointerv() argument
3476 GL2Encoder* ctx = (GL2Encoder*)self; in s_glGetBufferPointerv()
3522 void GL2Encoder::s_glGetUniformIndices(void* self, GLuint program, GLsizei uniformCount, const GLch… in s_glGetUniformIndices() argument
3523 GL2Encoder* ctx = (GL2Encoder*)self; in s_glGetUniformIndices()
3544 void GL2Encoder::s_glUniform1ui(void* self, GLint location, GLuint v0) { in s_glUniform1ui() argument
3545 GL2Encoder *ctx = (GL2Encoder*)self; in s_glUniform1ui()
3550 ctx->m_glUniform1ui_enc(self, hostLoc, v0); in s_glUniform1ui()
3556 ctx->m_glActiveTexture_enc(self, origActiveTexture); in s_glUniform1ui()
3562 void GL2Encoder::s_glUniform2ui(void* self, GLint location, GLuint v0, GLuint v1) { in s_glUniform2ui() argument
3563 GL2Encoder *ctx = (GL2Encoder*)self; in s_glUniform2ui()
3565 ctx->m_glUniform2ui_enc(self, hostLoc, v0, v1); in s_glUniform2ui()
3568 void GL2Encoder::s_glUniform3ui(void* self, GLint location, GLuint v0, GLuint v1, GLuint v2) { in s_glUniform3ui() argument
3569 GL2Encoder *ctx = (GL2Encoder*)self; in s_glUniform3ui()
3571 ctx->m_glUniform3ui_enc(self, hostLoc, v0, v1, v2); in s_glUniform3ui()
3574 void GL2Encoder::s_glUniform4ui(void* self, GLint location, GLint v0, GLuint v1, GLuint v2, GLuint … in s_glUniform4ui() argument
3575 GL2Encoder *ctx = (GL2Encoder*)self; in s_glUniform4ui()
3577 ctx->m_glUniform4ui_enc(self, hostLoc, v0, v1, v2, v3); in s_glUniform4ui()
3580 void GL2Encoder::s_glUniform1uiv(void* self, GLint location, GLsizei count, const GLuint *value) { in s_glUniform1uiv() argument
3581 GL2Encoder *ctx = (GL2Encoder*)self; in s_glUniform1uiv()
3583 ctx->m_glUniform1uiv_enc(self, hostLoc, count, value); in s_glUniform1uiv()
3586 void GL2Encoder::s_glUniform2uiv(void* self, GLint location, GLsizei count, const GLuint *value) { in s_glUniform2uiv() argument
3587 GL2Encoder *ctx = (GL2Encoder*)self; in s_glUniform2uiv()
3589 ctx->m_glUniform2uiv_enc(self, hostLoc, count, value); in s_glUniform2uiv()
3592 void GL2Encoder::s_glUniform3uiv(void* self, GLint location, GLsizei count, const GLuint *value) { in s_glUniform3uiv() argument
3593 GL2Encoder *ctx = (GL2Encoder*)self; in s_glUniform3uiv()
3595 ctx->m_glUniform3uiv_enc(self, hostLoc, count, value); in s_glUniform3uiv()
3598 void GL2Encoder::s_glUniform4uiv(void* self, GLint location, GLsizei count, const GLuint *value) { in s_glUniform4uiv() argument
3599 GL2Encoder *ctx = (GL2Encoder*)self; in s_glUniform4uiv()
3601 ctx->m_glUniform4uiv_enc(self, hostLoc, count, value); in s_glUniform4uiv()
3604 void GL2Encoder::s_glUniformMatrix2x3fv(void* self, GLint location, GLsizei count, GLboolean transp… in s_glUniformMatrix2x3fv() argument
3605 GL2Encoder *ctx = (GL2Encoder*)self; in s_glUniformMatrix2x3fv()
3607 ctx->m_glUniformMatrix2x3fv_enc(self, hostLoc, count, transpose, value); in s_glUniformMatrix2x3fv()
3610 void GL2Encoder::s_glUniformMatrix3x2fv(void* self, GLint location, GLsizei count, GLboolean transp… in s_glUniformMatrix3x2fv() argument
3611 GL2Encoder *ctx = (GL2Encoder*)self; in s_glUniformMatrix3x2fv()
3613 ctx->m_glUniformMatrix3x2fv_enc(self, hostLoc, count, transpose, value); in s_glUniformMatrix3x2fv()
3616 void GL2Encoder::s_glUniformMatrix2x4fv(void* self, GLint location, GLsizei count, GLboolean transp… in s_glUniformMatrix2x4fv() argument
3617 GL2Encoder *ctx = (GL2Encoder*)self; in s_glUniformMatrix2x4fv()
3619 ctx->m_glUniformMatrix2x4fv_enc(self, hostLoc, count, transpose, value); in s_glUniformMatrix2x4fv()
3622 void GL2Encoder::s_glUniformMatrix4x2fv(void* self, GLint location, GLsizei count, GLboolean transp… in s_glUniformMatrix4x2fv() argument
3623 GL2Encoder *ctx = (GL2Encoder*)self; in s_glUniformMatrix4x2fv()
3625 ctx->m_glUniformMatrix4x2fv_enc(self, hostLoc, count, transpose, value); in s_glUniformMatrix4x2fv()
3628 void GL2Encoder::s_glUniformMatrix3x4fv(void* self, GLint location, GLsizei count, GLboolean transp… in s_glUniformMatrix3x4fv() argument
3629 GL2Encoder *ctx = (GL2Encoder*)self; in s_glUniformMatrix3x4fv()
3631 ctx->m_glUniformMatrix3x4fv_enc(self, hostLoc, count, transpose, value); in s_glUniformMatrix3x4fv()
3634 void GL2Encoder::s_glUniformMatrix4x3fv(void* self, GLint location, GLsizei count, GLboolean transp… in s_glUniformMatrix4x3fv() argument
3635 GL2Encoder *ctx = (GL2Encoder*)self; in s_glUniformMatrix4x3fv()
3637 ctx->m_glUniformMatrix4x3fv_enc(self, hostLoc, count, transpose, value); in s_glUniformMatrix4x3fv()
3640 void GL2Encoder::s_glGetUniformuiv(void* self, GLuint program, GLint location, GLuint* params) { in s_glGetUniformuiv() argument
3641 GL2Encoder *ctx = (GL2Encoder*)self; in s_glGetUniformuiv()
3647 ctx->m_glGetUniformuiv_enc(self, program, hostLoc, params); in s_glGetUniformuiv()
3650 void GL2Encoder::s_glGetActiveUniformBlockiv(void* self, GLuint program, GLuint uniformBlockIndex, … in s_glGetActiveUniformBlockiv() argument
3651 GL2Encoder* ctx = (GL2Encoder*)self; in s_glGetActiveUniformBlockiv()
3671 void GL2Encoder::s_glGetVertexAttribIiv(void* self, GLuint index, GLenum pname, GLint* params) { in s_glGetVertexAttribIiv() argument
3672 GL2Encoder *ctx = (GL2Encoder *)self; in s_glGetVertexAttribIiv()
3675 ctx->glGetIntegerv(self, GL_MAX_VERTEX_ATTRIBS, &maxIndex); in s_glGetVertexAttribIiv()
3679 ctx->m_glGetVertexAttribIiv_enc(self, index, pname, params); in s_glGetVertexAttribIiv()
3683 void GL2Encoder::s_glGetVertexAttribIuiv(void* self, GLuint index, GLenum pname, GLuint* params) { in s_glGetVertexAttribIuiv() argument
3684 GL2Encoder *ctx = (GL2Encoder *)self; in s_glGetVertexAttribIuiv()
3687 ctx->glGetIntegerv(self, GL_MAX_VERTEX_ATTRIBS, &maxIndex); in s_glGetVertexAttribIuiv()
3691 ctx->m_glGetVertexAttribIuiv_enc(self, index, pname, params); in s_glGetVertexAttribIuiv()
3695 void GL2Encoder::s_glVertexAttribIPointer(void* self, GLuint index, GLint size, GLenum type, GLsize… in s_glVertexAttribIPointer() argument
3696 GL2Encoder *ctx = (GL2Encoder *)self; in s_glVertexAttribIPointer()
3726 void GL2Encoder::s_glVertexAttribDivisor(void* self, GLuint index, GLuint divisor) { in s_glVertexAttribDivisor() argument
3727 GL2Encoder *ctx = (GL2Encoder *)self; in s_glVertexAttribDivisor()
3735 void GL2Encoder::s_glRenderbufferStorageMultisample(void* self, in s_glRenderbufferStorageMultisample() argument
3738 GL2Encoder *ctx = (GL2Encoder *)self; in s_glRenderbufferStorageMultisample()
3751 self, target, samples, internalformat, width, height); in s_glRenderbufferStorageMultisample()
3754 void GL2Encoder::s_glDrawBuffers(void* self, GLsizei n, const GLenum* bufs) { in s_glDrawBuffers() argument
3755 GL2Encoder* ctx = (GL2Encoder*)self; in s_glDrawBuffers()
3780 void GL2Encoder::s_glReadBuffer(void* self, GLenum src) { in s_glReadBuffer() argument
3781 GL2Encoder* ctx = (GL2Encoder*)self; in s_glReadBuffer()
3815 void GL2Encoder::s_glFramebufferTextureLayer(void* self, GLenum target, GLenum attachment, GLuint t… in s_glFramebufferTextureLayer() argument
3816 GL2Encoder* ctx = (GL2Encoder*)self; in s_glFramebufferTextureLayer()
3833 ctx->m_glFramebufferTextureLayer_enc(self, target, attachment, texture, level, layer); in s_glFramebufferTextureLayer()
3836 void GL2Encoder::s_glTexStorage2D(void* self, GLenum target, GLsizei levels, GLenum internalformat,… in s_glTexStorage2D() argument
3837 GL2Encoder* ctx = (GL2Encoder*)self; in s_glTexStorage2D()
3866 void GL2Encoder::s_glTransformFeedbackVaryings(void* self, GLuint program, GLsizei count, const cha… in s_glTransformFeedbackVaryings() argument
3867 GL2Encoder* ctx = (GL2Encoder*)self; in s_glTransformFeedbackVaryings()
3892 void GL2Encoder::s_glBeginTransformFeedback(void* self, GLenum primitiveMode) { in s_glBeginTransformFeedback() argument
3893 GL2Encoder* ctx = (GL2Encoder*)self; in s_glBeginTransformFeedback()
3899 void GL2Encoder::s_glEndTransformFeedback(void* self) { in s_glEndTransformFeedback() argument
3900 GL2Encoder* ctx = (GL2Encoder*)self; in s_glEndTransformFeedback()
3906 void GL2Encoder::s_glPauseTransformFeedback(void* self) { in s_glPauseTransformFeedback() argument
3907 GL2Encoder* ctx = (GL2Encoder*)self; in s_glPauseTransformFeedback()
3913 void GL2Encoder::s_glResumeTransformFeedback(void* self) { in s_glResumeTransformFeedback() argument
3914 GL2Encoder* ctx = (GL2Encoder*)self; in s_glResumeTransformFeedback()
3920 void GL2Encoder::s_glTexImage3D(void* self, GLenum target, GLint level, GLint internalFormat, in s_glTexImage3D() argument
3923 GL2Encoder* ctx = (GL2Encoder*)self; in s_glTexImage3D()
3982 void GL2Encoder::s_glTexSubImage3D(void* self, GLenum target, GLint level, GLint xoffset, GLint yof… in s_glTexSubImage3D() argument
3983 GL2Encoder* ctx = (GL2Encoder*)self; in s_glTexSubImage3D()
4041 void GL2Encoder::s_glCompressedTexImage3D(void* self, GLenum target, GLint level, GLenum internalfo… in s_glCompressedTexImage3D() argument
4042 GL2Encoder* ctx = (GL2Encoder*)self; in s_glCompressedTexImage3D()
4075 void GL2Encoder::s_glCompressedTexSubImage3D(void* self, GLenum target, GLint level, GLint xoffset,… in s_glCompressedTexSubImage3D() argument
4076 GL2Encoder* ctx = (GL2Encoder*)self; in s_glCompressedTexSubImage3D()
4105 void GL2Encoder::s_glTexStorage3D(void* self, GLenum target, GLsizei levels, GLenum internalformat,… in s_glTexStorage3D() argument
4106 GL2Encoder* ctx = (GL2Encoder*)self; in s_glTexStorage3D()
4127 void GL2Encoder::s_glDrawArraysInstanced(void* self, GLenum mode, GLint first, GLsizei count, GLsiz… in s_glDrawArraysInstanced() argument
4128 GL2Encoder *ctx = (GL2Encoder *)self; in s_glDrawArraysInstanced()
4151 void GL2Encoder::s_glDrawElementsInstanced(void* self, GLenum mode, GLsizei count, GLenum type, con… in s_glDrawElementsInstanced() argument
4154 GL2Encoder *ctx = (GL2Encoder *)self; in s_glDrawElementsInstanced()
4170 GLenum status = ctx->m_glCheckFramebufferStatus_enc(self, GL_FRAMEBUFFER); in s_glDrawElementsInstanced()
4242 void GL2Encoder::s_glDrawRangeElements(void* self, GLenum mode, GLuint start, GLuint end, GLsizei c… in s_glDrawRangeElements() argument
4245 GL2Encoder *ctx = (GL2Encoder *)self; in s_glDrawRangeElements()
4261 GLenum status = ctx->m_glCheckFramebufferStatus_enc(self, GL_FRAMEBUFFER); in s_glDrawRangeElements()
4339 const GLubyte* GL2Encoder::s_glGetStringi(void* self, GLenum name, GLuint index) { in s_glGetStringi() argument
4340 GL2Encoder *ctx = (GL2Encoder *)self; in s_glGetStringi()
4383 void GL2Encoder::s_glGetProgramBinary(void* self, GLuint program, GLsizei bufSize, GLsizei* length,… in s_glGetProgramBinary() argument
4384 GL2Encoder *ctx = (GL2Encoder *)self; in s_glGetProgramBinary()
4389 ctx->glGetProgramiv(self, program, GL_LINK_STATUS, &linkStatus); in s_glGetProgramBinary()
4391 ctx->glGetProgramiv(self, program, GL_PROGRAM_BINARY_LENGTH, &properLength); in s_glGetProgramBinary()
4399 void GL2Encoder::s_glReadPixels(void* self, GLint x, GLint y, GLsizei width, GLsizei height, GLenum… in s_glReadPixels() argument
4400 GL2Encoder *ctx = (GL2Encoder *)self; in s_glReadPixels()
4443 void GL2Encoder::s_glEnable(void* self, GLenum what) { in s_glEnable() argument
4444 GL2Encoder *ctx = (GL2Encoder *)self; in s_glEnable()
4455 void GL2Encoder::s_glDisable(void* self, GLenum what) { in s_glDisable() argument
4456 GL2Encoder *ctx = (GL2Encoder *)self; in s_glDisable()
4467 void GL2Encoder::s_glClearBufferiv(void* self, GLenum buffer, GLint drawBuffer, const GLint * value… in s_glClearBufferiv() argument
4468 GL2Encoder *ctx = (GL2Encoder *)self; in s_glClearBufferiv()
4475 void GL2Encoder::s_glClearBufferuiv(void* self, GLenum buffer, GLint drawBuffer, const GLuint * val… in s_glClearBufferuiv() argument
4476 GL2Encoder *ctx = (GL2Encoder *)self; in s_glClearBufferuiv()
4483 void GL2Encoder::s_glClearBufferfv(void* self, GLenum buffer, GLint drawBuffer, const GLfloat * val… in s_glClearBufferfv() argument
4484 GL2Encoder *ctx = (GL2Encoder *)self; in s_glClearBufferfv()
4491 void GL2Encoder::s_glBlitFramebuffer(void* self, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1… in s_glBlitFramebuffer() argument
4492 GL2Encoder *ctx = (GL2Encoder *)self; in s_glBlitFramebuffer()
4583 void GL2Encoder::s_glGetInternalformativ(void* self, GLenum target, GLenum internalformat, GLenum p… in s_glGetInternalformativ() argument
4584 GL2Encoder *ctx = (GL2Encoder *)self; in s_glGetInternalformativ()
4615 void GL2Encoder::s_glGenerateMipmap(void* self, GLenum target) { in s_glGenerateMipmap() argument
4616 GL2Encoder *ctx = (GL2Encoder *)self; in s_glGenerateMipmap()
4647 void GL2Encoder::s_glBindSampler(void* self, GLuint unit, GLuint sampler) { in s_glBindSampler() argument
4648 GL2Encoder *ctx = (GL2Encoder *)self; in s_glBindSampler()
4662 void GL2Encoder::s_glDeleteSamplers(void* self, GLsizei n, const GLuint* samplers) { in s_glDeleteSamplers() argument
4663 GL2Encoder *ctx = (GL2Encoder *)self; in s_glDeleteSamplers()
4668 GLsync GL2Encoder::s_glFenceSync(void* self, GLenum condition, GLbitfield flags) { in s_glFenceSync() argument
4669 GL2Encoder *ctx = (GL2Encoder *)self; in s_glFenceSync()
4674 GLenum GL2Encoder::s_glClientWaitSync(void* self, GLsync wait_on, GLbitfield flags, GLuint64 timeou… in s_glClientWaitSync() argument
4675 GL2Encoder *ctx = (GL2Encoder *)self; in s_glClientWaitSync()
4679 void GL2Encoder::s_glWaitSync(void* self, GLsync wait_on, GLbitfield flags, GLuint64 timeout) { in s_glWaitSync() argument
4680 GL2Encoder *ctx = (GL2Encoder *)self; in s_glWaitSync()
4684 void GL2Encoder::s_glDeleteSync(void* self, GLsync sync) { in s_glDeleteSync() argument
4685 GL2Encoder *ctx = (GL2Encoder *)self; in s_glDeleteSync()
4692 GLboolean GL2Encoder::s_glIsSync(void* self, GLsync sync) { in s_glIsSync() argument
4693 GL2Encoder *ctx = (GL2Encoder *)self; in s_glIsSync()
4697 void GL2Encoder::s_glGetSynciv(void* self, GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *len… in s_glGetSynciv() argument
4698 GL2Encoder *ctx = (GL2Encoder *)self; in s_glGetSynciv()
4711 void GL2Encoder::s_glGetIntegeri_v(void* self, GLenum target, GLuint index, GLint* params) { in s_glGetIntegeri_v() argument
4712 GL2Encoder *ctx = (GL2Encoder *)self; in s_glGetIntegeri_v()
4760 void GL2Encoder::s_glGetInteger64i_v(void* self, GLenum target, GLuint index, GLint64* params) { in s_glGetInteger64i_v() argument
4761 GL2Encoder *ctx = (GL2Encoder *)self; in s_glGetInteger64i_v()
4809 void GL2Encoder::s_glGetInteger64v(void* self, GLenum param, GLint64* val) { in s_glGetInteger64v() argument
4810 GL2Encoder *ctx = (GL2Encoder *)self; in s_glGetInteger64v()
4814 void GL2Encoder::s_glGetBooleani_v(void* self, GLenum param, GLuint index, GLboolean* val) { in s_glGetBooleani_v() argument
4815 GL2Encoder *ctx = (GL2Encoder *)self; in s_glGetBooleani_v()
4819 void GL2Encoder::s_glGetShaderiv(void* self, GLuint shader, GLenum pname, GLint* params) { in s_glGetShaderiv() argument
4820 GL2Encoder *ctx = (GL2Encoder *)self; in s_glGetShaderiv()
4821 ctx->m_glGetShaderiv_enc(self, shader, pname, params); in s_glGetShaderiv()
4836 void GL2Encoder::s_glActiveShaderProgram(void* self, GLuint pipeline, GLuint program) { in s_glActiveShaderProgram() argument
4837 GL2Encoder *ctx = (GL2Encoder*)self; in s_glActiveShaderProgram()
4851 GLuint GL2Encoder::s_glCreateShaderProgramv(void* self, GLenum type, GLsizei count, const char** st… in s_glCreateShaderProgramv() argument
4854 GL2Encoder* ctx = (GL2Encoder*)self; in s_glCreateShaderProgramv()
4877 ctx->glGetProgramiv(self, res, GL_LINK_STATUS ,&linkStatus); in s_glCreateShaderProgramv()
4886 ctx->glGetProgramiv(self, res, GL_ACTIVE_UNIFORMS, &numUniforms); in s_glCreateShaderProgramv()
4890 ctx->glGetProgramiv(self, res, GL_ACTIVE_UNIFORM_MAX_LENGTH, &maxLength); in s_glCreateShaderProgramv()
4895 ctx->glGetActiveUniform(self, res, i, maxLength, NULL, &size, &uniformType, name); in s_glCreateShaderProgramv()
4896 GLint location = ctx->m_glGetUniformLocation_enc(self, res, name); in s_glCreateShaderProgramv()
4905 void GL2Encoder::s_glProgramUniform1f(void* self, GLuint program, GLint location, GLfloat v0) in s_glProgramUniform1f() argument
4907 GL2Encoder *ctx = (GL2Encoder*)self; in s_glProgramUniform1f()
4909 ctx->m_glProgramUniform1f_enc(self, program, hostLoc, v0); in s_glProgramUniform1f()
4912 void GL2Encoder::s_glProgramUniform1fv(void* self, GLuint program, GLint location, GLsizei count, c… in s_glProgramUniform1fv() argument
4914 GL2Encoder *ctx = (GL2Encoder*)self; in s_glProgramUniform1fv()
4916 ctx->m_glProgramUniform1fv_enc(self, program, hostLoc, count, value); in s_glProgramUniform1fv()
4919 void GL2Encoder::s_glProgramUniform1i(void* self, GLuint program, GLint location, GLint v0) in s_glProgramUniform1i() argument
4921 GL2Encoder *ctx = (GL2Encoder*)self; in s_glProgramUniform1i()
4923 ctx->m_glProgramUniform1i_enc(self, program, hostLoc, v0); in s_glProgramUniform1i()
4932 ctx->m_glActiveTexture_enc(self, origActiveTexture); in s_glProgramUniform1i()
4938 void GL2Encoder::s_glProgramUniform1iv(void* self, GLuint program, GLint location, GLsizei count, c… in s_glProgramUniform1iv() argument
4940 GL2Encoder *ctx = (GL2Encoder*)self; in s_glProgramUniform1iv()
4942 ctx->m_glProgramUniform1iv_enc(self, program, hostLoc, count, value); in s_glProgramUniform1iv()
4945 void GL2Encoder::s_glProgramUniform1ui(void* self, GLuint program, GLint location, GLuint v0) in s_glProgramUniform1ui() argument
4947 GL2Encoder *ctx = (GL2Encoder*)self; in s_glProgramUniform1ui()
4949 ctx->m_glProgramUniform1ui_enc(self, program, hostLoc, v0); in s_glProgramUniform1ui()
4958 ctx->m_glActiveTexture_enc(self, origActiveTexture); in s_glProgramUniform1ui()
4964 void GL2Encoder::s_glProgramUniform1uiv(void* self, GLuint program, GLint location, GLsizei count, … in s_glProgramUniform1uiv() argument
4966 GL2Encoder *ctx = (GL2Encoder*)self; in s_glProgramUniform1uiv()
4968 ctx->m_glProgramUniform1uiv_enc(self, program, hostLoc, count, value); in s_glProgramUniform1uiv()
4971 void GL2Encoder::s_glProgramUniform2f(void* self, GLuint program, GLint location, GLfloat v0, GLflo… in s_glProgramUniform2f() argument
4973 GL2Encoder *ctx = (GL2Encoder*)self; in s_glProgramUniform2f()
4975 ctx->m_glProgramUniform2f_enc(self, program, hostLoc, v0, v1); in s_glProgramUniform2f()
4978 void GL2Encoder::s_glProgramUniform2fv(void* self, GLuint program, GLint location, GLsizei count, c… in s_glProgramUniform2fv() argument
4980 GL2Encoder *ctx = (GL2Encoder*)self; in s_glProgramUniform2fv()
4982 ctx->m_glProgramUniform2fv_enc(self, program, hostLoc, count, value); in s_glProgramUniform2fv()
4985 void GL2Encoder::s_glProgramUniform2i(void* self, GLuint program, GLint location, GLint v0, GLint v… in s_glProgramUniform2i() argument
4987 GL2Encoder *ctx = (GL2Encoder*)self; in s_glProgramUniform2i()
4989 ctx->m_glProgramUniform2i_enc(self, program, hostLoc, v0, v1); in s_glProgramUniform2i()
4992 void GL2Encoder::s_glProgramUniform2iv(void* self, GLuint program, GLint location, GLsizei count, c… in s_glProgramUniform2iv() argument
4994 GL2Encoder *ctx = (GL2Encoder*)self; in s_glProgramUniform2iv()
4996 ctx->m_glProgramUniform2iv_enc(self, program, hostLoc, count, value); in s_glProgramUniform2iv()
4999 void GL2Encoder::s_glProgramUniform2ui(void* self, GLuint program, GLint location, GLint v0, GLuint… in s_glProgramUniform2ui() argument
5001 GL2Encoder *ctx = (GL2Encoder*)self; in s_glProgramUniform2ui()
5003 ctx->m_glProgramUniform2ui_enc(self, program, hostLoc, v0, v1); in s_glProgramUniform2ui()
5006 void GL2Encoder::s_glProgramUniform2uiv(void* self, GLuint program, GLint location, GLsizei count, … in s_glProgramUniform2uiv() argument
5008 GL2Encoder *ctx = (GL2Encoder*)self; in s_glProgramUniform2uiv()
5010 ctx->m_glProgramUniform2uiv_enc(self, program, hostLoc, count, value); in s_glProgramUniform2uiv()
5013 void GL2Encoder::s_glProgramUniform3f(void* self, GLuint program, GLint location, GLfloat v0, GLflo… in s_glProgramUniform3f() argument
5015 GL2Encoder *ctx = (GL2Encoder*)self; in s_glProgramUniform3f()
5017 ctx->m_glProgramUniform3f_enc(self, program, hostLoc, v0, v1, v2); in s_glProgramUniform3f()
5020 void GL2Encoder::s_glProgramUniform3fv(void* self, GLuint program, GLint location, GLsizei count, c… in s_glProgramUniform3fv() argument
5022 GL2Encoder *ctx = (GL2Encoder*)self; in s_glProgramUniform3fv()
5024 ctx->m_glProgramUniform3fv_enc(self, program, hostLoc, count, value); in s_glProgramUniform3fv()
5027 void GL2Encoder::s_glProgramUniform3i(void* self, GLuint program, GLint location, GLint v0, GLint v… in s_glProgramUniform3i() argument
5029 GL2Encoder *ctx = (GL2Encoder*)self; in s_glProgramUniform3i()
5031 ctx->m_glProgramUniform3i_enc(self, program, hostLoc, v0, v1, v2); in s_glProgramUniform3i()
5034 void GL2Encoder::s_glProgramUniform3iv(void* self, GLuint program, GLint location, GLsizei count, c… in s_glProgramUniform3iv() argument
5036 GL2Encoder *ctx = (GL2Encoder*)self; in s_glProgramUniform3iv()
5038 ctx->m_glProgramUniform3iv_enc(self, program, hostLoc, count, value); in s_glProgramUniform3iv()
5041 void GL2Encoder::s_glProgramUniform3ui(void* self, GLuint program, GLint location, GLint v0, GLint … in s_glProgramUniform3ui() argument
5043 GL2Encoder *ctx = (GL2Encoder*)self; in s_glProgramUniform3ui()
5045 ctx->m_glProgramUniform3ui_enc(self, program, hostLoc, v0, v1, v2); in s_glProgramUniform3ui()
5048 void GL2Encoder::s_glProgramUniform3uiv(void* self, GLuint program, GLint location, GLsizei count, … in s_glProgramUniform3uiv() argument
5050 GL2Encoder *ctx = (GL2Encoder*)self; in s_glProgramUniform3uiv()
5052 ctx->m_glProgramUniform3uiv_enc(self, program, hostLoc, count, value); in s_glProgramUniform3uiv()
5055 void GL2Encoder::s_glProgramUniform4f(void* self, GLuint program, GLint location, GLfloat v0, GLflo… in s_glProgramUniform4f() argument
5057 GL2Encoder *ctx = (GL2Encoder*)self; in s_glProgramUniform4f()
5059 ctx->m_glProgramUniform4f_enc(self, program, hostLoc, v0, v1, v2, v3); in s_glProgramUniform4f()
5062 void GL2Encoder::s_glProgramUniform4fv(void* self, GLuint program, GLint location, GLsizei count, c… in s_glProgramUniform4fv() argument
5064 GL2Encoder *ctx = (GL2Encoder*)self; in s_glProgramUniform4fv()
5066 ctx->m_glProgramUniform4fv_enc(self, program, hostLoc, count, value); in s_glProgramUniform4fv()
5069 void GL2Encoder::s_glProgramUniform4i(void* self, GLuint program, GLint location, GLint v0, GLint v… in s_glProgramUniform4i() argument
5071 GL2Encoder *ctx = (GL2Encoder*)self; in s_glProgramUniform4i()
5073 ctx->m_glProgramUniform4i_enc(self, program, hostLoc, v0, v1, v2, v3); in s_glProgramUniform4i()
5076 void GL2Encoder::s_glProgramUniform4iv(void* self, GLuint program, GLint location, GLsizei count, c… in s_glProgramUniform4iv() argument
5078 GL2Encoder *ctx = (GL2Encoder*)self; in s_glProgramUniform4iv()
5080 ctx->m_glProgramUniform4iv_enc(self, program, hostLoc, count, value); in s_glProgramUniform4iv()
5083 void GL2Encoder::s_glProgramUniform4ui(void* self, GLuint program, GLint location, GLint v0, GLint … in s_glProgramUniform4ui() argument
5085 GL2Encoder *ctx = (GL2Encoder*)self; in s_glProgramUniform4ui()
5087 ctx->m_glProgramUniform4ui_enc(self, program, hostLoc, v0, v1, v2, v3); in s_glProgramUniform4ui()
5090 void GL2Encoder::s_glProgramUniform4uiv(void* self, GLuint program, GLint location, GLsizei count, … in s_glProgramUniform4uiv() argument
5092 GL2Encoder *ctx = (GL2Encoder*)self; in s_glProgramUniform4uiv()
5094 ctx->m_glProgramUniform4uiv_enc(self, program, hostLoc, count, value); in s_glProgramUniform4uiv()
5097 void GL2Encoder::s_glProgramUniformMatrix2fv(void* self, GLuint program, GLint location, GLsizei co… in s_glProgramUniformMatrix2fv() argument
5099 GL2Encoder *ctx = (GL2Encoder*)self; in s_glProgramUniformMatrix2fv()
5101 ctx->m_glProgramUniformMatrix2fv_enc(self, program, hostLoc, count, transpose, value); in s_glProgramUniformMatrix2fv()
5104 void GL2Encoder::s_glProgramUniformMatrix2x3fv(void* self, GLuint program, GLint location, GLsizei … in s_glProgramUniformMatrix2x3fv() argument
5106 GL2Encoder *ctx = (GL2Encoder*)self; in s_glProgramUniformMatrix2x3fv()
5108 ctx->m_glProgramUniformMatrix2x3fv_enc(self, program, hostLoc, count, transpose, value); in s_glProgramUniformMatrix2x3fv()
5111 void GL2Encoder::s_glProgramUniformMatrix2x4fv(void* self, GLuint program, GLint location, GLsizei … in s_glProgramUniformMatrix2x4fv() argument
5113 GL2Encoder *ctx = (GL2Encoder*)self; in s_glProgramUniformMatrix2x4fv()
5115 ctx->m_glProgramUniformMatrix2x4fv_enc(self, program, hostLoc, count, transpose, value); in s_glProgramUniformMatrix2x4fv()
5118 void GL2Encoder::s_glProgramUniformMatrix3fv(void* self, GLuint program, GLint location, GLsizei co… in s_glProgramUniformMatrix3fv() argument
5120 GL2Encoder *ctx = (GL2Encoder*)self; in s_glProgramUniformMatrix3fv()
5122 ctx->m_glProgramUniformMatrix3fv_enc(self, program, hostLoc, count, transpose, value); in s_glProgramUniformMatrix3fv()
5125 void GL2Encoder::s_glProgramUniformMatrix3x2fv(void* self, GLuint program, GLint location, GLsizei … in s_glProgramUniformMatrix3x2fv() argument
5127 GL2Encoder *ctx = (GL2Encoder*)self; in s_glProgramUniformMatrix3x2fv()
5129 ctx->m_glProgramUniformMatrix3x2fv_enc(self, program, hostLoc, count, transpose, value); in s_glProgramUniformMatrix3x2fv()
5132 void GL2Encoder::s_glProgramUniformMatrix3x4fv(void* self, GLuint program, GLint location, GLsizei … in s_glProgramUniformMatrix3x4fv() argument
5134 GL2Encoder *ctx = (GL2Encoder*)self; in s_glProgramUniformMatrix3x4fv()
5136 ctx->m_glProgramUniformMatrix3x4fv_enc(self, program, hostLoc, count, transpose, value); in s_glProgramUniformMatrix3x4fv()
5139 void GL2Encoder::s_glProgramUniformMatrix4fv(void* self, GLuint program, GLint location, GLsizei co… in s_glProgramUniformMatrix4fv() argument
5141 GL2Encoder *ctx = (GL2Encoder*)self; in s_glProgramUniformMatrix4fv()
5143 ctx->m_glProgramUniformMatrix4fv_enc(self, program, hostLoc, count, transpose, value); in s_glProgramUniformMatrix4fv()
5146 void GL2Encoder::s_glProgramUniformMatrix4x2fv(void* self, GLuint program, GLint location, GLsizei … in s_glProgramUniformMatrix4x2fv() argument
5148 GL2Encoder *ctx = (GL2Encoder*)self; in s_glProgramUniformMatrix4x2fv()
5150 ctx->m_glProgramUniformMatrix4x2fv_enc(self, program, hostLoc, count, transpose, value); in s_glProgramUniformMatrix4x2fv()
5153 void GL2Encoder::s_glProgramUniformMatrix4x3fv(void* self, GLuint program, GLint location, GLsizei … in s_glProgramUniformMatrix4x3fv() argument
5155 GL2Encoder *ctx = (GL2Encoder*)self; in s_glProgramUniformMatrix4x3fv()
5157 ctx->m_glProgramUniformMatrix4x3fv_enc(self, program, hostLoc, count, transpose, value); in s_glProgramUniformMatrix4x3fv()
5160 void GL2Encoder::s_glProgramParameteri(void* self, GLuint program, GLenum pname, GLint value) { in s_glProgramParameteri() argument
5161 GL2Encoder* ctx = (GL2Encoder*)self; in s_glProgramParameteri()
5162 ctx->m_glProgramParameteri_enc(self, program, pname, value); in s_glProgramParameteri()
5165 void GL2Encoder::s_glUseProgramStages(void *self, GLuint pipeline, GLbitfield stages, GLuint progra… in s_glUseProgramStages() argument
5167 GL2Encoder *ctx = (GL2Encoder*)self; in s_glUseProgramStages()
5175 ctx->m_glUseProgramStages_enc(self, pipeline, stages, program); in s_glUseProgramStages()
5187 void GL2Encoder::s_glBindProgramPipeline(void* self, GLuint pipeline) in s_glBindProgramPipeline() argument
5189 GL2Encoder *ctx = (GL2Encoder*)self; in s_glBindProgramPipeline()
5192 ctx->m_glBindProgramPipeline_enc(self, pipeline); in s_glBindProgramPipeline()
5207 void GL2Encoder::s_glGetProgramResourceiv(void* self, GLuint program, GLenum programInterface, GLui… in s_glGetProgramResourceiv() argument
5208 GL2Encoder *ctx = (GL2Encoder*)self; in s_glGetProgramResourceiv()
5220 …ctx->m_glGetProgramResourceiv_enc(self, program, programInterface, index, propCount, props, bufSiz… in s_glGetProgramResourceiv()
5229 GLuint GL2Encoder::s_glGetProgramResourceIndex(void* self, GLuint program, GLenum programInterface,… in s_glGetProgramResourceIndex() argument
5230 GL2Encoder *ctx = (GL2Encoder*)self; in s_glGetProgramResourceIndex()
5231 return ctx->m_glGetProgramResourceIndex_enc(self, program, programInterface, name); in s_glGetProgramResourceIndex()
5234 GLint GL2Encoder::s_glGetProgramResourceLocation(void* self, GLuint program, GLenum programInterfac… in s_glGetProgramResourceLocation() argument
5235 GL2Encoder *ctx = (GL2Encoder*)self; in s_glGetProgramResourceLocation()
5236 return ctx->m_glGetProgramResourceLocation_enc(self, program, programInterface, name); in s_glGetProgramResourceLocation()
5239 void GL2Encoder::s_glGetProgramResourceName(void* self, GLuint program, GLenum programInterface, GL… in s_glGetProgramResourceName() argument
5240 GL2Encoder *ctx = (GL2Encoder*)self; in s_glGetProgramResourceName()
5252 …ctx->m_glGetProgramResourceName_enc(self, program, programInterface, index, bufSize, myLength, int… in s_glGetProgramResourceName()
5261 void GL2Encoder::s_glGetProgramPipelineInfoLog(void* self, GLuint pipeline, GLsizei bufSize, GLsize… in s_glGetProgramPipelineInfoLog() argument
5262 GL2Encoder *ctx = (GL2Encoder*)self; in s_glGetProgramPipelineInfoLog()
5274 ctx->m_glGetProgramPipelineInfoLog_enc(self, pipeline, bufSize, myLength, intermediate); in s_glGetProgramPipelineInfoLog()
5283 void GL2Encoder::s_glVertexAttribFormat(void* self, GLuint attribindex, GLint size, GLenum type, GL… in s_glVertexAttribFormat() argument
5284 GL2Encoder *ctx = (GL2Encoder*)self; in s_glVertexAttribFormat()
5294 void GL2Encoder::s_glVertexAttribIFormat(void* self, GLuint attribindex, GLint size, GLenum type, G… in s_glVertexAttribIFormat() argument
5295 GL2Encoder *ctx = (GL2Encoder*)self; in s_glVertexAttribIFormat()
5305 void GL2Encoder::s_glVertexBindingDivisor(void* self, GLuint bindingindex, GLuint divisor) { in s_glVertexBindingDivisor() argument
5306 GL2Encoder *ctx = (GL2Encoder*)self; in s_glVertexBindingDivisor()
5315 void GL2Encoder::s_glVertexAttribBinding(void* self, GLuint attribindex, GLuint bindingindex) { in s_glVertexAttribBinding() argument
5316 GL2Encoder *ctx = (GL2Encoder*)self; in s_glVertexAttribBinding()
5325 void GL2Encoder::s_glBindVertexBuffer(void* self, GLuint bindingindex, GLuint buffer, GLintptr offs… in s_glBindVertexBuffer() argument
5326 GL2Encoder *ctx = (GL2Encoder*)self; in s_glBindVertexBuffer()
5341 void GL2Encoder::s_glDrawArraysIndirect(void* self, GLenum mode, const void* indirect) { in s_glDrawArraysIndirect() argument
5342 GL2Encoder *ctx = (GL2Encoder*)self; in s_glDrawArraysIndirect()
5367 void GL2Encoder::s_glDrawElementsIndirect(void* self, GLenum mode, GLenum type, const void* indirec… in s_glDrawElementsIndirect() argument
5368 GL2Encoder *ctx = (GL2Encoder*)self; in s_glDrawElementsIndirect()
5397 void GL2Encoder::s_glTexStorage2DMultisample(void* self, GLenum target, GLsizei samples, GLenum int… in s_glTexStorage2DMultisample() argument
5398 GL2Encoder *ctx = (GL2Encoder*)self; in s_glTexStorage2DMultisample()
5418 GLenum GL2Encoder::s_glGetGraphicsResetStatusEXT(void* self) { in s_glGetGraphicsResetStatusEXT() argument
5419 (void)self; in s_glGetGraphicsResetStatusEXT()
5423 void GL2Encoder::s_glReadnPixelsEXT(void* self, GLint x, GLint y, GLsizei width, in s_glReadnPixelsEXT() argument
5426 GL2Encoder *ctx = (GL2Encoder*)self; in s_glReadnPixelsEXT()
5427 SET_ERROR_IF(bufSize < glesv2_enc::pixelDataSize(self, width, height, format, in s_glReadnPixelsEXT()
5429 s_glReadPixels(self, x, y, width, height, format, type, pixels); in s_glReadnPixelsEXT()
5432 void GL2Encoder::s_glGetnUniformfvEXT(void *self, GLuint program, GLint location, in s_glGetnUniformfvEXT() argument
5434 GL2Encoder *ctx = (GL2Encoder*)self; in s_glGetnUniformfvEXT()
5435 SET_ERROR_IF(bufSize < glSizeof(glesv2_enc::uniformType(self, program, in s_glGetnUniformfvEXT()
5437 s_glGetUniformfv(self, program, location, params); in s_glGetnUniformfvEXT()
5440 void GL2Encoder::s_glGetnUniformivEXT(void *self, GLuint program, GLint location, in s_glGetnUniformivEXT() argument
5442 GL2Encoder *ctx = (GL2Encoder*)self; in s_glGetnUniformivEXT()
5443 SET_ERROR_IF(bufSize < glSizeof(glesv2_enc::uniformType(self, program, in s_glGetnUniformivEXT()
5445 s_glGetUniformiv(self, program, location, params); in s_glGetnUniformivEXT()
5448 void GL2Encoder::s_glInvalidateFramebuffer(void* self, GLenum target, GLsizei numAttachments, const… in s_glInvalidateFramebuffer() argument
5449 GL2Encoder *ctx = (GL2Encoder*)self; in s_glInvalidateFramebuffer()
5454 void GL2Encoder::s_glInvalidateSubFramebuffer(void* self, GLenum target, GLsizei numAttachments, co… in s_glInvalidateSubFramebuffer() argument
5455 GL2Encoder *ctx = (GL2Encoder*)self; in s_glInvalidateSubFramebuffer()