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

Unified Diff: ui/gl/gl_switches.cc

Issue 1177383005: cc: Add command line for frame production throttle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git cl format Created 5 years, 6 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
« content/renderer/gpu/render_widget_compositor.cc ('K') | « ui/gl/gl_switches.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_switches.cc
diff --git a/ui/gl/gl_switches.cc b/ui/gl/gl_switches.cc
index 4ac132843d4621d223ffe0e9a21e906aa3015142..1a4dd8abef7467712ed33e401ccd418b375f353d 100644
--- a/ui/gl/gl_switches.cc
+++ b/ui/gl/gl_switches.cc
@@ -31,6 +31,11 @@ const char kDisableD3D11[] = "disable-d3d11";
// Stop the GPU from synchronizing on the vsync before presenting.
const char kDisableGpuVsync[] = "disable-gpu-vsync";
+// This flag is similar to kDisableGpuVsync but it is needed
+// for the decoupling "disable gpu vsync" and "throttle frame production".
+// It is effective only for disabling gpu vsync.
+const char kDisableDisplayVsync[] = "disable-display-vsync";
+
// Turns on GPU logging (debug build only).
const char kEnableGPUServiceLogging[] = "enable-gpu-service-logging";
« content/renderer/gpu/render_widget_compositor.cc ('K') | « ui/gl/gl_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698