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
|