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

Unified Diff: ui/gl/gl_switches.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 | « ui/gl/gl_switches.h ('k') | ui/gl/gpu_switching_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_switches.cc
===================================================================
--- ui/gl/gl_switches.cc (revision 156195)
+++ ui/gl/gl_switches.cc (working copy)
@@ -48,8 +48,17 @@
// Simulates a slow GPU.
const char kGpuSwapDelay[] = "gpu-swap-delay";
+// Overwrite the default GPU automatic switching behavior to force on
+// integrated GPU or discrete GPU.
+const char kGpuSwitching[] = "gpu-switching";
+
+const char kGpuSwitchingOptionNameForceIntegrated[] = "force_integrated";
+const char kGpuSwitchingOptionNameForceDiscrete[] = "force_discrete";
+const char kGpuSwitchingOptionNameAutomatic[] = "automatic";
+
// Flag used for Linux tests: for desktop GL bindings, try to load this GL
// library first, but fall back to regular library if loading fails.
const char kTestGLLib[] = "test-gl-lib";
} // namespace switches
+
jam 2012/09/21 20:42:04 nit: remove
« no previous file with comments | « ui/gl/gl_switches.h ('k') | ui/gl/gpu_switching_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698