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

Side by Side Diff: cc/switches.cc

Issue 11414308: Add vsync notification command line switch (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 7 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "cc/switches.h" 5 #include "cc/switches.h"
6 6
7 namespace cc { 7 namespace cc {
8 namespace switches { 8 namespace switches {
9 9
10 // On platforms where checkerboards are used, prefer background colors instead 10 // On platforms where checkerboards are used, prefer background colors instead
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 const char kTraceOverdraw[] = "trace-overdraw"; 64 const char kTraceOverdraw[] = "trace-overdraw";
65 65
66 // Re-rasters everything multiple times to simulate a much slower machine. 66 // Re-rasters everything multiple times to simulate a much slower machine.
67 // Give a scale factor to cause raster to take that many times longer to 67 // Give a scale factor to cause raster to take that many times longer to
68 // complete, such as --slow-down-raster-scale-factor=25. 68 // complete, such as --slow-down-raster-scale-factor=25.
69 const char kSlowDownRasterScaleFactor[] = "slow-down-raster-scale-factor"; 69 const char kSlowDownRasterScaleFactor[] = "slow-down-raster-scale-factor";
70 70
71 // Schedule rasterization jobs according to their estimated processing cost. 71 // Schedule rasterization jobs according to their estimated processing cost.
72 const char kUseCheapnessEstimator[] = "use-cheapness-estimator"; 72 const char kUseCheapnessEstimator[] = "use-cheapness-estimator";
73 73
74 // Use a vsync signal from the browser to the renderer to schedule rendering.
75 const char kEnableVsyncNotification[] = "enable-vsync-notification";
76
74 } // namespace switches 77 } // namespace switches
75 } // namespace cc 78 } // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698