Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(307)

Side by Side Diff: third_party/WebKit/Source/platform/graphics/CompositingReasons.cpp

Issue 2578343002: Support compositing for active animations in SPv2. (Closed)
Patch Set: setNeedsPaintPropertyUpdate on PaintLayer::styleDidChange. Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698