/device/generic/goldfish/opengl/shared/OpenglCodecCommon/ |
D | GLSharedGroup.cpp | 199 bool ProgramData::attachShader(GLuint shader) in attachShader() argument 203 if (m_shaders[i] == shader) { in attachShader() 209 m_shaders.insertAt(shader, m_shaders.size(), 1); in attachShader() 213 bool ProgramData::detachShader(GLuint shader) in detachShader() argument 217 if (m_shaders[i] == shader) { in detachShader() 337 void GLSharedGroup::attachShader(GLuint program, GLuint shader) in attachShader() argument 341 ssize_t idx = m_shaders.indexOfKey(shader); in attachShader() 343 if (programData->attachShader(shader)) { in attachShader() 349 void GLSharedGroup::detachShader(GLuint program, GLuint shader) in detachShader() argument 353 ssize_t idx = m_shaders.indexOfKey(shader); in detachShader() [all …]
|
D | GLSharedGroup.h | 88 bool attachShader(GLuint shader); 89 bool detachShader(GLuint shader); 124 void attachShader(GLuint program, GLuint shader); 125 void detachShader(GLuint program, GLuint shader); 136 bool addShaderData(GLuint shader); 138 ShaderData* getShaderData(GLuint shader); 139 void unrefShaderData(GLuint shader);
|
/device/generic/goldfish/opengl/system/GLESv2_enc/ |
D | gl2_entry.cpp | 10 void glAttachShader(GLuint program, GLuint shader); 29 void glCompileShader(GLuint shader); 41 void glDeleteShader(GLuint shader); 46 void glDetachShader(GLuint program, GLuint shader); 76 void glGetShaderiv(GLuint shader, GLenum pname, GLint* params); 77 void glGetShaderInfoLog(GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* infolog); 79 void glGetShaderSource(GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* source); 95 GLboolean glIsShader(GLuint shader); 107 …void glShaderSource(GLuint shader, GLsizei count, const GLchar* const* string, const GLint* length… 215 void glShaderString(GLuint shader, const GLchar* string, GLsizei len); [all …]
|
D | GL2Encoder.cpp | 773 void GL2Encoder::s_glShaderSource(void *self, GLuint shader, GLsizei count, const GLchar * const *s… in s_glShaderSource() argument 776 ShaderData* shaderData = ctx->m_shared->getShaderData(shader); in s_glShaderSource() 777 SET_ERROR_IF(!ctx->m_shared->isObject(shader), GL_INVALID_VALUE); in s_glShaderSource() 794 ctx->glShaderString(ctx, shader, str, len + 1); in s_glShaderSource() 882 GLuint shader = ctx->m_glCreateShader_enc(self, shaderType); in s_glCreateShader() local 883 if (shader != 0) { in s_glCreateShader() 884 if (!ctx->m_shared->addShaderData(shader)) { in s_glCreateShader() 885 ctx->m_glDeleteShader_enc(self, shader); in s_glCreateShader() 889 return shader; in s_glCreateShader() 900 void GL2Encoder::s_glGetShaderSource(void *self, GLuint shader, GLsizei bufsize, in s_glGetShaderSource() argument [all …]
|
D | GL2Encoder.h | 127 …static void s_glShaderSource(void *self, GLuint shader, GLsizei count, const GLchar * const *strin… 150 static void s_glDeleteShader(void *self, GLuint shader); 153 static void s_glAttachShader(void *self, GLuint program, GLuint shader); 156 static void s_glDetachShader(void *self, GLuint program, GLuint shader); 163 static void s_glGetShaderSource(void *self, GLuint shader, GLsizei bufsize, 167 static void s_glGetShaderInfoLog(void *self,GLuint shader,
|
D | gl2_enc.cpp | 46 void glAttachShader_enc(void *self , GLuint program, GLuint shader) in glAttachShader_enc() argument 65 memcpy(ptr, &shader, 4); ptr += 4; in glAttachShader_enc() 583 void glCompileShader_enc(void *self , GLuint shader) in glCompileShader_enc() argument 601 memcpy(ptr, &shader, 4); ptr += 4; in glCompileShader_enc() 962 void glDeleteShader_enc(void *self , GLuint shader) in glDeleteShader_enc() argument 980 memcpy(ptr, &shader, 4); ptr += 4; in glDeleteShader_enc() 1091 void glDetachShader_enc(void *self , GLuint program, GLuint shader) in glDetachShader_enc() argument 1110 memcpy(ptr, &shader, 4); ptr += 4; in glDetachShader_enc() 2095 void glGetShaderiv_enc(void *self , GLuint shader, GLenum pname, GLint* params) in glGetShaderiv_enc() argument 2114 memcpy(ptr, &shader, 4); ptr += 4; in glGetShaderiv_enc() [all …]
|