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

Side by Side Diff: cc/debug_rect_history.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/debug_colors.cc ('k') | cc/heads_up_display_layer_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 #ifndef CC_DEBUG_RECT_HISTORY_H_ 5 #ifndef CC_DEBUG_RECT_HISTORY_H_
6 #define CC_DEBUG_RECT_HISTORY_H_ 6 #define CC_DEBUG_RECT_HISTORY_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "ui/gfx/rect.h" 10 #include "ui/gfx/rect.h"
11 #include "ui/gfx/rect_f.h" 11 #include "ui/gfx/rect_f.h"
12 #include <vector> 12 #include <vector>
13 13
14 namespace cc { 14 namespace cc {
15 15
16 class LayerImpl; 16 class LayerImpl;
17 struct LayerTreeDebugState; 17 class LayerTreeDebugState;
18 18
19 // There are currently six types of debug rects: 19 // There are currently six types of debug rects:
20 // 20 //
21 // - Paint rects (update rects): regions of a layer that needed to be re-uploade d to the 21 // - Paint rects (update rects): regions of a layer that needed to be re-uploade d to the
22 // texture resource; in most cases implying that they had to be repainted, too . 22 // texture resource; in most cases implying that they had to be repainted, too .
23 // 23 //
24 // - Property-changed rects: enclosing bounds of layers that cause changes to th e screen 24 // - Property-changed rects: enclosing bounds of layers that cause changes to th e screen
25 // even if the layer did not change internally. (For example, if the layer's o pacity or 25 // even if the layer did not change internally. (For example, if the layer's o pacity or
26 // position changes.) 26 // position changes.)
27 // 27 //
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 void saveNonOccludingRects(const std::vector<gfx::Rect>& nonOccludingScreenS paceRects); 74 void saveNonOccludingRects(const std::vector<gfx::Rect>& nonOccludingScreenS paceRects);
75 75
76 std::vector<DebugRect> m_debugRects; 76 std::vector<DebugRect> m_debugRects;
77 77
78 DISALLOW_COPY_AND_ASSIGN(DebugRectHistory); 78 DISALLOW_COPY_AND_ASSIGN(DebugRectHistory);
79 }; 79 };
80 80
81 } // namespace cc 81 } // namespace cc
82 82
83 #endif // CC_DEBUG_RECT_HISTORY_H_ 83 #endif // CC_DEBUG_RECT_HISTORY_H_
OLDNEW
« no previous file with comments | « cc/debug_colors.cc ('k') | cc/heads_up_display_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698