Home | History | Annotate | Download | only in gl_perf

Lines Matching refs:pgm

191 static void randUniform(int pgm, const char *var) {
192 GLint loc = glGetUniformLocation(pgm, var);
202 static void doLoop(bool warmup, int pgm, uint32_t passCount) {
214 GLint loc = glGetUniformLocation(pgm, "u_texOff");
217 randUniform(pgm, "u_color");
218 randUniform(pgm, "u_0");
219 randUniform(pgm, "u_1");
220 randUniform(pgm, "u_2");
221 randUniform(pgm, "u_3");
269 int pgm = createProgram(gVertexShader, pgmTxt);
270 if (!pgm) {
274 GLint loc = glGetUniformLocation(pgm, "u_tex0");
276 loc = glGetUniformLocation(pgm, "u_tex1");
290 //doLoop(true, pgm, w, h, str2);
291 //doLoop(false, pgm, w, h, str2);
295 doLoop(true, pgm, 100);
296 doLoop(false, pgm, 100);