Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1760)

Unified Diff: chrome/browser/ui/webui/gpu_internals_ui.cc

Issue 10909221: Implement blacklist's force GPU capability in dual GPU machines. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/gpu/gpu_blacklist.h » ('j') | ui/gl/gl_switches.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/gpu_internals_ui.cc
===================================================================
--- chrome/browser/ui/webui/gpu_internals_ui.cc (revision 156326)
+++ chrome/browser/ui/webui/gpu_internals_ui.cc (working copy)
@@ -345,13 +345,13 @@
gpu_info.optimus || gpu_info.amd_switchable) {
std::string gpu_switching;
switch (GpuDataManager::GetInstance()->GetGpuSwitchingOption()) {
- case content::GPU_SWITCHING_AUTOMATIC:
+ case content::GPU_SWITCHING_OPTION_AUTOMATIC:
gpu_switching = "gpu_switching_automatic";
break;
- case content::GPU_SWITCHING_FORCE_DISCRETE:
+ case content::GPU_SWITCHING_OPTION_FORCE_DISCRETE:
gpu_switching = "gpu_switching_force_discrete";
break;
- case content::GPU_SWITCHING_FORCE_INTEGRATED:
+ case content::GPU_SWITCHING_OPTION_FORCE_INTEGRATED:
gpu_switching = "gpu_switching_force_integrated";
break;
default:
« no previous file with comments | « no previous file | content/browser/gpu/gpu_blacklist.h » ('j') | ui/gl/gl_switches.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698