Mailbox support for texture layers.
[chromium-blink-merge.git] / cc / layer_tree_debug_state.h
blob5a9a3258fc86d6eb9ca8e133b191bc267c897233
1 // Copyright 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CC_LAYER_TREE_DEBUG_STATE_H_
6 #define CC_LAYER_TREE_DEBUG_STATE_H_
8 #include "cc/cc_export.h"
10 namespace cc {
12 class CC_EXPORT LayerTreeDebugState {
13 public:
14 LayerTreeDebugState();
15 ~LayerTreeDebugState();
17 bool showFPSCounter;
18 bool showPlatformLayerTree;
19 bool showDebugBorders;
20 bool continuousPainting;
22 bool showPaintRects;
23 bool showPropertyChangedRects;
24 bool showSurfaceDamageRects;
25 bool showScreenSpaceRects;
26 bool showReplicaScreenSpaceRects;
27 bool showOccludingRects;
28 bool showNonOccludingRects;
30 bool showHudInfo() const;
31 bool showHudRects() const;
32 bool hudNeedsFont() const;
34 static bool equal(const LayerTreeDebugState& a, const LayerTreeDebugState& b);
35 static LayerTreeDebugState unite(const LayerTreeDebugState& a, const LayerTreeDebugState& b);
38 } // namespace cc
40 #endif // CC_LAYER_TREE_DEBUG_STATE_H_