Searched refs:GpuSwitchingManager (Results 1 – 7 of 7) sorted by relevance
19 GpuSwitchingManager* GpuSwitchingManager::GetInstance() { in GetInstance()20 return Singleton<GpuSwitchingManager>::get(); in GetInstance()23 GpuSwitchingManager::GpuSwitchingManager() in GpuSwitchingManager() function in ui::GpuSwitchingManager34 GpuSwitchingManager::~GpuSwitchingManager() { in ~GpuSwitchingManager()41 void GpuSwitchingManager::ForceUseOfIntegratedGpu() { in ForceUseOfIntegratedGpu()51 void GpuSwitchingManager::ForceUseOfDiscreteGpu() { in ForceUseOfDiscreteGpu()66 bool GpuSwitchingManager::SupportsDualGpus() { in SupportsDualGpus()101 void GpuSwitchingManager::SetGpuCount(size_t gpu_count) { in SetGpuCount()105 gfx::GpuPreference GpuSwitchingManager::AdjustGpuPreference( in AdjustGpuPreference()113 void GpuSwitchingManager::SwitchToDiscreteGpuMac() { in SwitchToDiscreteGpuMac()
20 class GL_EXPORT GpuSwitchingManager {23 static GpuSwitchingManager* GetInstance();44 friend struct DefaultSingletonTraits<GpuSwitchingManager>;46 GpuSwitchingManager();47 virtual ~GpuSwitchingManager();63 DISALLOW_COPY_AND_ASSIGN(GpuSwitchingManager);
41 if (ui::GpuSwitchingManager::GetInstance()->SupportsDualGpus()) { in GetPixelFormat()81 gpu_preference = ui::GpuSwitchingManager::GetInstance()->AdjustGpuPreference( in Initialize()93 if (!ui::GpuSwitchingManager::GetInstance()->SupportsDualGpus() || in Initialize()
64 if (ui::GpuSwitchingManager::GetInstance()->SupportsDualGpus()) { in InitializeOneOffForSandbox()
682 if (ui::GpuSwitchingManager::GetInstance()->SupportsDualGpus()) in AppendGpuCommandLine()1019 ui::GpuSwitchingManager::GetInstance()->SetGpuCount( in UpdateGpuSwitchingManager()1022 if (ui::GpuSwitchingManager::GetInstance()->SupportsDualGpus()) { in UpdateGpuSwitchingManager()1024 ui::GpuSwitchingManager::GetInstance()->ForceUseOfDiscreteGpu(); in UpdateGpuSwitchingManager()1026 ui::GpuSwitchingManager::GetInstance()->ForceUseOfIntegratedGpu(); in UpdateGpuSwitchingManager()
135 ui::GpuSwitchingManager::GetInstance()->ForceUseOfDiscreteGpu(); in GpuMain()137 ui::GpuSwitchingManager::GetInstance()->ForceUseOfIntegratedGpu(); in GpuMain()
45 if (ui::GpuSwitchingManager::GetInstance()->SupportsDualGpus()) {