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

Side by Side Diff: cc/debug/debug_rect_history.h

Issue 474783002: HUD: Show first paint invalidation in red (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: compilefix Created 6 years, 3 months 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/debug_colors.cc ('k') | cc/debug/debug_rect_history.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_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
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
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_
OLDNEW
« no previous file with comments | « cc/debug/debug_colors.cc ('k') | cc/debug/debug_rect_history.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698