Home
last modified time | relevance | path

Searched refs:GpuSwitchingManager (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/ui/gl/
Dgpu_switching_manager.cc19 GpuSwitchingManager* GpuSwitchingManager::GetInstance() { in GetInstance()
20 return Singleton<GpuSwitchingManager>::get(); in GetInstance()
23 GpuSwitchingManager::GpuSwitchingManager() in GpuSwitchingManager() function in ui::GpuSwitchingManager
34 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()
Dgpu_switching_manager.h20 class GL_EXPORT GpuSwitchingManager {
23 static GpuSwitchingManager* GetInstance();
44 friend struct DefaultSingletonTraits<GpuSwitchingManager>;
46 GpuSwitchingManager();
47 virtual ~GpuSwitchingManager();
63 DISALLOW_COPY_AND_ASSIGN(GpuSwitchingManager);
Dgl_context_cgl.cc41 if (ui::GpuSwitchingManager::GetInstance()->SupportsDualGpus()) { in GetPixelFormat()
81 gpu_preference = ui::GpuSwitchingManager::GetInstance()->AdjustGpuPreference( in Initialize()
93 if (!ui::GpuSwitchingManager::GetInstance()->SupportsDualGpus() || in Initialize()
Dgl_surface_mac.cc64 if (ui::GpuSwitchingManager::GetInstance()->SupportsDualGpus()) { in InitializeOneOffForSandbox()
/external/chromium_org/content/browser/gpu/
Dgpu_data_manager_impl_private.cc682 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()
/external/chromium_org/content/gpu/
Dgpu_main.cc135 ui::GpuSwitchingManager::GetInstance()->ForceUseOfDiscreteGpu(); in GpuMain()
137 ui::GpuSwitchingManager::GetInstance()->ForceUseOfIntegratedGpu(); in GpuMain()
/external/chromium_org/content/browser/renderer_host/
Dcompositing_iosurface_context_mac.mm45 if (ui::GpuSwitchingManager::GetInstance()->SupportsDualGpus()) {