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

Side by Side Diff: sky/engine/platform/graphics/CompositingReasons.cpp

Issue 731863003: Remove CSSCompositing (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: preland Created 6 years, 1 month 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 "config.h" 5 #include "config.h"
6 #include "platform/graphics/CompositingReasons.h" 6 #include "platform/graphics/CompositingReasons.h"
7 7
8 #include "wtf/StdLibExtras.h" 8 #include "wtf/StdLibExtras.h"
9 9
10 namespace blink { 10 namespace blink {
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 "Has a transform that needs to be known by compositor because of composi ted descendants" }, 84 "Has a transform that needs to be known by compositor because of composi ted descendants" },
85 { CompositingReasonOpacityWithCompositedDescendants, 85 { CompositingReasonOpacityWithCompositedDescendants,
86 "opacityWithCompositedDescendants", 86 "opacityWithCompositedDescendants",
87 "Has opacity that needs to be applied by compositor because of composite d descendants" }, 87 "Has opacity that needs to be applied by compositor because of composite d descendants" },
88 { CompositingReasonMaskWithCompositedDescendants, 88 { CompositingReasonMaskWithCompositedDescendants,
89 "maskWithCompositedDescendants", 89 "maskWithCompositedDescendants",
90 "Has a mask that needs to be known by compositor because of composited d escendants" }, 90 "Has a mask that needs to be known by compositor because of composited d escendants" },
91 { CompositingReasonFilterWithCompositedDescendants, 91 { CompositingReasonFilterWithCompositedDescendants,
92 "filterWithCompositedDescendants", 92 "filterWithCompositedDescendants",
93 "Has a filter effect that needs to be known by compositor because of com posited descendants" }, 93 "Has a filter effect that needs to be known by compositor because of com posited descendants" },
94 { CompositingReasonBlendingWithCompositedDescendants,
95 "blendingWithCompositedDescendants",
96 "Has a blenidng effect that needs to be known by compositor because of c omposited descendants" },
97 { CompositingReasonClipsCompositingDescendants, 94 { CompositingReasonClipsCompositingDescendants,
98 "clipsCompositingDescendants", 95 "clipsCompositingDescendants",
99 "Has a clip that needs to be known by compositor because of composited d escendants" }, 96 "Has a clip that needs to be known by compositor because of composited d escendants" },
100 { CompositingReasonPerspectiveWith3DDescendants, 97 { CompositingReasonPerspectiveWith3DDescendants,
101 "perspectiveWith3DDescendants", 98 "perspectiveWith3DDescendants",
102 "Has a perspective transform that needs to be known by compositor becaus e of 3d descendants" }, 99 "Has a perspective transform that needs to be known by compositor becaus e of 3d descendants" },
103 { CompositingReasonPreserve3DWith3DDescendants, 100 { CompositingReasonPreserve3DWith3DDescendants,
104 "preserve3DWith3DDescendants", 101 "preserve3DWith3DDescendants",
105 "Has a preserves-3d property that needs to be known by compositor becaus e of 3d descendants" }, 102 "Has a preserves-3d property that needs to be known by compositor becaus e of 3d descendants" },
106 { CompositingReasonIsolateCompositedDescendants,
107 "isolateCompositedDescendants",
108 "Should isolate descendants to apply a blend effect" },
109 { CompositingReasonRoot, 103 { CompositingReasonRoot,
110 "root", 104 "root",
111 "Is the root layer" }, 105 "Is the root layer" },
112 { CompositingReasonLayerForAncestorClip, 106 { CompositingReasonLayerForAncestorClip,
113 "layerForAncestorClip", 107 "layerForAncestorClip",
114 "Secondary layer, applies a clip due to a sibling in the compositing tre e" }, 108 "Secondary layer, applies a clip due to a sibling in the compositing tre e" },
115 { CompositingReasonLayerForDescendantClip, 109 { CompositingReasonLayerForDescendantClip,
116 "layerForDescendantClip", 110 "layerForDescendantClip",
117 "Secondary layer, to clip descendants of the owning layer" }, 111 "Secondary layer, to clip descendants of the owning layer" },
118 { CompositingReasonLayerForPerspective, 112 { CompositingReasonLayerForPerspective,
(...skipping 21 matching lines...) Expand all
140 "layerForClippingMask", 134 "layerForClippingMask",
141 "Secondary layer, for clipping mask" }, 135 "Secondary layer, for clipping mask" },
142 { CompositingReasonInlineTransform, 136 { CompositingReasonInlineTransform,
143 "inlineTransform", 137 "inlineTransform",
144 "Has an inline transform, which causes subsequent layers to assume overl ap" }, 138 "Has an inline transform, which causes subsequent layers to assume overl ap" },
145 }; 139 };
146 140
147 size_t kNumberOfCompositingReasons = WTF_ARRAY_LENGTH(kCompositingReasonStringMa p); 141 size_t kNumberOfCompositingReasons = WTF_ARRAY_LENGTH(kCompositingReasonStringMa p);
148 142
149 } // namespace blink 143 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/platform/graphics/CompositingReasons.h ('k') | sky/engine/platform/graphics/GraphicsLayer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698