Home
last modified time | relevance | path

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

/device/generic/goldfish-opengl/system/GLESv2_enc/
DGL2Encoder.cpp1360 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location); in s_glGetUniformiv() local
1361 SET_ERROR_IF(ctx->m_shared->getProgramUniformType(program,hostLoc)==0, GL_INVALID_OPERATION); in s_glGetUniformiv()
1362 ctx->m_glGetUniformiv_enc(self, program, hostLoc, params); in s_glGetUniformiv()
1370 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program,location); in s_glGetUniformfv() local
1371 SET_ERROR_IF(ctx->m_shared->getProgramUniformType(program,hostLoc)==0, GL_INVALID_OPERATION); in s_glGetUniformfv()
1372 ctx->m_glGetUniformfv_enc(self, program, hostLoc, params); in s_glGetUniformfv()
1494 int hostLoc = ctx->m_glGetUniformLocation_enc(self, program, name); in s_glGetUniformLocation() local
1495 if (hostLoc >= 0 && needLocationWAR) { in s_glGetUniformLocation()
1496 return ctx->m_shared->locationWARHostToApp(program, hostLoc, arrIndex); in s_glGetUniformLocation()
1498 return hostLoc; in s_glGetUniformLocation()
[all …]
/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()
475 GLint GLSharedGroup::locationWARHostToApp(GLuint program, GLint hostLoc, GLint arrIndex) in locationWARHostToApp() argument
479 if (pData) return pData->locationWARHostToApp(hostLoc, arrIndex); in locationWARHostToApp()
480 if (m_shaderProgramIdMap.find(program) == m_shaderProgramIdMap.end()) return hostLoc; in locationWARHostToApp()
482 if (spData) return spData->programData->locationWARHostToApp(hostLoc, arrIndex); in locationWARHostToApp()
483 return hostLoc; in locationWARHostToApp()
DGLSharedGroup.h101 GLint locationWARHostToApp(GLint hostLoc, GLint arrIndex);
175 GLint locationWARHostToApp(GLuint program, GLint hostLoc, GLint arrIndex);