Home
last modified time | relevance | path

Searched refs:shader (Results 1 – 15 of 15) sorted by relevance

/device/generic/goldfish-opengl/shared/OpenglCodecCommon/
DGLSharedGroup.h109 bool attachShader(GLuint shader);
110 bool detachShader(GLuint shader);
139 void refShaderDataLocked(GLuint shader);
140 void unrefShaderDataLocked(GLuint shader);
163 void attachShader(GLuint program, GLuint shader);
164 void detachShader(GLuint program, GLuint shader);
175 bool isShader(GLuint shader);
176 bool addShaderData(GLuint shader);
178 ShaderData* getShaderData(GLuint shader);
179 void unrefShaderData(GLuint shader);
DGLSharedGroup.cpp211 bool ProgramData::attachShader(GLuint shader) { in attachShader() argument
215 if (m_shaders[i] == shader) { in attachShader()
219 m_shaders.push_back(shader); in attachShader()
223 bool ProgramData::detachShader(GLuint shader) { in detachShader() argument
227 if (m_shaders[i] == shader) { in detachShader()
417 void GLSharedGroup::attachShader(GLuint program, GLuint shader) { in attachShader() argument
422 ShaderData* sData = findObjectOrDefault(m_shaders, shader); in attachShader()
425 if (pData->attachShader(shader)) { in attachShader()
426 refShaderDataLocked(shader); in attachShader()
431 void GLSharedGroup::detachShader(GLuint program, GLuint shader) { in detachShader() argument
[all …]
/device/generic/opengl-transport/host/libs/virglrenderer/OpenGLESDispatch/
Dgles2_core.entries6 void glAttachShader(GLuint program, GLuint shader);
25 void glCompileShader(GLuint shader);
37 void glDeleteShader(GLuint shader);
42 void glDetachShader(GLuint program, GLuint shader);
72 void glGetShaderiv(GLuint shader, GLenum pname, GLint *params);
73 void glGetShaderInfoLog(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
75 void glGetShaderSource(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
91 GLboolean glIsShader(GLuint shader);
103 void glShaderSource(GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length);
/device/generic/goldfish-opengl/system/include/GLES2/
Dgl2.h378 GL_APICALL void GL_APIENTRY glAttachShader (GLuint program, GLuint shader);
397 GL_APICALL void GL_APIENTRY glCompileShader (GLuint shader);
409 GL_APICALL void GL_APIENTRY glDeleteShader (GLuint shader);
414 GL_APICALL void GL_APIENTRY glDetachShader (GLuint program, GLuint shader);
444 GL_APICALL void GL_APIENTRY glGetShaderiv (GLuint shader, GLenum pname, GLint *params);
445 GL_APICALL void GL_APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GL…
447 GL_APICALL void GL_APIENTRY glGetShaderSource (GLuint shader, GLsizei bufSize, GLsizei *length, GLc…
463 GL_APICALL GLboolean GL_APIENTRY glIsShader (GLuint shader);
475 GL_APICALL void GL_APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar *const*strin…
Dgl2ext.h584 typedef void (GL_APIENTRYP PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC) (GLuint shader, GLsizei bufsize…
586 GL_APICALL void GL_APIENTRY glGetTranslatedShaderSourceANGLE (GLuint shader, GLsizei bufsize, GLsiz…
/device/google/cuttlefish_common/guest/libs/eglwrapper/
Dgles3_wrapper_entry.cpp9 void glAttachShader(GLuint program, GLuint shader);
28 void glCompileShader(GLuint shader);
40 void glDeleteShader(GLuint shader);
45 void glDetachShader(GLuint program, GLuint shader);
75 void glGetShaderiv(GLuint shader, GLenum pname, GLint* params);
76 void glGetShaderInfoLog(GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* infolog);
78 void glGetShaderSource(GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* source);
94 GLboolean glIsShader(GLuint shader);
106 …void glShaderSource(GLuint shader, GLsizei count, const GLchar* const* string, const GLint* length…
214 void glShaderString(GLuint shader, const GLchar* string, GLsizei len);
[all …]
Dgles3.in2 GL_ENTRY(void, glAttachShader, GLuint program, GLuint shader)
21 GL_ENTRY(void, glCompileShader, GLuint shader)
33 GL_ENTRY(void, glDeleteShader, GLuint shader)
38 GL_ENTRY(void, glDetachShader, GLuint program, GLuint shader)
68 GL_ENTRY(void, glGetShaderiv, GLuint shader, GLenum pname, GLint* params)
69 GL_ENTRY(void, glGetShaderInfoLog, GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* infolog)
71 GL_ENTRY(void, glGetShaderSource, GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* source)
87 GL_ENTRY(GLboolean, glIsShader, GLuint shader)
99 GL_ENTRY(void, glShaderSource, GLuint shader, GLsizei count, const GLchar*const* string, const GLin…
213 GL_ENTRY(void, glShaderString, GLuint shader, const GLchar* string, GLsizei len)
[all …]
/device/generic/goldfish-opengl/system/GLESv2_enc/
Dgl2_entry.cpp9 void glAttachShader(GLuint program, GLuint shader);
28 void glCompileShader(GLuint shader);
40 void glDeleteShader(GLuint shader);
45 void glDetachShader(GLuint program, GLuint shader);
75 void glGetShaderiv(GLuint shader, GLenum pname, GLint* params);
76 void glGetShaderInfoLog(GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* infolog);
78 void glGetShaderSource(GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* source);
94 GLboolean glIsShader(GLuint shader);
106 …void glShaderSource(GLuint shader, GLsizei count, const GLchar* const* string, const GLint* length…
214 void glShaderString(GLuint shader, const GLchar* string, GLsizei len);
[all …]
DGL2Encoder.h248 …static void s_glShaderSource(void *self, GLuint shader, GLsizei count, const GLchar * const *strin…
271 static void s_glDeleteShader(void *self, GLuint shader);
274 static void s_glAttachShader(void *self, GLuint program, GLuint shader);
277 static void s_glDetachShader(void *self, GLuint program, GLuint shader);
284 static void s_glGetShaderSource(void *self, GLuint shader, GLsizei bufsize,
288 static void s_glGetShaderInfoLog(void *self,GLuint shader,
627 static void s_glGetShaderiv(void* self, GLuint shader, GLenum pname, GLint* params);
DGL2Encoder.cpp1754 void GL2Encoder::s_glShaderSource(void *self, GLuint shader, GLsizei count, const GLchar * const *s… in s_glShaderSource() argument
1757 ShaderData* shaderData = ctx->m_shared->getShaderData(shader); in s_glShaderSource()
1758 SET_ERROR_IF(!ctx->m_shared->isShaderOrProgramObject(shader), GL_INVALID_VALUE); in s_glShaderSource()
1781 ctx->glShaderString(ctx, shader, str, len + 1); in s_glShaderSource()
1873 GLuint shader = ctx->m_glCreateShader_enc(self, shaderType); in s_glCreateShader() local
1874 if (shader != 0) { in s_glCreateShader()
1875 if (!ctx->m_shared->addShaderData(shader)) { in s_glCreateShader()
1876 ctx->m_glDeleteShader_enc(self, shader); in s_glCreateShader()
1880 return shader; in s_glCreateShader()
1891 void GL2Encoder::s_glGetShaderSource(void *self, GLuint shader, GLsizei bufsize, in s_glGetShaderSource() argument
[all …]
Dgl2_enc.cpp47 void glAttachShader_enc(void *self , GLuint program, GLuint shader) in glAttachShader_enc() argument
66 memcpy(ptr, &shader, 4); ptr += 4; in glAttachShader_enc()
586 void glCompileShader_enc(void *self , GLuint shader) in glCompileShader_enc() argument
604 memcpy(ptr, &shader, 4); ptr += 4; in glCompileShader_enc()
969 void glDeleteShader_enc(void *self , GLuint shader) in glDeleteShader_enc() argument
987 memcpy(ptr, &shader, 4); ptr += 4; in glDeleteShader_enc()
1098 void glDetachShader_enc(void *self , GLuint program, GLuint shader) in glDetachShader_enc() argument
1117 memcpy(ptr, &shader, 4); ptr += 4; in glDetachShader_enc()
2136 void glGetShaderiv_enc(void *self , GLuint shader, GLenum pname, GLint* params) in glGetShaderiv_enc() argument
2155 memcpy(ptr, &shader, 4); ptr += 4; in glGetShaderiv_enc()
[all …]
/device/generic/goldfish-opengl/system/include/GLES3/
Dgl3.h378 GL_APICALL void GL_APIENTRY glAttachShader (GLuint program, GLuint shader);
397 GL_APICALL void GL_APIENTRY glCompileShader (GLuint shader);
409 GL_APICALL void GL_APIENTRY glDeleteShader (GLuint shader);
414 GL_APICALL void GL_APIENTRY glDetachShader (GLuint program, GLuint shader);
444 GL_APICALL void GL_APIENTRY glGetShaderiv (GLuint shader, GLenum pname, GLint *params);
445 GL_APICALL void GL_APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GL…
447 GL_APICALL void GL_APIENTRY glGetShaderSource (GLuint shader, GLsizei bufSize, GLsizei *length, GLc…
463 GL_APICALL GLboolean GL_APIENTRY glIsShader (GLuint shader);
475 GL_APICALL void GL_APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar *const*strin…
Dgl31.h378 GL_APICALL void GL_APIENTRY glAttachShader (GLuint program, GLuint shader);
397 GL_APICALL void GL_APIENTRY glCompileShader (GLuint shader);
409 GL_APICALL void GL_APIENTRY glDeleteShader (GLuint shader);
414 GL_APICALL void GL_APIENTRY glDetachShader (GLuint program, GLuint shader);
444 GL_APICALL void GL_APIENTRY glGetShaderiv (GLuint shader, GLenum pname, GLint *params);
445 GL_APICALL void GL_APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GL…
447 GL_APICALL void GL_APIENTRY glGetShaderSource (GLuint shader, GLsizei bufSize, GLsizei *length, GLc…
463 GL_APICALL GLboolean GL_APIENTRY glIsShader (GLuint shader);
475 GL_APICALL void GL_APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar *const*strin…
/device/generic/opengl-transport/host/libs/virglrenderer/GLESv3_dec/
Dgles3.in2 GL_ENTRY(void, glAttachShader, GLuint program, GLuint shader)
21 GL_ENTRY(void, glCompileShader, GLuint shader)
33 GL_ENTRY(void, glDeleteShader, GLuint shader)
38 GL_ENTRY(void, glDetachShader, GLuint program, GLuint shader)
68 GL_ENTRY(void, glGetShaderiv, GLuint shader, GLenum pname, GLint* params)
69 GL_ENTRY(void, glGetShaderInfoLog, GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* infolog)
71 GL_ENTRY(void, glGetShaderSource, GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* source)
87 GL_ENTRY(GLboolean, glIsShader, GLuint shader)
99 GL_ENTRY(void, glShaderSource, GLuint shader, GLsizei count, const GLchar*const* string, const GLin…
213 GL_ENTRY(void, glShaderString, GLuint shader, const GLchar* string, GLsizei len)
[all …]
/device/generic/opengl-transport/host/libs/virglrenderer/
DGLESv3.cpp443 static void glShaderString(GLuint shader, const GLchar* string, GLsizei) { in glShaderString() argument
444 s_gles3.glShaderSource(shader, 1, &string, NULL); in glShaderString()