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

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

Issue 715873005: Fix typo-breakage (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef CompositingReasons_h 5 #ifndef CompositingReasons_h
6 #define CompositingReasons_h 6 #define CompositingReasons_h
7 7
8 #include "platform/PlatformExport.h" 8 #include "platform/PlatformExport.h"
9 #include "wtf/MathExtras.h" 9 #include "wtf/MathExtras.h"
10 #include <stdint.h> 10 #include <stdint.h>
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 44
45 // Subtree reasons that require knowing what the status of your subtree is befor e knowing the answer 45 // Subtree reasons that require knowing what the status of your subtree is befor e knowing the answer
46 const uint64_t CompositingReasonTransformWithCompositedDescendants = UINT6 4_C(1) << 28; 46 const uint64_t CompositingReasonTransformWithCompositedDescendants = UINT6 4_C(1) << 28;
47 const uint64_t CompositingReasonOpacityWithCompositedDescendants = UINT6 4_C(1) << 29; 47 const uint64_t CompositingReasonOpacityWithCompositedDescendants = UINT6 4_C(1) << 29;
48 const uint64_t CompositingReasonMaskWithCompositedDescendants = UINT6 4_C(1) << 30; 48 const uint64_t CompositingReasonMaskWithCompositedDescendants = UINT6 4_C(1) << 30;
49 const uint64_t CompositingReasonFilterWithCompositedDescendants = UINT6 4_C(1) << 32; 49 const uint64_t CompositingReasonFilterWithCompositedDescendants = UINT6 4_C(1) << 32;
50 const uint64_t CompositingReasonBlendingWithCompositedDescendants = UINT6 4_C(1) << 33; 50 const uint64_t CompositingReasonBlendingWithCompositedDescendants = UINT6 4_C(1) << 33;
51 const uint64_t CompositingReasonClipsCompositingDescendants = UINT6 4_C(1) << 34; 51 const uint64_t CompositingReasonClipsCompositingDescendants = UINT6 4_C(1) << 34;
52 const uint64_t CompositingReasonPerspectiveWith3DDescendants = UINT6 4_C(1) << 35; 52 const uint64_t CompositingReasonPerspectiveWith3DDescendants = UINT6 4_C(1) << 35;
53 const uint64_t CompositingReasonPreserve3DWith3DDescendants = UINT6 4_C(1) << 36; 53 const uint64_t CompositingReasonPreserve3DWith3DDescendants = UINT6 4_C(1) << 36;
54 const uint64_t CompositingReasoWnIsolateCompositedDescendants = UINT 64_C(1) << 38; 54 const uint64_t CompositingReasonIsolateCompositedDescendants = UINT6 4_C(1) << 38;
55 55
56 // The root layer is a special case that may be forced to be a layer, but also i t needs to be 56 // The root layer is a special case that may be forced to be a layer, but also i t needs to be
57 // a layer if anything else in the subtree is composited. 57 // a layer if anything else in the subtree is composited.
58 const uint64_t CompositingReasonRoot = UINT6 4_C(1) << 39; 58 const uint64_t CompositingReasonRoot = UINT6 4_C(1) << 39;
59 59
60 // CompositedLayerMapping internal hierarchy reasons 60 // CompositedLayerMapping internal hierarchy reasons
61 const uint64_t CompositingReasonLayerForAncestorClip = UINT6 4_C(1) << 40; 61 const uint64_t CompositingReasonLayerForAncestorClip = UINT6 4_C(1) << 40;
62 const uint64_t CompositingReasonLayerForDescendantClip = UINT6 4_C(1) << 41; 62 const uint64_t CompositingReasonLayerForDescendantClip = UINT6 4_C(1) << 41;
63 const uint64_t CompositingReasonLayerForPerspective = UINT6 4_C(1) << 42; 63 const uint64_t CompositingReasonLayerForPerspective = UINT6 4_C(1) << 42;
64 // FIXME(sky): 43 is unused. 64 // FIXME(sky): 43 is unused.
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 const char* shortName; 162 const char* shortName;
163 const char* description; 163 const char* description;
164 }; 164 };
165 165
166 PLATFORM_EXPORT extern const CompositingReasonStringMap kCompositingReasonString Map[]; 166 PLATFORM_EXPORT extern const CompositingReasonStringMap kCompositingReasonString Map[];
167 PLATFORM_EXPORT extern size_t kNumberOfCompositingReasons; 167 PLATFORM_EXPORT extern size_t kNumberOfCompositingReasons;
168 168
169 } // namespace blink 169 } // namespace blink
170 170
171 #endif // CompositingReasons_h 171 #endif // CompositingReasons_h
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698