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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 const char kShowOccludingRects[] = "show-occluding-rects"; | 53 const char kShowOccludingRects[] = "show-occluding-rects"; |
54 | 54 |
55 // Show rects in the HUD wherever something is not known to be drawn opaque and | 55 // Show rects in the HUD wherever something is not known to be drawn opaque and |
56 // is not considered to be occluding the pixels behind it. | 56 // is not considered to be occluding the pixels behind it. |
57 const char kShowNonOccludingRects[] = "show-nonoccluding-rects"; | 57 const char kShowNonOccludingRects[] = "show-nonoccluding-rects"; |
58 | 58 |
59 // Show metrics about overdraw in about:tracing recordings, such as the number | 59 // Show metrics about overdraw in about:tracing recordings, such as the number |
60 // of pixels culled, and the number of pixels drawn, for each frame. | 60 // of pixels culled, and the number of pixels drawn, for each frame. |
61 const char kTraceOverdraw[] = "trace-overdraw"; | 61 const char kTraceOverdraw[] = "trace-overdraw"; |
62 | 62 |
| 63 // Causes the compositor to render to textures which are then sent to the parent |
| 64 // through the texture mailbox mechanism. Requires kEnableCompositorFrameMessage
. |
| 65 const char kCompositeToMailbox[] = "composite-to-mailbox"; |
| 66 |
63 } // namespace switches | 67 } // namespace switches |
64 } // namespace cc | 68 } // namespace cc |
OLD | NEW |