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

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: rebase & follow dana`s review 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
« ui/compositor/compositor.cc ('K') | « 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..96de37185b0f352a01e73018189a62bcda0bf38f 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 below options:
brianderson 2015/07/14 01:48:25 // We can select from the options below:
Jimmy Jo 2015/07/15 00:47:27 Done.
+// 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).
« ui/compositor/compositor.cc ('K') | « ui/compositor/compositor.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698