Lines Matching refs:getProgram
390 glUseProgram(program.getProgram()); in init()
392 GLint unif = glGetUniformLocation(program.getProgram(), "vUnif_vec4"); // vec4 in init()
416 glGetUniformfv (program.getProgram(), -1, ¶ms[0]); in init()
426 glUseProgram(program.getProgram()); in init()
428 GLint unif = glGetUniformLocation(program.getProgram(), "fUnif_ivec4"); // ivec4 in init()
452 glGetUniformiv (program.getProgram(), -1, ¶ms[0]); in init()
462 glUseProgram(program.getProgram()); in init()
464 GLint unif = glGetUniformLocation(program.getProgram(), "fUnif_uvec4"); // uvec4 in init()
488 glGetUniformuiv (program.getProgram(), -1, ¶ms[0]); in init()
501 glGetProgramiv (program.getProgram(), GL_ACTIVE_UNIFORMS, &numActiveUniforms); in init()
515 glUseProgram(program.getProgram()); in init()
516 glGetActiveUniform(program.getProgram(), numActiveUniforms, 0, 0, 0, 0, 0); in init()
521 glGetActiveUniform(program.getProgram(), 0, -1, 0, 0, 0, 0); in init()
536 glUseProgram(program.getProgram()); in init()
538 glGetProgramiv (program.getProgram(), GL_ACTIVE_UNIFORMS, &numActiveUniforms); in init()
560 …glGetActiveUniformsiv(program.getProgram(), (GLsizei)invalidUniformIndices.size(), &invalidUniform… in init()
566 glGetActiveUniformsiv(program.getProgram(), 1, &dummyUniformIndex, -1, &dummyParamDst); in init()
579 glGetProgramiv (program.getProgram(), GL_ACTIVE_UNIFORM_BLOCKS, &numActiveBlocks); in init()
584 glUseProgram(program.getProgram()); in init()
586 …glGetActiveUniformBlockiv(program.getProgram(), numActiveBlocks, GL_UNIFORM_BLOCK_BINDING, ¶ms… in init()
591 glGetActiveUniformBlockiv(program.getProgram(), 0, -1, ¶ms); in init()
606 glGetProgramiv (program.getProgram(), GL_ACTIVE_UNIFORM_BLOCKS, &numActiveBlocks); in init()
611 glUseProgram(program.getProgram()); in init()
613 …glGetActiveUniformBlockName(program.getProgram(), numActiveBlocks, (int)sizeof(uniformBlockName), … in init()
632 glGetProgramiv (program.getProgram(), GL_ACTIVE_ATTRIBUTES, &numActiveAttributes); in init()
635 glUseProgram(program.getProgram()); in init()
648 …glGetActiveAttrib(program.getProgram(), numActiveAttributes, (int)sizeof(name), &length, &size, &t… in init()
653 glGetActiveAttrib(program.getProgram(), 0, -1, &length, &size, &type, &name[0]); in init()
668 glGetProgramiv (program.getProgram(), GL_ACTIVE_UNIFORM_BLOCKS, &numActiveBlocks); in init()