/sdk/emulator/opengl/host/libs/Translator/GLES_V2/ |
D | ProgramData.cpp | 50 GLuint shader = 0; in getAttachedShader() local 53 shader = AttachedVertexShader; in getAttachedShader() 56 shader = AttachedFragmentShader; in getAttachedShader() 59 return shader; in getAttachedShader() 62 bool ProgramData::attachShader(GLuint shader,GLenum type) { in attachShader() argument 64 AttachedVertexShader=shader; in attachShader() 68 AttachedFragmentShader=shader; in attachShader() 74 bool ProgramData::isAttached(GLuint shader) { in isAttached() argument 75 return (AttachedFragmentShader==shader || AttachedVertexShader==shader); in isAttached() 78 bool ProgramData::detachShader(GLuint shader) { in detachShader() argument [all …]
|
D | ProgramData.h | 28 bool attachShader(GLuint shader,GLenum type); 29 bool isAttached(GLuint shader); 30 bool detachShader(GLuint shader);
|
D | GLESv2Imp.cpp | 150 GL_APICALL void GL_APIENTRY glAttachShader(GLuint program, GLuint shader){ in glAttachShader() argument 155 const GLuint globalShaderName = ctx->shareGroup()->getGlobalName(SHADER,shader); in glAttachShader() 159 ObjectDataPtr shaderData = ctx->shareGroup()->getObjectData(SHADER,shader); in glAttachShader() 167 pData->attachShader(shader,shaderType); in glAttachShader() 347 GL_APICALL void GL_APIENTRY glCompileShader(GLuint shader){ in glCompileShader() argument 350 const GLuint globalShaderName = ctx->shareGroup()->getGlobalName(SHADER,shader); in glCompileShader() 352 ObjectDataPtr objData = ctx->shareGroup()->getObjectData(SHADER,shader); in glCompileShader() 501 GL_APICALL void GL_APIENTRY glDeleteShader(GLuint shader){ in glDeleteShader() argument 503 if(shader && ctx->shareGroup().Ptr()) { in glDeleteShader() 504 const GLuint globalShaderName = ctx->shareGroup()->getGlobalName(SHADER,shader); in glDeleteShader() [all …]
|
/sdk/emulator/opengl/shared/OpenglCodecCommon/ |
D | GLSharedGroup.cpp | 198 bool ProgramData::attachShader(GLuint shader) in attachShader() argument 202 if (m_shaders[i] == shader) { in attachShader() 206 m_shaders.append(shader); in attachShader() 210 bool ProgramData::detachShader(GLuint shader) in detachShader() argument 214 if (m_shaders[i] == shader) { in detachShader() 292 void GLSharedGroup::attachShader(GLuint program, GLuint shader) in attachShader() argument 296 if (programData && programData->attachShader(shader)) { in attachShader() 297 refShaderDataLocked(shader); in attachShader() 301 void GLSharedGroup::detachShader(GLuint program, GLuint shader) in detachShader() argument 305 if (programData && programData->detachShader(shader)) { in detachShader() [all …]
|
D | GLSharedGroup.h | 88 bool attachShader(GLuint shader); 89 bool detachShader(GLuint shader); 109 void refShaderDataLocked(GLuint shader); 110 void unrefShaderDataLocked(GLuint shader); 125 void attachShader(GLuint program, GLuint shader); 126 void detachShader(GLuint program, GLuint shader); 137 bool addShaderData(GLuint shader); 139 ShaderData* getShaderData(GLuint shader); 140 void unrefShaderData(GLuint shader);
|
/sdk/emulator/opengl/tests/translator_tests/GLES_V2/ |
D | triangleV2.cpp | 119 GLuint shader; in LoadShader() local 122 shader = glCreateShader(type); in LoadShader() 123 if(shader == 0) in LoadShader() 126 glShaderSource(shader, 1, &shaderSrc, NULL); in LoadShader() 128 glCompileShader(shader); in LoadShader() 130 glGetShaderiv(shader, GL_COMPILE_STATUS, &compiled); in LoadShader() 134 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &infoLen); in LoadShader() 138 glGetShaderInfoLog(shader, infoLen, NULL, infoLog); in LoadShader() 142 glDeleteShader(shader); in LoadShader() 145 return shader; in LoadShader()
|
/sdk/emulator/opengl/host/libs/Translator/include/GLcommon/ |
D | GLDispatch.h | 200 static GLboolean (GL_APIENTRY *glIsShader)(GLuint shader); 234 static void (GL_APIENTRY *glAttachShader)(GLuint program, GLuint shader); 236 static void (GL_APIENTRY *glCompileShader)(GLuint shader); 240 static void (GL_APIENTRY *glDeleteShader)(GLuint shader); 241 static void (GL_APIENTRY *glDetachShader)(GLuint program, GLuint shader); 251 static void (GL_APIENTRY *glGetShaderiv)(GLuint shader, GLenum pname, GLint* params); 252 …static void (GL_APIENTRY *glGetShaderInfoLog)(GLuint shader, GLsizei bufsize, GLsizei* length, GLc… 254 …static void (GL_APIENTRY *glGetShaderSource)(GLuint shader, GLsizei bufsize, GLsizei* length, GLch… 260 …static void (GL_APIENTRY *glShaderSource)(GLuint shader, GLsizei count, const GLchar** string, con…
|
/sdk/emulator/opengl/host/libs/Translator/include/GLES2/ |
D | gl2.h | 475 GL_APICALL void GL_APIENTRY glAttachShader (GLuint program, GLuint shader); 494 GL_APICALL void GL_APIENTRY glCompileShader (GLuint shader); 506 GL_APICALL void GL_APIENTRY glDeleteShader (GLuint shader); 511 GL_APICALL void GL_APIENTRY glDetachShader (GLuint program, GLuint shader); 541 GL_APICALL void GL_APIENTRY glGetShaderiv (GLuint shader, GLenum pname, GLint* params); 542 GL_APICALL void GL_APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufsize, GLsizei* le… 544 GL_APICALL void GL_APIENTRY glGetShaderSource (GLuint shader, GLsizei bufsize, GLsizei* len… 560 GL_APICALL GLboolean GL_APIENTRY glIsShader (GLuint shader); 572 GL_APICALL void GL_APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar** st…
|
/sdk/emulator/opengl/host/libs/GLESv2_dec/ |
D | GL2Decoder.cpp | 138 void GL2Decoder::s_glShaderString(void *self, GLuint shader, const GLchar* string, GLsizei len) in s_glShaderString() argument 141 ctx->glShaderSource(shader, 1, &string, NULL); in s_glShaderString()
|
D | gl2.in | 2 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** string, const GLint* le… 213 GL_ENTRY(void, glShaderString, GLuint shader, const GLchar* string, GLsizei len)
|
D | GL2Decoder.h | 49 …static void gl2_APIENTRY s_glShaderString(void *self, GLuint shader, const GLchar* string, GLsizei…
|
D | gl2.attrib | 161 #void glGetShaderiv(GLuint shader, GLenum pname, GLint *params) 167 #void glGetShaderInfoLog(GLuint shader, GLsizei bufsize, GLsizei *length, GLchar *infolog) 183 #void glGetShaderSource(GLuint shader, GLsizei bufsize, GLsizei *length, GLchar *source) 382 #void glShaderSource(GLuint shader, GLsizei count, GLstr *string, const GLint *length) 581 #GL_ENTRY(void, glShaderString, GLuint shader, GLchar *string, GLsizei len)
|
/sdk/emulator/opengl/host/libs/Translator/GLcommon/ |
D | DummyGLfuncs.h | 195 GLboolean GL_APIENTRY dummy_glIsShader(GLuint shader); 234 void GL_APIENTRY dummy_glAttachShader(GLuint program, GLuint shader); 236 void GL_APIENTRY dummy_glCompileShader(GLuint shader); 240 void GL_APIENTRY dummy_glDeleteShader(GLuint shader); 241 void GL_APIENTRY dummy_glDetachShader(GLuint program, GLuint shader); 251 void GL_APIENTRY dummy_glGetShaderiv(GLuint shader, GLenum pname, GLint* params); 252 …void GL_APIENTRY dummy_glGetShaderInfoLog(GLuint shader, GLsizei bufsize, GLsizei* length, GLchar*… 254 …void GL_APIENTRY dummy_glGetShaderSource(GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* … 261 …void GL_APIENTRY dummy_glShaderSource(GLuint shader, GLsizei count, const GLchar** string, const G…
|
D | DummyGLfuncs.cpp | 188 GLboolean GL_APIENTRY dummy_glIsShader(GLuint shader){ return false;} in dummy_glIsShader() argument 227 void GL_APIENTRY dummy_glAttachShader(GLuint program, GLuint shader){} in dummy_glAttachShader() argument 229 void GL_APIENTRY dummy_glCompileShader(GLuint shader){} in dummy_glCompileShader() argument 233 void GL_APIENTRY dummy_glDeleteShader(GLuint shader){} in dummy_glDeleteShader() argument 234 void GL_APIENTRY dummy_glDetachShader(GLuint program, GLuint shader){} in dummy_glDetachShader() argument 244 void GL_APIENTRY dummy_glGetShaderiv(GLuint shader, GLenum pname, GLint* params){} in dummy_glGetShaderiv() argument 245 …void GL_APIENTRY dummy_glGetShaderInfoLog(GLuint shader, GLsizei bufsize, GLsizei* length, GLchar*… in dummy_glGetShaderInfoLog() argument 247 …void GL_APIENTRY dummy_glGetShaderSource(GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* … in dummy_glGetShaderSource() argument 254 …void GL_APIENTRY dummy_glShaderSource(GLuint shader, GLsizei count, const GLchar** string, const G… in dummy_glShaderSource() argument
|
D | GLDispatch.cpp | 236 GLboolean (GL_APIENTRY *GLDispatch::glIsShader)(GLuint shader) = NULL;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/transforms/ |
D | StateTransformFactory.java | 1147 int shader = msg.getArgs(1).getIntValue(0); in transformsForGlAttachShader() local 1155 Integer.valueOf(shader)); in transformsForGlAttachShader() 1162 int shader = msg.getArgs(1).getIntValue(0); in transformsForGlDetachShader() local 1170 Integer.valueOf(shader)); in transformsForGlDetachShader() 1329 int shader = msg.getReturnValue().getIntValue(0); in transformsForGlCreateShader() local 1334 shader); in transformsForGlCreateShader() 1338 Integer.valueOf(shader), in transformsForGlCreateShader() 1346 int shader = msg.getArgs(0).getIntValue(0); in transformsForGlDeleteShader() local 1351 shader); in transformsForGlDeleteShader() 1360 int shader = msg.getArgs(0).getIntValue(0); in transformsForGlShaderSource() local [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/ |
D | entries.in | 14 void, glAttachShader, GLuint program, GLuint shader 74 void, glCompileShader, GLuint shader 105 void, glDeleteShader, GLuint shader 117 void, glDetachShader, GLuint program, GLuint shader 262 void, glGetShaderInfoLog, GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* infolog 264 void, glGetShaderSource, GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* source 265 void, glGetShaderiv, GLuint shader, GLenum pname, GLint* params 310 GLboolean, glIsShader, GLuint shader 440 void, glShaderSource, GLuint shader, GLsizei count, const GLchar** string, const GLint* length
|