| OLD | NEW |
| 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_DEBUG_RECT_HISTORY_H_ | 5 #ifndef CC_DEBUG_DEBUG_RECT_HISTORY_H_ |
| 6 #define CC_DEBUG_DEBUG_RECT_HISTORY_H_ | 6 #define CC_DEBUG_DEBUG_RECT_HISTORY_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "cc/layers/layer_lists.h" | 11 #include "cc/layers/layer_lists.h" |
| 12 #include "ui/gfx/rect.h" | 12 #include "ui/gfx/geometry/rect.h" |
| 13 | 13 |
| 14 namespace cc { | 14 namespace cc { |
| 15 | 15 |
| 16 class LayerImpl; | 16 class LayerImpl; |
| 17 class 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 | 21 // - Paint rects (update rects): regions of a layer that needed to be |
| 22 // re-uploaded to the texture resource; in most cases implying that they had to | 22 // re-uploaded to the texture resource; in most cases implying that they had to |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 const LayerImplList& render_surface_layer_list); | 111 const LayerImplList& render_surface_layer_list); |
| 112 | 112 |
| 113 std::vector<DebugRect> debug_rects_; | 113 std::vector<DebugRect> debug_rects_; |
| 114 | 114 |
| 115 DISALLOW_COPY_AND_ASSIGN(DebugRectHistory); | 115 DISALLOW_COPY_AND_ASSIGN(DebugRectHistory); |
| 116 }; | 116 }; |
| 117 | 117 |
| 118 } // namespace cc | 118 } // namespace cc |
| 119 | 119 |
| 120 #endif // CC_DEBUG_DEBUG_RECT_HISTORY_H_ | 120 #endif // CC_DEBUG_DEBUG_RECT_HISTORY_H_ |
| OLD | NEW |