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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 const char kShowOccludingRects[] = "show-occluding-rects"; | 56 const char kShowOccludingRects[] = "show-occluding-rects"; |
57 | 57 |
58 // Show rects in the HUD wherever something is not known to be drawn opaque and | 58 // Show rects in the HUD wherever something is not known to be drawn opaque and |
59 // is not considered to be occluding the pixels behind it. | 59 // is not considered to be occluding the pixels behind it. |
60 const char kShowNonOccludingRects[] = "show-nonoccluding-rects"; | 60 const char kShowNonOccludingRects[] = "show-nonoccluding-rects"; |
61 | 61 |
62 // Show metrics about overdraw in about:tracing recordings, such as the number | 62 // Show metrics about overdraw in about:tracing recordings, such as the number |
63 // of pixels culled, and the number of pixels drawn, for each frame. | 63 // of pixels culled, and the number of pixels drawn, for each frame. |
64 const char kTraceOverdraw[] = "trace-overdraw"; | 64 const char kTraceOverdraw[] = "trace-overdraw"; |
65 | 65 |
| 66 // Logs all rendered frames. |
| 67 const char kTraceAllRenderedFrames[] = "trace-all-rendered-frames"; |
| 68 |
66 // Re-rasters everything multiple times to simulate a much slower machine. | 69 // 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 | 70 // Give a scale factor to cause raster to take that many times longer to |
68 // complete, such as --slow-down-raster-scale-factor=25. | 71 // complete, such as --slow-down-raster-scale-factor=25. |
69 const char kSlowDownRasterScaleFactor[] = "slow-down-raster-scale-factor"; | 72 const char kSlowDownRasterScaleFactor[] = "slow-down-raster-scale-factor"; |
70 | 73 |
71 // Schedule rasterization jobs according to their estimated processing cost. | 74 // Schedule rasterization jobs according to their estimated processing cost. |
72 const char kUseCheapnessEstimator[] = "use-cheapness-estimator"; | 75 const char kUseCheapnessEstimator[] = "use-cheapness-estimator"; |
73 | 76 |
74 } // namespace switches | 77 } // namespace switches |
75 } // namespace cc | 78 } // namespace cc |
OLD | NEW |