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

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
Index: ui/gl/gl_switches.cc
===================================================================
--- ui/gl/gl_switches.cc (revision 156195)
+++ ui/gl/gl_switches.cc (working copy)
@@ -48,6 +48,10 @@
// 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";
+
// 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";

Powered by Google App Engine
This is Rietveld 408576698