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 "platform/graphics/CompositingReasons.h" | 5 #include "platform/graphics/CompositingReasons.h" |
6 | 6 |
7 #include "wtf/StdLibExtras.h" | 7 #include "wtf/StdLibExtras.h" |
8 | 8 |
9 namespace blink { | 9 namespace blink { |
10 | 10 |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 {CompositingReasonReflectionWithCompositedDescendants, | 61 {CompositingReasonReflectionWithCompositedDescendants, |
62 "reflectionWithCompositedDescendants", | 62 "reflectionWithCompositedDescendants", |
63 "Has a reflection that needs to be known by compositor because of " | 63 "Has a reflection that needs to be known by compositor because of " |
64 "composited descendants"}, | 64 "composited descendants"}, |
65 {CompositingReasonFilterWithCompositedDescendants, | 65 {CompositingReasonFilterWithCompositedDescendants, |
66 "filterWithCompositedDescendants", | 66 "filterWithCompositedDescendants", |
67 "Has a filter effect that needs to be known by compositor because of " | 67 "Has a filter effect that needs to be known by compositor because of " |
68 "composited descendants"}, | 68 "composited descendants"}, |
69 {CompositingReasonBlendingWithCompositedDescendants, | 69 {CompositingReasonBlendingWithCompositedDescendants, |
70 "blendingWithCompositedDescendants", | 70 "blendingWithCompositedDescendants", |
71 "Has a blenidng effect that needs to be known by compositor because of " | 71 "Has a blending effect that needs to be known by compositor because of " |
72 "composited descendants"}, | 72 "composited descendants"}, |
73 {CompositingReasonClipsCompositingDescendants, | 73 {CompositingReasonClipsCompositingDescendants, |
74 "clipsCompositingDescendants", | 74 "clipsCompositingDescendants", |
75 "Has a clip that needs to be known by compositor because of composited " | 75 "Has a clip that needs to be known by compositor because of composited " |
76 "descendants"}, | 76 "descendants"}, |
77 {CompositingReasonPerspectiveWith3DDescendants, | 77 {CompositingReasonPerspectiveWith3DDescendants, |
78 "perspectiveWith3DDescendants", | 78 "perspectiveWith3DDescendants", |
79 "Has a perspective transform that needs to be known by compositor because " | 79 "Has a perspective transform that needs to be known by compositor because " |
80 "of 3d descendants"}, | 80 "of 3d descendants"}, |
81 {CompositingReasonPreserve3DWith3DDescendants, | 81 {CompositingReasonPreserve3DWith3DDescendants, |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 "Layer painted on top of other layers as decoration"}, | 135 "Layer painted on top of other layers as decoration"}, |
136 {CompositingReasonInlineTransform, "inlineTransform", | 136 {CompositingReasonInlineTransform, "inlineTransform", |
137 "Has an inline transform, which causes subsequent layers to assume " | 137 "Has an inline transform, which causes subsequent layers to assume " |
138 "overlap"}, | 138 "overlap"}, |
139 }; | 139 }; |
140 | 140 |
141 const size_t kNumberOfCompositingReasons = | 141 const size_t kNumberOfCompositingReasons = |
142 WTF_ARRAY_LENGTH(kCompositingReasonStringMap); | 142 WTF_ARRAY_LENGTH(kCompositingReasonStringMap); |
143 | 143 |
144 } // namespace blink | 144 } // namespace blink |
OLD | NEW |