Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(442)

Side by Side Diff: cc/layer_tree_debug_state.h

Issue 11529003: [cc] Route LayerImpl::layerTreeHostImpl() calls through LayerTreeImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/layer_impl.cc ('k') | cc/layer_tree_debug_state.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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.
4
5 #ifndef CC_LAYER_TREE_DEBUG_STATE_H_
6 #define CC_LAYER_TREE_DEBUG_STATE_H_
7
8 #include "cc/cc_export.h"
9
10 namespace cc {
11
12 class CC_EXPORT LayerTreeDebugState {
13 public:
14 LayerTreeDebugState();
15 ~LayerTreeDebugState();
16
17 bool showFPSCounter;
18 bool showPlatformLayerTree;
19 bool showDebugBorders;
20
21 bool showPaintRects;
22 bool showPropertyChangedRects;
23 bool showSurfaceDamageRects;
24 bool showScreenSpaceRects;
25 bool showReplicaScreenSpaceRects;
26 bool showOccludingRects;
27 bool showNonOccludingRects;
28
29 bool showHudInfo() const;
30 bool showHudRects() const;
31 bool hudNeedsFont() const;
32
33 static bool equal(const LayerTreeDebugState& a, const LayerTreeDebugState& b);
34 static LayerTreeDebugState unite(const LayerTreeDebugState& a, const LayerTree DebugState& b);
35 };
36
37 } // namespace cc
38
39 #endif // CC_LAYER_TREE_DEBUG_STATE_H_
OLDNEW
« no previous file with comments | « cc/layer_impl.cc ('k') | cc/layer_tree_debug_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698