Lines Matching refs:GLenum
139 GLenum GL2Encoder::s_glGetError(void * self) in s_glGetError()
142 GLenum err = ctx->getError(); in s_glGetError()
159 const GLubyte *GL2Encoder::s_glGetString(void *self, GLenum name) in s_glGetString()
181 void GL2Encoder::s_glPixelStorei(void *self, GLenum param, GLint value) in s_glPixelStorei()
190 void GL2Encoder::s_glBindBuffer(void *self, GLenum target, GLuint id) in s_glBindBuffer()
199 void GL2Encoder::s_glBufferData(void * self, GLenum target, GLsizeiptr size, const GLvoid * data, G… in s_glBufferData()
211 void GL2Encoder::s_glBufferSubData(void * self, GLenum target, GLintptr offset, GLsizeiptr size, co… in s_glBufferSubData()
218 GLenum res = ctx->m_shared->subUpdateBufferData(bufferId, offset, size, (void*)data); in s_glBufferSubData()
235 void GL2Encoder::s_glVertexAttribPointer(void *self, GLuint indx, GLint size, GLenum type, GLboolea… in s_glVertexAttribPointer()
242 void GL2Encoder::s_glGetIntegerv(void *self, GLenum param, GLint *ptr) in s_glGetIntegerv()
319 void GL2Encoder::s_glGetFloatv(void *self, GLenum param, GLfloat *ptr) in s_glGetFloatv()
367 void GL2Encoder::s_glGetBooleanv(void *self, GLenum param, GLboolean *ptr) in s_glGetBooleanv()
431 void GL2Encoder::s_glGetVertexAttribiv(void *self, GLuint index, GLenum pname, GLint *params) in s_glGetVertexAttribiv()
444 void GL2Encoder::s_glGetVertexAttribfv(void *self, GLuint index, GLenum pname, GLfloat *params) in s_glGetVertexAttribfv()
457 void GL2Encoder::s_glGetVertexAttribPointerv(void *self, GLuint index, GLenum pname, GLvoid **point… in s_glGetVertexAttribPointerv()
514 static bool isValidDrawMode(GLenum mode) { in isValidDrawMode()
528 static bool isValidDrawType(GLenum mode) { in isValidDrawType()
534 void GL2Encoder::s_glDrawArrays(void *self, GLenum mode, GLint first, GLsizei count) in s_glDrawArrays()
565 void GL2Encoder::s_glDrawElements(void *self, GLenum mode, GLsizei count, GLenum type, const void *… in s_glDrawElements()
766 void GL2Encoder::s_glShaderBinary(void *self, GLsizei n, const GLuint *shaders, GLenum binaryformat… in s_glShaderBinary()
824 GLenum type; in s_glLinkProgram()
877 GLuint GL2Encoder::s_glCreateShader(void *self, GLenum shaderType) in s_glCreateShader()
924 void GL2Encoder::s_glDeleteShader(void *self, GLenum shader) in s_glDeleteShader()
973 bool GL2Encoder::updateHostTexture2DBinding(GLenum texUnit, GLenum newTarget) in updateHostTexture2DBinding()
980 GLenum oldTarget = m_state->getPriorityEnabledTarget(GL_TEXTURE_2D); in updateHostTexture2DBinding()
1007 GLenum origActiveTexture = state->getActiveTextureUnit(); in s_glUseProgram()
1008 GLenum hostActiveTexture = origActiveTexture; in s_glUseProgram()
1011 GLenum samplerTarget; in s_glUseProgram()
1081 GLenum target; in s_glUniform1i()
1083 GLenum origActiveTexture = state->getActiveTextureUnit(); in s_glUniform1i()
1251 void GL2Encoder::s_glActiveTexture(void* self, GLenum texture) in s_glActiveTexture()
1255 GLenum err; in s_glActiveTexture()
1262 void GL2Encoder::s_glBindTexture(void* self, GLenum target, GLuint texture) in s_glBindTexture()
1266 GLenum err; in s_glBindTexture()
1276 GLenum priorityTarget = state->getPriorityEnabledTarget(GL_TEXTURE_2D); in s_glBindTexture()
1308 GLenum target, GLenum pname, GLfloat* params) in s_glGetTexParameterfv()
1323 GLenum target, GLenum pname, GLint* params) in s_glGetTexParameteriv()
1345 static bool isValidTextureExternalParam(GLenum pname, GLenum param) in isValidTextureExternalParam()
1362 GLenum target, GLenum pname, GLfloat param) in s_glTexParameterf()
1368 !isValidTextureExternalParam(pname, (GLenum)param)), in s_glTexParameterf()
1381 GLenum target, GLenum pname, const GLfloat* params) in s_glTexParameterfv()
1387 !isValidTextureExternalParam(pname, (GLenum)params[0])), in s_glTexParameterfv()
1400 GLenum target, GLenum pname, GLint param) in s_glTexParameteri()
1406 !isValidTextureExternalParam(pname, (GLenum)param)), in s_glTexParameteri()
1418 void GL2Encoder::s_glTexImage2D(void* self, GLenum target, GLint level, in s_glTexImage2D()
1420 GLenum format, GLenum type, const GLvoid* pixels) in s_glTexImage2D()
1434 void GL2Encoder::s_glTexSubImage2D(void* self, GLenum target, GLint level, in s_glTexSubImage2D()
1435 GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, in s_glTexSubImage2D()
1436 GLenum type, const GLvoid* pixels) in s_glTexSubImage2D()
1456 GLenum target, GLenum pname, const GLint* params) in s_glTexParameteriv()
1462 !isValidTextureExternalParam(pname, (GLenum)params[0])), in s_glTexParameteriv()
1474 void GL2Encoder::override2DTextureTarget(GLenum target) in override2DTextureTarget()
1485 GLenum priorityTarget = m_state->getPriorityEnabledTarget(GL_TEXTURE_2D); in restore2DTextureTarget()