Lines Matching refs:hostLoc
853 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()
1035 void GL2Encoder::getHostLocation(void *self, GLint location, GLint *hostLoc) in getHostLocation() argument
1040 *hostLoc = location; in getHostLocation()
1047 *hostLoc = curHostLoc; in getHostLocation()
1053 GLint hostLoc; in s_glUniform1f() local
1056 ctx->getHostLocation(self, location, &hostLoc); in s_glUniform1f()
1057 ctx->m_glUniform1f_enc(self, hostLoc, x); in s_glUniform1f()
1063 GLint hostLoc; in s_glUniform1fv() local
1066 ctx->getHostLocation(self, location, &hostLoc); in s_glUniform1fv()
1067 ctx->m_glUniform1fv_enc(self, hostLoc, count, v); in s_glUniform1fv()
1075 GLint hostLoc; in s_glUniform1i() local
1078 ctx->getHostLocation(self, location, &hostLoc); in s_glUniform1i()
1079 ctx->m_glUniform1i_enc(self, hostLoc, x); in s_glUniform1i()
1094 GLint hostLoc; in s_glUniform1iv() local
1097 ctx->getHostLocation(self, location, &hostLoc); in s_glUniform1iv()
1098 ctx->m_glUniform1iv_enc(self, hostLoc, count, v); in s_glUniform1iv()
1104 GLint hostLoc; in s_glUniform2f() local
1107 ctx->getHostLocation(self, location, &hostLoc); in s_glUniform2f()
1108 ctx->m_glUniform2f_enc(self, hostLoc, x, y); in s_glUniform2f()
1114 GLint hostLoc; in s_glUniform2fv() local
1117 ctx->getHostLocation(self, location, &hostLoc); in s_glUniform2fv()
1118 ctx->m_glUniform2fv_enc(self, hostLoc, count, v); in s_glUniform2fv()
1124 GLint hostLoc; in s_glUniform2i() local
1127 ctx->getHostLocation(self, location, &hostLoc); in s_glUniform2i()
1128 ctx->m_glUniform2i_enc(self, hostLoc, x, y); in s_glUniform2i()
1134 GLint hostLoc; in s_glUniform2iv() local
1137 ctx->getHostLocation(self, location, &hostLoc); in s_glUniform2iv()
1138 ctx->m_glUniform2iv_enc(self, hostLoc, count, v); in s_glUniform2iv()
1144 GLint hostLoc; in s_glUniform3f() local
1147 ctx->getHostLocation(self, location, &hostLoc); in s_glUniform3f()
1148 ctx->m_glUniform3f_enc(self, hostLoc, x, y, z); in s_glUniform3f()
1154 GLint hostLoc; in s_glUniform3fv() local
1157 ctx->getHostLocation(self, location, &hostLoc); in s_glUniform3fv()
1158 ctx->m_glUniform3fv_enc(self, hostLoc, count, v); in s_glUniform3fv()
1164 GLint hostLoc; in s_glUniform3i() local
1167 ctx->getHostLocation(self, location, &hostLoc); in s_glUniform3i()
1168 ctx->m_glUniform3i_enc(self, hostLoc, x, y, z); in s_glUniform3i()
1174 GLint hostLoc; in s_glUniform3iv() local
1177 ctx->getHostLocation(self, location, &hostLoc); in s_glUniform3iv()
1178 ctx->m_glUniform3iv_enc(self, hostLoc, count, v); in s_glUniform3iv()
1184 GLint hostLoc; in s_glUniform4f() local
1187 ctx->getHostLocation(self, location, &hostLoc); in s_glUniform4f()
1188 ctx->m_glUniform4f_enc(self, hostLoc, x, y, z, w); in s_glUniform4f()
1194 GLint hostLoc; in s_glUniform4fv() local
1197 ctx->getHostLocation(self, location, &hostLoc); in s_glUniform4fv()
1198 ctx->m_glUniform4fv_enc(self, hostLoc, count, v); in s_glUniform4fv()
1204 GLint hostLoc; in s_glUniform4i() local
1207 ctx->getHostLocation(self, location, &hostLoc); in s_glUniform4i()
1208 ctx->m_glUniform4i_enc(self, hostLoc, x, y, z, w); in s_glUniform4i()
1214 GLint hostLoc; in s_glUniform4iv() local
1217 ctx->getHostLocation(self, location, &hostLoc); in s_glUniform4iv()
1218 ctx->m_glUniform4iv_enc(self, hostLoc, count, v); in s_glUniform4iv()
1224 GLint hostLoc; in s_glUniformMatrix2fv() local
1227 ctx->getHostLocation(self, location, &hostLoc); in s_glUniformMatrix2fv()
1228 ctx->m_glUniformMatrix2fv_enc(self, hostLoc, count, transpose, value); in s_glUniformMatrix2fv()
1234 GLint hostLoc; in s_glUniformMatrix3fv() local
1237 ctx->getHostLocation(self, location, &hostLoc); in s_glUniformMatrix3fv()
1238 ctx->m_glUniformMatrix3fv_enc(self, hostLoc, count, transpose, value); in s_glUniformMatrix3fv()
1244 GLint hostLoc; in s_glUniformMatrix4fv() local
1247 ctx->getHostLocation(self, location, &hostLoc); in s_glUniformMatrix4fv()
1248 ctx->m_glUniformMatrix4fv_enc(self, hostLoc, count, transpose, value); in s_glUniformMatrix4fv()