Lines Matching refs:shaderProg
3758 ShaderProgramObjectContainer* shaderProg = m_programs.find(program); in getAttribLocation() local
3760 RC_IF_ERROR(shaderProg == DE_NULL, GL_INVALID_OPERATION, -1); in getAttribLocation()
3766 for (size_t ndx = 0; ndx < shaderProg->m_program->m_attributeNames.size(); ++ndx) in getAttribLocation()
3767 if (shaderProg->m_program->m_attributeNames[ndx] == nameString) in getAttribLocation()
3958 ShaderProgramObjectContainer* shaderProg = m_programs.find(program); in getUniformLocation() local
3959 RC_IF_ERROR(shaderProg == DE_NULL, GL_INVALID_OPERATION, -1); in getUniformLocation()
3961 std::vector<sglr::UniformSlot>& uniforms = shaderProg->m_program->m_uniforms; in getUniformLocation()
4565 rc::ShaderProgramObjectContainer* shaderProg = DE_NULL; in useProgram() local
4570 shaderProg = m_programs.find(program); in useProgram()
4573 if (!shaderProg || shaderProg->m_deleteFlag) in useProgram()
4580 m_currentProgram = shaderProg; in useProgram()
4594 rc::ShaderProgramObjectContainer* shaderProg = m_programs.find(program); in deleteProgram() local
4595 if (shaderProg) in deleteProgram()
4597 if (shaderProg == m_currentProgram) in deleteProgram()
4603 DE_ASSERT(shaderProg->getRefCount() == 1); in deleteProgram()
4604 m_programs.releaseReference(shaderProg); in deleteProgram()