Lines Matching refs:program_
82 program_(0),
106 program_(0),
264 if (vertex_shader_ != 0 || fragment_shader_ != 0 || program_ != 0) {
285 program_ = LinkProgram(shaders, 2);
291 if (program_ != 0) {
292 ProgramVar tex_coord_attr = glGetAttribLocation(program_, TexCoordAttributeName().c_str());
293 ProgramVar pos_coord_attr = glGetAttribLocation(program_, PositionAttributeName().c_str());
387 glGetProgramiv(program_, GL_ACTIVE_UNIFORMS, &uniform_count);
388 glGetProgramiv(program_, GL_ACTIVE_UNIFORM_MAX_LENGTH, &buffer_size);
391 glGetActiveUniform(program_, i, buffer_size, NULL, &capacity, &type, &name[0]);
392 ProgramVar uniform_id = glGetUniformLocation(program_, &name[0]);
411 ProgramVar tex_coord_attr = glGetAttribLocation(program_, TexCoordAttributeName().c_str());
416 ProgramVar pos_coord_attr = glGetAttribLocation(program_, PositionAttributeName().c_str());
458 if (GLEnv::GetCurrentProgram() != program_) {
459 LOG_FRAME("Using program %d", program_);
460 glUseProgram(program_);
675 return glGetUniformLocation(program_, name.c_str());
718 glGetActiveUniform(program_, IndexOfUniform(var), 128, NULL, &capacity, &type, name);
769 glGetActiveUniform(program_, IndexOfUniform(var), 128, NULL, &capacity, &type, name);
844 glGetActiveUniform(program_, IndexOfUniform(var), 0, NULL, &capacity, &type, NULL);
850 glGetUniformiv(program_, var, &value);
857 glGetUniformiv(program_, var, &value[0]);
864 glGetUniformiv(program_, var, &value[0]);
871 glGetUniformiv(program_, var, &value[0]);
878 glGetUniformfv(program_, var, &value);
885 glGetUniformfv(program_, var, &value[0]);
892 glGetUniformfv(program_, var, &value[0]);
899 glGetUniformfv(program_, var, &value[0]);
906 glGetUniformfv(program_, var, &value[0]);
913 glGetUniformfv(program_, var, &value[0]);
920 glGetUniformfv(program_, var, &value[0]);
948 return glGetAttribLocation(program_, name.c_str());