OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 const uint64_t CompositingReasonLayerForForeground = UINT64_
C(1) << 29; | 53 const uint64_t CompositingReasonLayerForForeground = UINT64_
C(1) << 29; |
54 const uint64_t CompositingReasonLayerForBackground = UINT64_
C(1) << 30; | 54 const uint64_t CompositingReasonLayerForBackground = UINT64_
C(1) << 30; |
55 const uint64_t CompositingReasonLayerForMask = UINT64_
C(1) << 31; | 55 const uint64_t CompositingReasonLayerForMask = UINT64_
C(1) << 31; |
56 | 56 |
57 // FIXME: the following compositing reasons need to be re-organized to fit with
categories | 57 // FIXME: the following compositing reasons need to be re-organized to fit with
categories |
58 // used in all the other reasons above. | 58 // used in all the other reasons above. |
59 const uint64_t CompositingReasonOverflowScrollingParent = UINT64_
C(1) << 32; | 59 const uint64_t CompositingReasonOverflowScrollingParent = UINT64_
C(1) << 32; |
60 const uint64_t CompositingReasonOutOfFlowClipping = UINT64_
C(1) << 33; | 60 const uint64_t CompositingReasonOutOfFlowClipping = UINT64_
C(1) << 33; |
61 | 61 |
62 const uint64_t CompositingReasonLayerForVideoOverlay = UINT64_
C(1) << 34; | 62 const uint64_t CompositingReasonLayerForVideoOverlay = UINT64_
C(1) << 34; |
| 63 const uint64_t CompositingReasonIsolateCompositedDescendants = UINT64_
C(1) << 35; |
63 | 64 |
64 const uint64_t CompositingReasonComboAllDirectReasons = | 65 const uint64_t CompositingReasonComboAllDirectReasons = |
65 CompositingReason3DTransform | 66 CompositingReason3DTransform |
66 | CompositingReasonVideo | 67 | CompositingReasonVideo |
67 | CompositingReasonCanvas | 68 | CompositingReasonCanvas |
68 | CompositingReasonPlugin | 69 | CompositingReasonPlugin |
69 | CompositingReasonIFrame | 70 | CompositingReasonIFrame |
70 | CompositingReasonBackfaceVisibilityHidden | 71 | CompositingReasonBackfaceVisibilityHidden |
71 | CompositingReasonAnimation | 72 | CompositingReasonAnimation |
72 | CompositingReasonFilters | 73 | CompositingReasonFilters |
(...skipping 15 matching lines...) Expand all Loading... |
88 | CompositingReasonBlendingWithCompositedDescendants | 89 | CompositingReasonBlendingWithCompositedDescendants |
89 | CompositingReasonPreserve3D; // preserve-3d has to create backing store to
ensure that 3d-transformed elements intersect. | 90 | CompositingReasonPreserve3D; // preserve-3d has to create backing store to
ensure that 3d-transformed elements intersect. |
90 | 91 |
91 // Note: if you add more reasons here, you will need to update WebCompositingRea
sons as well. | 92 // Note: if you add more reasons here, you will need to update WebCompositingRea
sons as well. |
92 typedef uint64_t CompositingReasons; | 93 typedef uint64_t CompositingReasons; |
93 | 94 |
94 | 95 |
95 } // namespace WebCore | 96 } // namespace WebCore |
96 | 97 |
97 #endif // CompositingReasons_h | 98 #endif // CompositingReasons_h |
OLD | NEW |