| 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" |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 // occupy in screen space. | 36 // occupy in screen space. |
| 37 // | 37 // |
| 38 // - Occluding rects: these are the regions that contribute to the occluded | 38 // - Occluding rects: these are the regions that contribute to the occluded |
| 39 // region. | 39 // region. |
| 40 // | 40 // |
| 41 // - Non-Occluding rects: these are the regions of composited layers that do not | 41 // - Non-Occluding rects: these are the regions of composited layers that do not |
| 42 // contribute to the occluded region. | 42 // contribute to the occluded region. |
| 43 // | 43 // |
| 44 enum DebugRectType { | 44 enum DebugRectType { |
| 45 PAINT_RECT_TYPE, | 45 PAINT_RECT_TYPE, |
| 46 FIRST_PAINT_RECT_TYPE, |
| 46 PROPERTY_CHANGED_RECT_TYPE, | 47 PROPERTY_CHANGED_RECT_TYPE, |
| 47 SURFACE_DAMAGE_RECT_TYPE, | 48 SURFACE_DAMAGE_RECT_TYPE, |
| 48 SCREEN_SPACE_RECT_TYPE, | 49 SCREEN_SPACE_RECT_TYPE, |
| 49 REPLICA_SCREEN_SPACE_RECT_TYPE, | 50 REPLICA_SCREEN_SPACE_RECT_TYPE, |
| 50 OCCLUDING_RECT_TYPE, | 51 OCCLUDING_RECT_TYPE, |
| 51 NONOCCLUDING_RECT_TYPE, | 52 NONOCCLUDING_RECT_TYPE, |
| 52 TOUCH_EVENT_HANDLER_RECT_TYPE, | 53 TOUCH_EVENT_HANDLER_RECT_TYPE, |
| 53 WHEEL_EVENT_HANDLER_RECT_TYPE, | 54 WHEEL_EVENT_HANDLER_RECT_TYPE, |
| 54 SCROLL_EVENT_HANDLER_RECT_TYPE, | 55 SCROLL_EVENT_HANDLER_RECT_TYPE, |
| 55 NON_FAST_SCROLLABLE_RECT_TYPE, | 56 NON_FAST_SCROLLABLE_RECT_TYPE, |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 const LayerImplList& render_surface_layer_list); | 112 const LayerImplList& render_surface_layer_list); |
| 112 | 113 |
| 113 std::vector<DebugRect> debug_rects_; | 114 std::vector<DebugRect> debug_rects_; |
| 114 | 115 |
| 115 DISALLOW_COPY_AND_ASSIGN(DebugRectHistory); | 116 DISALLOW_COPY_AND_ASSIGN(DebugRectHistory); |
| 116 }; | 117 }; |
| 117 | 118 |
| 118 } // namespace cc | 119 } // namespace cc |
| 119 | 120 |
| 120 #endif // CC_DEBUG_DEBUG_RECT_HISTORY_H_ | 121 #endif // CC_DEBUG_DEBUG_RECT_HISTORY_H_ |
| OLD | NEW |