Lines Matching refs:shader

1269 void GL2Encoder::s_glShaderSource(void *self, GLuint shader, GLsizei count, const GLchar * const *s…  in s_glShaderSource()  argument
1272 ShaderData* shaderData = ctx->m_shared->getShaderData(shader); in s_glShaderSource()
1273 SET_ERROR_IF(!ctx->m_shared->isShaderOrProgramObject(shader), GL_INVALID_VALUE); in s_glShaderSource()
1296 ctx->glShaderString(ctx, shader, str, len + 1); in s_glShaderSource()
1388 GLuint shader = ctx->m_glCreateShader_enc(self, shaderType); in s_glCreateShader() local
1389 if (shader != 0) { in s_glCreateShader()
1390 if (!ctx->m_shared->addShaderData(shader)) { in s_glCreateShader()
1391 ctx->m_glDeleteShader_enc(self, shader); in s_glCreateShader()
1395 return shader; in s_glCreateShader()
1406 void GL2Encoder::s_glGetShaderSource(void *self, GLuint shader, GLsizei bufsize, in s_glGetShaderSource() argument
1411 ctx->m_glGetShaderSource_enc(self, shader, bufsize, length, source); in s_glGetShaderSource()
1412 ShaderData* shaderData = ctx->m_shared->getShaderData(shader); in s_glGetShaderSource()
1428 void GL2Encoder::s_glGetShaderInfoLog(void *self, GLuint shader, GLsizei bufsize, in s_glGetShaderInfoLog() argument
1433 ctx->m_glGetShaderInfoLog_enc(self, shader, bufsize, length, infolog); in s_glGetShaderInfoLog()
1444 void GL2Encoder::s_glDeleteShader(void *self, GLenum shader) in s_glDeleteShader() argument
1447 ctx->m_glDeleteShader_enc(self,shader); in s_glDeleteShader()
1448 ctx->m_shared->unrefShaderData(shader); in s_glDeleteShader()
1451 void GL2Encoder::s_glAttachShader(void *self, GLuint program, GLuint shader) in s_glAttachShader() argument
1454 ctx->m_glAttachShader_enc(self, program, shader); in s_glAttachShader()
1455 ctx->m_shared->attachShader(program, shader); in s_glAttachShader()
1458 void GL2Encoder::s_glDetachShader(void *self, GLuint program, GLuint shader) in s_glDetachShader() argument
1461 ctx->m_glDetachShader_enc(self, program, shader); in s_glDetachShader()
1462 ctx->m_shared->detachShader(program, shader); in s_glDetachShader()
4188 void GL2Encoder::s_glGetShaderiv(void* self, GLuint shader, GLenum pname, GLint* params) { in s_glGetShaderiv() argument
4190 ctx->m_glGetShaderiv_enc(self, shader, pname, params); in s_glGetShaderiv()
4192 ShaderData* shaderData = ctx->m_shared->getShaderData(shader); in s_glGetShaderiv()