OLD | NEW |
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 Loading... |
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 |
OLD | NEW |