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

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: hope to be final patch Created 5 years, 5 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/compositor/compositor.cc ('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..dc217ef94056266325ac393f1da7dd886f053c9a 100644
--- a/ui/gl/gl_switches.cc
+++ b/ui/gl/gl_switches.cc
@@ -29,6 +29,10 @@ namespace switches {
const char kDisableD3D11[] = "disable-d3d11";
// Stop the GPU from synchronizing on the vsync before presenting.
+// We can select from the options below:
+// beginframe : Next frame can start without any delay on cc::scheduler.
+// gpu : Disable gpu vsync.
+// default: Set both flags.
const char kDisableGpuVsync[] = "disable-gpu-vsync";
// Turns on GPU logging (debug build only).
« no previous file with comments | « ui/compositor/compositor.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698