Lines Matching refs:shaderProg
3740 ShaderProgramObjectContainer* shaderProg = m_programs.find(program); in getAttribLocation() local
3742 RC_IF_ERROR(shaderProg == DE_NULL, GL_INVALID_OPERATION, -1); in getAttribLocation()
3748 for (size_t ndx = 0; ndx < shaderProg->m_program->m_attributeNames.size(); ++ndx) in getAttribLocation()
3749 if (shaderProg->m_program->m_attributeNames[ndx] == nameString) in getAttribLocation()
3940 ShaderProgramObjectContainer* shaderProg = m_programs.find(program); in getUniformLocation() local
3941 RC_IF_ERROR(shaderProg == DE_NULL, GL_INVALID_OPERATION, -1); in getUniformLocation()
3943 std::vector<sglr::UniformSlot>& uniforms = shaderProg->m_program->m_uniforms; in getUniformLocation()
4547 rc::ShaderProgramObjectContainer* shaderProg = DE_NULL; in useProgram() local
4552 shaderProg = m_programs.find(program); in useProgram()
4555 if (!shaderProg || shaderProg->m_deleteFlag) in useProgram()
4562 m_currentProgram = shaderProg; in useProgram()
4576 rc::ShaderProgramObjectContainer* shaderProg = m_programs.find(program); in deleteProgram() local
4577 if (shaderProg) in deleteProgram()
4579 if (shaderProg == m_currentProgram) in deleteProgram()
4585 DE_ASSERT(shaderProg->getRefCount() == 1); in deleteProgram()
4586 m_programs.releaseReference(shaderProg); in deleteProgram()