Lines Matching refs:program_
43 program_(gl_->CreateProgram()),
70 ~ShaderProgram() { gl_->DeleteProgram(program_); }
76 GLuint program_;
845 gl_->AttachShader(program_, vertex_shader);
852 gl_->AttachShader(program_, fragment_shader);
855 gl_->LinkProgram(program_);
858 gl_->GetProgramiv(program_, GL_LINK_STATUS, &link_status);
862 position_location_ = gl_->GetAttribLocation(program_, "a_position");
863 texcoord_location_ = gl_->GetAttribLocation(program_, "a_texcoord");
864 texture_location_ = gl_->GetUniformLocation(program_, "s_texture");
865 src_subrect_location_ = gl_->GetUniformLocation(program_, "src_subrect");
866 src_pixelsize_location_ = gl_->GetUniformLocation(program_, "src_pixelsize");
867 dst_pixelsize_location_ = gl_->GetUniformLocation(program_, "dst_pixelsize");
869 gl_->GetUniformLocation(program_, "scaling_vector");
870 color_weights_location_ = gl_->GetUniformLocation(program_, "color_weights");
880 gl_->UseProgram(program_);