Home
last modified time | relevance | path

Searched refs:hostLoc (Results 1 – 4 of 4) sorted by relevance

/device/generic/goldfish/opengl/system/GLESv2_enc/
DGL2Encoder.cpp853 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location); in s_glGetUniformiv() local
854 SET_ERROR_IF(ctx->m_shared->getProgramUniformType(program,hostLoc)==0, GL_INVALID_OPERATION); in s_glGetUniformiv()
855 ctx->m_glGetUniformiv_enc(self, program, hostLoc, params); in s_glGetUniformiv()
863 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program,location); in s_glGetUniformfv() local
864 SET_ERROR_IF(ctx->m_shared->getProgramUniformType(program,hostLoc)==0, GL_INVALID_OPERATION); in s_glGetUniformfv()
865 ctx->m_glGetUniformfv_enc(self, program, hostLoc, params); in s_glGetUniformfv()
966 int hostLoc = ctx->m_glGetUniformLocation_enc(self, program, name); in s_glGetUniformLocation() local
967 if (hostLoc >= 0 && needLocationWAR) { in s_glGetUniformLocation()
968 return ctx->m_shared->locationWARHostToApp(program, hostLoc, arrIndex); in s_glGetUniformLocation()
970 return hostLoc; in s_glGetUniformLocation()
[all …]
DGL2Encoder.h64 void getHostLocation(void *self, GLint location, GLint *hostLoc);
/device/generic/goldfish/opengl/shared/OpenglCodecCommon/
DGLSharedGroup.cpp131 GLint ProgramData::locationWARHostToApp(GLint hostLoc, GLint arrIndex) in locationWARHostToApp() argument
133 if (!m_locShiftWAR) return hostLoc; in locationWARHostToApp()
135 GLuint index = getIndexForLocation(hostLoc); in locationWARHostToApp()
139 (hostLoc - m_Indexes[index].base) / arrIndex; in locationWARHostToApp()
415 GLint GLSharedGroup::locationWARHostToApp(GLuint program, GLint hostLoc, GLint arrIndex) in locationWARHostToApp() argument
419 if (pData) return pData->locationWARHostToApp(hostLoc, arrIndex); in locationWARHostToApp()
420 else return hostLoc; in locationWARHostToApp()
DGLSharedGroup.h82 GLint locationWARHostToApp(GLint hostLoc, GLint arrIndex);
130 GLint locationWARHostToApp(GLuint program, GLint hostLoc, GLint arrIndex);