OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "config.h" | 5 #include "config.h" |
6 #include "platform/graphics/paint/DisplayItem.h" | 6 #include "platform/graphics/paint/DisplayItem.h" |
7 | 7 |
8 namespace blink { | 8 namespace blink { |
9 | 9 |
10 #ifndef NDEBUG | 10 #ifndef NDEBUG |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 return "End" + clipTypeAsDebugString(endClipTypeToClipType(type)); | 96 return "End" + clipTypeAsDebugString(endClipTypeToClipType(type)); |
97 | 97 |
98 PAINT_PHASE_BASED_DEBUG_STRINGS(FloatClip); | 98 PAINT_PHASE_BASED_DEBUG_STRINGS(FloatClip); |
99 if (isEndFloatClipType(type)) | 99 if (isEndFloatClipType(type)) |
100 return "End" + typeAsDebugString(endFloatClipTypeToFloatClipType(type)); | 100 return "End" + typeAsDebugString(endFloatClipTypeToFloatClipType(type)); |
101 | 101 |
102 PAINT_PHASE_BASED_DEBUG_STRINGS(Scroll); | 102 PAINT_PHASE_BASED_DEBUG_STRINGS(Scroll); |
103 if (isEndScrollType(type)) | 103 if (isEndScrollType(type)) |
104 return "End" + typeAsDebugString(endScrollTypeToScrollType(type)); | 104 return "End" + typeAsDebugString(endScrollTypeToScrollType(type)); |
105 | 105 |
| 106 PAINT_PHASE_BASED_DEBUG_STRINGS(SubtreeCached); |
| 107 PAINT_PHASE_BASED_DEBUG_STRINGS(BeginSubtree); |
| 108 PAINT_PHASE_BASED_DEBUG_STRINGS(EndSubtree); |
| 109 |
106 switch (type) { | 110 switch (type) { |
107 case BeginFilter: return "BeginFilter"; | 111 case BeginFilter: return "BeginFilter"; |
108 case EndFilter: return "EndFilter"; | 112 case EndFilter: return "EndFilter"; |
109 case BeginCompositing: return "BeginCompositing"; | 113 case BeginCompositing: return "BeginCompositing"; |
110 case EndCompositing: return "EndCompositing"; | 114 case EndCompositing: return "EndCompositing"; |
111 case BeginTransform: return "BeginTransform"; | 115 case BeginTransform: return "BeginTransform"; |
112 case EndTransform: return "EndTransform"; | 116 case EndTransform: return "EndTransform"; |
113 case BeginClipPath: return "BeginClipPath"; | 117 case BeginClipPath: return "BeginClipPath"; |
114 case EndClipPath: return "EndClipPath"; | 118 case EndClipPath: return "EndClipPath"; |
115 default: | 119 default: |
(...skipping 19 matching lines...) Expand all Loading... |
135 stringBuilder.append(", "); | 139 stringBuilder.append(", "); |
136 } | 140 } |
137 stringBuilder.append("type: \""); | 141 stringBuilder.append("type: \""); |
138 stringBuilder.append(typeAsDebugString(type())); | 142 stringBuilder.append(typeAsDebugString(type())); |
139 stringBuilder.append('"'); | 143 stringBuilder.append('"'); |
140 } | 144 } |
141 | 145 |
142 #endif | 146 #endif |
143 | 147 |
144 } // namespace blink | 148 } // namespace blink |
OLD | NEW |