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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 return "End" + clipTypeAsDebugString(endClipTypeToClipType(type)); | 99 return "End" + clipTypeAsDebugString(endClipTypeToClipType(type)); |
100 | 100 |
101 PAINT_PHASE_BASED_DEBUG_STRINGS(FloatClip); | 101 PAINT_PHASE_BASED_DEBUG_STRINGS(FloatClip); |
102 if (isEndFloatClipType(type)) | 102 if (isEndFloatClipType(type)) |
103 return "End" + typeAsDebugString(endFloatClipTypeToFloatClipType(type)); | 103 return "End" + typeAsDebugString(endFloatClipTypeToFloatClipType(type)); |
104 | 104 |
105 PAINT_PHASE_BASED_DEBUG_STRINGS(Scroll); | 105 PAINT_PHASE_BASED_DEBUG_STRINGS(Scroll); |
106 if (isEndScrollType(type)) | 106 if (isEndScrollType(type)) |
107 return "End" + typeAsDebugString(endScrollTypeToScrollType(type)); | 107 return "End" + typeAsDebugString(endScrollTypeToScrollType(type)); |
108 | 108 |
| 109 PAINT_PHASE_BASED_DEBUG_STRINGS(SubtreeCached); |
| 110 PAINT_PHASE_BASED_DEBUG_STRINGS(BeginSubtree); |
| 111 PAINT_PHASE_BASED_DEBUG_STRINGS(EndSubtree); |
| 112 |
109 switch (type) { | 113 switch (type) { |
110 case BeginFilter: return "BeginFilter"; | 114 case BeginFilter: return "BeginFilter"; |
111 case EndFilter: return "EndFilter"; | 115 case EndFilter: return "EndFilter"; |
112 case BeginCompositing: return "BeginCompositing"; | 116 case BeginCompositing: return "BeginCompositing"; |
113 case EndCompositing: return "EndCompositing"; | 117 case EndCompositing: return "EndCompositing"; |
114 case BeginTransform: return "BeginTransform"; | 118 case BeginTransform: return "BeginTransform"; |
115 case EndTransform: return "EndTransform"; | 119 case EndTransform: return "EndTransform"; |
116 case BeginClipPath: return "BeginClipPath"; | 120 case BeginClipPath: return "BeginClipPath"; |
117 case EndClipPath: return "EndClipPath"; | 121 case EndClipPath: return "EndClipPath"; |
118 default: | 122 default: |
(...skipping 19 matching lines...) Expand all Loading... |
138 stringBuilder.append(", "); | 142 stringBuilder.append(", "); |
139 } | 143 } |
140 stringBuilder.append("type: \""); | 144 stringBuilder.append("type: \""); |
141 stringBuilder.append(typeAsDebugString(type())); | 145 stringBuilder.append(typeAsDebugString(type())); |
142 stringBuilder.append('"'); | 146 stringBuilder.append('"'); |
143 } | 147 } |
144 | 148 |
145 #endif | 149 #endif |
146 | 150 |
147 } // namespace blink | 151 } // namespace blink |
OLD | NEW |