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.cpp732 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location); in s_glGetUniformiv() local
733 SET_ERROR_IF(ctx->m_shared->getProgramUniformType(program,hostLoc)==0, GL_INVALID_OPERATION); in s_glGetUniformiv()
734 ctx->m_glGetUniformiv_enc(self, program, hostLoc, params); in s_glGetUniformiv()
741 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program,location); in s_glGetUniformfv() local
742 SET_ERROR_IF(ctx->m_shared->getProgramUniformType(program,hostLoc)==0, GL_INVALID_OPERATION); in s_glGetUniformfv()
743 ctx->m_glGetUniformfv_enc(self, program, hostLoc, params); in s_glGetUniformfv()
842 int hostLoc = ctx->m_glGetUniformLocation_enc(self, program, name); in s_glGetUniformLocation() local
843 if (hostLoc >= 0 && needLocationWAR) { in s_glGetUniformLocation()
844 return ctx->m_shared->locationWARHostToApp(program, hostLoc, arrIndex); in s_glGetUniformLocation()
846 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()
409 GLint GLSharedGroup::locationWARHostToApp(GLuint program, GLint hostLoc, GLint arrIndex) in locationWARHostToApp() argument
413 if (pData) return pData->locationWARHostToApp(hostLoc, arrIndex); in locationWARHostToApp()
414 else return hostLoc; in locationWARHostToApp()
DGLSharedGroup.h82 GLint locationWARHostToApp(GLint hostLoc, GLint arrIndex);
129 GLint locationWARHostToApp(GLuint program, GLint hostLoc, GLint arrIndex);