Lines Matching refs:location
826 GLint location; in s_glLinkProgram() local
831 location = ctx->m_glGetUniformLocation_enc(self, program, name); in s_glLinkProgram()
832 ctx->m_shared->setProgramIndexInfo(program, i, location, size, type, name); in s_glLinkProgram()
847 void GL2Encoder::s_glGetUniformiv(void *self, GLuint program, GLint location, GLint* params) in s_glGetUniformiv() argument
853 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program, location); in s_glGetUniformiv()
857 void GL2Encoder::s_glGetUniformfv(void *self, GLuint program, GLint location, GLfloat* params) in s_glGetUniformfv() argument
863 GLint hostLoc = ctx->m_shared->locationWARAppToHost(program,location); in s_glGetUniformfv()
1035 void GL2Encoder::getHostLocation(void *self, GLint location, GLint *hostLoc) in getHostLocation() argument
1039 if (location == -1) { in getHostLocation()
1040 *hostLoc = location; in getHostLocation()
1043 SET_ERROR_IF((location < 0), GL_INVALID_OPERATION); in getHostLocation()
1044 GLint curHostLoc = ctx->m_shared->locationWARAppToHost(program,location); in getHostLocation()
1050 void GL2Encoder::s_glUniform1f(void *self , GLint location, GLfloat x) in s_glUniform1f() argument
1056 ctx->getHostLocation(self, location, &hostLoc); in s_glUniform1f()
1060 void GL2Encoder::s_glUniform1fv(void *self , GLint location, GLsizei count, const GLfloat* v) in s_glUniform1fv() argument
1066 ctx->getHostLocation(self, location, &hostLoc); in s_glUniform1fv()
1070 void GL2Encoder::s_glUniform1i(void *self , GLint location, GLint x) in s_glUniform1i() argument
1078 ctx->getHostLocation(self, location, &hostLoc); in s_glUniform1i()
1082 if (shared->setSamplerUniform(state->currentProgram(), location, x, &target)) { in s_glUniform1i()
1091 void GL2Encoder::s_glUniform1iv(void *self , GLint location, GLsizei count, const GLint* v) in s_glUniform1iv() argument
1097 ctx->getHostLocation(self, location, &hostLoc); in s_glUniform1iv()
1101 void GL2Encoder::s_glUniform2f(void *self , GLint location, GLfloat x, GLfloat y) in s_glUniform2f() argument
1107 ctx->getHostLocation(self, location, &hostLoc); in s_glUniform2f()
1111 void GL2Encoder::s_glUniform2fv(void *self , GLint location, GLsizei count, const GLfloat* v) in s_glUniform2fv() argument
1117 ctx->getHostLocation(self, location, &hostLoc); in s_glUniform2fv()
1121 void GL2Encoder::s_glUniform2i(void *self , GLint location, GLint x, GLint y) in s_glUniform2i() argument
1127 ctx->getHostLocation(self, location, &hostLoc); in s_glUniform2i()
1131 void GL2Encoder::s_glUniform2iv(void *self , GLint location, GLsizei count, const GLint* v) in s_glUniform2iv() argument
1137 ctx->getHostLocation(self, location, &hostLoc); in s_glUniform2iv()
1141 void GL2Encoder::s_glUniform3f(void *self , GLint location, GLfloat x, GLfloat y, GLfloat z) in s_glUniform3f() argument
1147 ctx->getHostLocation(self, location, &hostLoc); in s_glUniform3f()
1151 void GL2Encoder::s_glUniform3fv(void *self , GLint location, GLsizei count, const GLfloat* v) in s_glUniform3fv() argument
1157 ctx->getHostLocation(self, location, &hostLoc); in s_glUniform3fv()
1161 void GL2Encoder::s_glUniform3i(void *self , GLint location, GLint x, GLint y, GLint z) in s_glUniform3i() argument
1167 ctx->getHostLocation(self, location, &hostLoc); in s_glUniform3i()
1171 void GL2Encoder::s_glUniform3iv(void *self , GLint location, GLsizei count, const GLint* v) in s_glUniform3iv() argument
1177 ctx->getHostLocation(self, location, &hostLoc); in s_glUniform3iv()
1181 void GL2Encoder::s_glUniform4f(void *self , GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloa… in s_glUniform4f() argument
1187 ctx->getHostLocation(self, location, &hostLoc); in s_glUniform4f()
1191 void GL2Encoder::s_glUniform4fv(void *self , GLint location, GLsizei count, const GLfloat* v) in s_glUniform4fv() argument
1197 ctx->getHostLocation(self, location, &hostLoc); in s_glUniform4fv()
1201 void GL2Encoder::s_glUniform4i(void *self , GLint location, GLint x, GLint y, GLint z, GLint w) in s_glUniform4i() argument
1207 ctx->getHostLocation(self, location, &hostLoc); in s_glUniform4i()
1211 void GL2Encoder::s_glUniform4iv(void *self , GLint location, GLsizei count, const GLint* v) in s_glUniform4iv() argument
1217 ctx->getHostLocation(self, location, &hostLoc); in s_glUniform4iv()
1221 void GL2Encoder::s_glUniformMatrix2fv(void *self , GLint location, GLsizei count, GLboolean transpo… in s_glUniformMatrix2fv() argument
1227 ctx->getHostLocation(self, location, &hostLoc); in s_glUniformMatrix2fv()
1231 void GL2Encoder::s_glUniformMatrix3fv(void *self , GLint location, GLsizei count, GLboolean transpo… in s_glUniformMatrix3fv() argument
1237 ctx->getHostLocation(self, location, &hostLoc); in s_glUniformMatrix3fv()
1241 void GL2Encoder::s_glUniformMatrix4fv(void *self , GLint location, GLsizei count, GLboolean transpo… in s_glUniformMatrix4fv() argument
1247 ctx->getHostLocation(self, location, &hostLoc); in s_glUniformMatrix4fv()