| 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 26 matching lines...) Expand all Loading... |
| 37 const char kShowScreenSpaceRects[] = "show-screenspace-rects"; | 37 const char kShowScreenSpaceRects[] = "show-screenspace-rects"; |
| 38 | 38 |
| 39 // Show rects in the HUD around the screen-space transformed bounds of every | 39 // Show rects in the HUD around the screen-space transformed bounds of every |
| 40 // layer's replica, when they have one. | 40 // layer's replica, when they have one. |
| 41 const char kShowReplicaScreenSpaceRects[] = "show-replica-screenspace-rects"; | 41 const char kShowReplicaScreenSpaceRects[] = "show-replica-screenspace-rects"; |
| 42 | 42 |
| 43 // Show rects in the HUD wherever something is known to be drawn opaque and is | 43 // Show rects in the HUD wherever something is known to be drawn opaque and is |
| 44 // considered occluding the pixels behind it. | 44 // considered occluding the pixels behind it. |
| 45 const char kShowOccludingRects[] = "show-occluding-rects"; | 45 const char kShowOccludingRects[] = "show-occluding-rects"; |
| 46 | 46 |
| 47 // Show rects in the HUD wherever something is not known to be drawn opaque and |
| 48 // is not considered to be occluding the pixels behind it. |
| 49 const char kShowNonOccludingRects[] = "show-nonoccluding-rects"; |
| 50 |
| 47 // Show metrics about overdraw in about:tracing recordings, such as the number | 51 // Show metrics about overdraw in about:tracing recordings, such as the number |
| 48 // of pixels culled, and the number of pixels drawn, for each frame. | 52 // of pixels culled, and the number of pixels drawn, for each frame. |
| 49 const char kTraceOverdraw[] = "trace-overdraw"; | 53 const char kTraceOverdraw[] = "trace-overdraw"; |
| 50 | 54 |
| 51 } // namespace switches | 55 } // namespace switches |
| 52 } // namespace cc | 56 } // namespace cc |
| OLD | NEW |