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

Side by Side Diff: Source/platform/graphics/CompositingReasons.h

Issue 131543013: Update scroll parent correctly for squashing layers. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Now with working LayoutTests (thanks to hartmanng for help with the repaint workaround). Created 6 years, 9 months 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 | Annotate | Revision Log
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 "wtf/MathExtras.h" 8 #include "wtf/MathExtras.h"
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 | CompositingReasonTransformWithCompositedDescendants 97 | CompositingReasonTransformWithCompositedDescendants
98 | CompositingReasonOpacityWithCompositedDescendants 98 | CompositingReasonOpacityWithCompositedDescendants
99 | CompositingReasonMaskWithCompositedDescendants 99 | CompositingReasonMaskWithCompositedDescendants
100 | CompositingReasonFilterWithCompositedDescendants 100 | CompositingReasonFilterWithCompositedDescendants
101 | CompositingReasonBlendingWithCompositedDescendants 101 | CompositingReasonBlendingWithCompositedDescendants
102 | CompositingReasonIsolateCompositedDescendants 102 | CompositingReasonIsolateCompositedDescendants
103 | CompositingReasonPreserve3DWith3DDescendants; // preserve-3d has to create backing store to ensure that 3d-transformed elements intersect. 103 | CompositingReasonPreserve3DWith3DDescendants; // preserve-3d has to create backing store to ensure that 3d-transformed elements intersect.
104 104
105 const uint64_t CompositingReasonComboSquashableReasons = 105 const uint64_t CompositingReasonComboSquashableReasons =
106 CompositingReasonOverlap 106 CompositingReasonOverlap
107 | CompositingReasonAssumedOverlap; 107 | CompositingReasonAssumedOverlap
108 | CompositingReasonOverflowScrollingParent;
108 109
109 typedef uint64_t CompositingReasons; 110 typedef uint64_t CompositingReasons;
110 111
111 struct CompositingReasonStringMap { 112 struct CompositingReasonStringMap {
112 CompositingReasons reason; 113 CompositingReasons reason;
113 const char* shortName; 114 const char* shortName;
114 const char* description; 115 const char* description;
115 }; 116 };
116 117
117 static const CompositingReasonStringMap compositingReasonStringMap[] = { 118 static const CompositingReasonStringMap compositingReasonStringMap[] = {
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 "layerForMask", 255 "layerForMask",
255 "Secondary layer, to contain the mask contents" }, 256 "Secondary layer, to contain the mask contents" },
256 { CompositingReasonLayerForClippingMask, 257 { CompositingReasonLayerForClippingMask,
257 "layerForClippingMask", 258 "layerForClippingMask",
258 "Secondary layer, for clipping mask" } 259 "Secondary layer, for clipping mask" }
259 }; 260 };
260 261
261 } // namespace WebCore 262 } // namespace WebCore
262 263
263 #endif // CompositingReasons_h 264 #endif // CompositingReasons_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698