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 #ifndef CompositingReasons_h | 5 #ifndef CompositingReasons_h |
6 #define CompositingReasons_h | 6 #define CompositingReasons_h |
7 | 7 |
8 #include "wtf/MathExtras.h" | 8 #include "wtf/MathExtras.h" |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 | CompositingReasonTransformWithCompositedDescendants | 97 | CompositingReasonTransformWithCompositedDescendants |
98 | CompositingReasonOpacityWithCompositedDescendants | 98 | CompositingReasonOpacityWithCompositedDescendants |
99 | CompositingReasonMaskWithCompositedDescendants | 99 | CompositingReasonMaskWithCompositedDescendants |
100 | CompositingReasonFilterWithCompositedDescendants | 100 | CompositingReasonFilterWithCompositedDescendants |
101 | CompositingReasonBlendingWithCompositedDescendants | 101 | CompositingReasonBlendingWithCompositedDescendants |
102 | CompositingReasonIsolateCompositedDescendants | 102 | CompositingReasonIsolateCompositedDescendants |
103 | CompositingReasonPreserve3DWith3DDescendants; // preserve-3d has to create
backing store to ensure that 3d-transformed elements intersect. | 103 | CompositingReasonPreserve3DWith3DDescendants; // preserve-3d has to create
backing store to ensure that 3d-transformed elements intersect. |
104 | 104 |
105 const uint64_t CompositingReasonComboSquashableReasons = | 105 const uint64_t CompositingReasonComboSquashableReasons = |
106 CompositingReasonOverlap | 106 CompositingReasonOverlap |
107 | CompositingReasonAssumedOverlap; | 107 | CompositingReasonAssumedOverlap |
| 108 | CompositingReasonOverflowScrollingParent; |
108 | 109 |
109 typedef uint64_t CompositingReasons; | 110 typedef uint64_t CompositingReasons; |
110 | 111 |
111 struct CompositingReasonStringMap { | 112 struct CompositingReasonStringMap { |
112 CompositingReasons reason; | 113 CompositingReasons reason; |
113 const char* shortName; | 114 const char* shortName; |
114 const char* description; | 115 const char* description; |
115 }; | 116 }; |
116 | 117 |
117 static const CompositingReasonStringMap compositingReasonStringMap[] = { | 118 static const CompositingReasonStringMap compositingReasonStringMap[] = { |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 "layerForMask", | 255 "layerForMask", |
255 "Secondary layer, to contain the mask contents" }, | 256 "Secondary layer, to contain the mask contents" }, |
256 { CompositingReasonLayerForClippingMask, | 257 { CompositingReasonLayerForClippingMask, |
257 "layerForClippingMask", | 258 "layerForClippingMask", |
258 "Secondary layer, for clipping mask" } | 259 "Secondary layer, for clipping mask" } |
259 }; | 260 }; |
260 | 261 |
261 } // namespace WebCore | 262 } // namespace WebCore |
262 | 263 |
263 #endif // CompositingReasons_h | 264 #endif // CompositingReasons_h |
OLD | NEW |