Lines Matching refs:program2
86 vtkSmartPointer<vtkShaderProgram2> program, program2; member in GLSLTestItem
165 this->program2->Use(); in Paint()
175 this->program2->Restore(); in Paint()
186 if (this->program2) in ReleaseGraphicsResources()
188 this->program2->ReleaseGraphicsResources(); in ReleaseGraphicsResources()
209 this->program2 = vtkSmartPointer<vtkShaderProgram2>::New(); in BuildShader()
210 this->program2->SetContext(glContext); in BuildShader()
218 this->program2->GetShaders()->AddItem(shader); in BuildShader()
234 this->program2->GetShaders()->AddItem(shader); in BuildShader()
246 this->program2->Build(); in BuildShader()
247 if(this->program2->GetLastBuildStatus() != VTK_SHADER_PROGRAM2_LINK_SUCCEEDED) in BuildShader()