Home | History | Annotate | Download | only in GLESv2_enc

Lines Matching full:shader

663 void GL2Encoder::s_glShaderSource(void *self, GLuint shader, GLsizei count, const GLchar * const *string, const GLint *length)
666 ShaderData* shaderData = ctx->m_shared->getShaderData(shader);
667 SET_ERROR_IF(!ctx->m_shared->isObject(shader), GL_INVALID_VALUE);
684 ctx->glShaderString(ctx, shader, str, len + 1);
770 GLuint shader = ctx->m_glCreateShader_enc(self, shaderType);
771 if (shader != 0) {
772 if (!ctx->m_shared->addShaderData(shader)) {
773 ctx->m_glDeleteShader_enc(self, shader);
777 return shader;
788 void GL2Encoder::s_glGetShaderSource(void *self, GLuint shader, GLsizei bufsize,
793 ctx->m_glGetShaderSource_enc(self, shader, bufsize, length, source);
796 void GL2Encoder::s_glGetShaderInfoLog(void *self, GLuint shader, GLsizei bufsize,
801 ctx->m_glGetShaderInfoLog_enc(self, shader, bufsize, length, infolog);
812 void GL2Encoder::s_glDeleteShader(void *self, GLenum shader)
815 ctx->m_glDeleteShader_enc(self,shader);
816 ctx->m_shared->unrefShaderData(shader);
819 void GL2Encoder::s_glAttachShader(void *self, GLuint program, GLuint shader)
822 ctx->m_glAttachShader_enc(self, program, shader);
823 ctx->m_shared->attachShader(program, shader);
826 void GL2Encoder::s_glDetachShader(void *self, GLuint program, GLuint shader)
829 ctx->m_glDetachShader_enc(self, program, shader);
830 ctx->m_shared->detachShader(program, shader);