Home
last modified time | relevance | path

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

/device/generic/goldfish/opengl/shared/OpenglCodecCommon/
DGLSharedGroup.h120 bool isProgram(GLuint program);
121 bool isProgramInitialized(GLuint program);
122 void addProgramData(GLuint program);
123 void initProgramData(GLuint program, GLuint numIndexes);
124 void attachShader(GLuint program, GLuint shader);
125 void detachShader(GLuint program, GLuint shader);
126 void deleteProgramData(GLuint program);
127 …void setProgramIndexInfo(GLuint program, GLuint index, GLint base, GLint size, GLenum type, con…
128 GLenum getProgramUniformType(GLuint program, GLint location);
129 void setupLocationShiftWAR(GLuint program);
[all …]
DGLSharedGroup.cpp294 void GLSharedGroup::addProgramData(GLuint program) in addProgramData() argument
297 ProgramData *pData = m_programs.valueFor(program); in addProgramData()
300 m_programs.removeItem(program); in addProgramData()
304 m_programs.add(program,new ProgramData()); in addProgramData()
307 void GLSharedGroup::initProgramData(GLuint program, GLuint numIndexes) in initProgramData() argument
310 ProgramData *pData = m_programs.valueFor(program); in initProgramData()
317 bool GLSharedGroup::isProgramInitialized(GLuint program) in isProgramInitialized() argument
320 ProgramData* pData = m_programs.valueFor(program); in isProgramInitialized()
328 void GLSharedGroup::deleteProgramData(GLuint program) in deleteProgramData() argument
331 ProgramData *pData = m_programs.valueFor(program); in deleteProgramData()
[all …]
DGLClientState.h133 void setCurrentProgram(GLint program) { m_currentProgram = program; } in setCurrentProgram() argument
/device/generic/goldfish/opengl/system/GLESv2_enc/
DGL2Encoder.cpp694 void GL2Encoder::s_glLinkProgram(void * self, GLuint program) in s_glLinkProgram() argument
697 ctx->m_glLinkProgram_enc(self, program); in s_glLinkProgram()
700 ctx->glGetProgramiv(self,program,GL_LINK_STATUS,&linkStatus); in s_glLinkProgram()
706 ctx->glGetProgramiv(self, program, GL_ACTIVE_UNIFORMS, &numUniforms); in s_glLinkProgram()
707 ctx->m_shared->initProgramData(program,numUniforms); in s_glLinkProgram()
711 ctx->glGetProgramiv(self, program, GL_ACTIVE_UNIFORM_MAX_LENGTH, &maxLength); in s_glLinkProgram()
720 ctx->glGetActiveUniform(self, program, i, maxLength, NULL, &size, &type, name); in s_glLinkProgram()
721 location = ctx->m_glGetUniformLocation_enc(self, program, name); in s_glLinkProgram()
722 ctx->m_shared->setProgramIndexInfo(program, i, location, size, type, name); in s_glLinkProgram()
724 ctx->m_shared->setupLocationShiftWAR(program); in s_glLinkProgram()
[all …]
Dgl2_entry.cpp10 void glAttachShader(GLuint program, GLuint shader);
11 void glBindAttribLocation(GLuint program, GLuint index, const GLchar* name);
39 void glDeleteProgram(GLuint program);
46 void glDetachShader(GLuint program, GLuint shader);
63 …void glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size…
64 …void glGetActiveUniform(GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* siz…
65 void glGetAttachedShaders(GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders);
66 int glGetAttribLocation(GLuint program, const GLchar* name);
73 void glGetProgramiv(GLuint program, GLenum pname, GLint* params);
74 void glGetProgramInfoLog(GLuint program, GLsizei bufsize, GLsizei* length, GLchar* infolog);
[all …]
DGL2Encoder.h127 static void s_glLinkProgram(void *self, GLuint program);
130 static void s_glDeleteProgram(void * self, GLuint program);
133 static void s_glGetUniformiv(void *self, GLuint program, GLint location , GLint *params);
136 static void s_glGetUniformfv(void *self, GLuint program, GLint location , GLfloat *params);
148 static void s_glAttachShader(void *self, GLuint program, GLuint shader);
151 static void s_glDetachShader(void *self, GLuint program, GLuint shader);
154 static void s_glGetAttachedShaders(void *self, GLuint program, GLsizei maxCount,
166 static void s_glGetProgramInfoLog(void *self,GLuint program,
170 static int s_glGetUniformLocation(void *self, GLuint program, const GLchar *name);
193 static void s_glUseProgram(void *self, GLuint program);
DGL2EncoderUtils.cpp36 GLenum uniformType(void * self, GLuint program, GLint location) in uniformType() argument
40 return ctx->shared()->getProgramUniformType(program, location); in uniformType()
DGL2EncoderUtils.h23 GLenum uniformType(void * self, GLuint program, GLint location);
Dgl2_enc.cpp35 void glAttachShader_enc(void *self , GLuint program, GLuint shader) in glAttachShader_enc() argument
47 memcpy(ptr, &program, 4); ptr += 4; in glAttachShader_enc()
51 void glBindAttribLocation_enc(void *self , GLuint program, GLuint index, const GLchar* name) in glBindAttribLocation_enc() argument
64 memcpy(ptr, &program, 4); ptr += 4; in glBindAttribLocation_enc()
558 void glDeleteProgram_enc(void *self , GLuint program) in glDeleteProgram_enc() argument
570 memcpy(ptr, &program, 4); ptr += 4; in glDeleteProgram_enc()
670 void glDetachShader_enc(void *self , GLuint program, GLuint shader) in glDetachShader_enc() argument
682 memcpy(ptr, &program, 4); ptr += 4; in glDetachShader_enc()
930 void glGetActiveAttrib_enc(void *self , GLuint program, GLuint index, GLsizei bufsize, GLsizei* len… in glGetActiveAttrib_enc() argument
946 memcpy(ptr, &program, 4); ptr += 4; in glGetActiveAttrib_enc()
[all …]
/device/generic/goldfish/
Dinit.goldfish.rc64 # The qemu-props program is used to set various system
81 # program to check wether it runs on the emulator
/device/generic/mini-emulator-arm64/
Dinit.mini-emulator.rc66 # The qemu-props program is used to set various system
83 # program to check wether it runs on the emulator
/device/generic/mini-emulator-armv7-a-neon/
Dinit.mini-emulator.rc66 # The qemu-props program is used to set various system
83 # program to check wether it runs on the emulator
/device/generic/goldfish/opengl/tests/gles_android_wrapper/
Dgles.cpp1391 GLboolean glExtIsProgramBinaryQCOM(GLuint program) in glExtIsProgramBinaryQCOM() argument
1393 return getDispatch()->glExtIsProgramBinaryQCOM(program); in glExtIsProgramBinaryQCOM()
1396 void glExtGetProgramBinarySourceQCOM(GLuint program, GLenum shadertype, GLchar *source, GLint *leng… in glExtGetProgramBinarySourceQCOM() argument
1398 getDispatch()->glExtGetProgramBinarySourceQCOM(program, shadertype, source, length); in glExtGetProgramBinarySourceQCOM()
/device/generic/goldfish/opengl/system/GLESv1_enc/
Dgl_entry.cpp296 GLboolean glExtIsProgramBinaryQCOM(GLuint program);
297 …void glExtGetProgramBinarySourceQCOM(GLuint program, GLenum shadertype, GLchar* source, GLint* len…
2043 GLboolean glExtIsProgramBinaryQCOM(GLuint program) in glExtIsProgramBinaryQCOM() argument
2046 return ctx->glExtIsProgramBinaryQCOM(ctx, program); in glExtIsProgramBinaryQCOM()
2049 void glExtGetProgramBinarySourceQCOM(GLuint program, GLenum shadertype, GLchar* source, GLint* leng… in glExtGetProgramBinarySourceQCOM() argument
2052 ctx->glExtGetProgramBinarySourceQCOM(ctx, program, shadertype, source, length); in glExtGetProgramBinarySourceQCOM()
Dgl_enc.cpp4838 GLboolean glExtIsProgramBinaryQCOM_enc(void *self , GLuint program) in glExtIsProgramBinaryQCOM_enc() argument
4850 memcpy(ptr, &program, 4); ptr += 4; in glExtIsProgramBinaryQCOM_enc()