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

Unified Diff: Source/core/rendering/RenderLayer.h

Issue 14651028: Promote RenderLayers that have a transition on opacity, transform, or filter (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/page/Settings.in ('k') | Source/core/rendering/RenderLayerCompositor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderLayer.h
diff --git a/Source/core/rendering/RenderLayer.h b/Source/core/rendering/RenderLayer.h
index f1ab5429df4b19c8c4d54e5d53024486c50f8fbe..bc9f93ee1e06906b94eecea0bff29faf3c0d0b6c 100644
--- a/Source/core/rendering/RenderLayer.h
+++ b/Source/core/rendering/RenderLayer.h
@@ -91,32 +91,33 @@ enum {
CompositingReasonIFrame = 1 << 4,
CompositingReasonBackfaceVisibilityHidden = 1 << 5,
CompositingReasonAnimation = 1 << 6,
- CompositingReasonFilters = 1 << 7,
- CompositingReasonPositionFixed = 1 << 8,
- CompositingReasonPositionSticky = 1 << 9,
- CompositingReasonOverflowScrollingTouch = 1 << 10,
- CompositingReasonBlending = 1 << 11,
+ CompositingReasonTransition = 1 << 7,
+ CompositingReasonFilters = 1 << 8,
+ CompositingReasonPositionFixed = 1 << 9,
+ CompositingReasonPositionSticky = 1 << 10,
+ CompositingReasonOverflowScrollingTouch = 1 << 11,
+ CompositingReasonBlending = 1 << 12,
// Overlap reasons that require knowing what's behind you in paint-order before knowing the answer
- CompositingReasonAssumedOverlap = 1 << 12,
- CompositingReasonOverlap = 1 << 13,
- CompositingReasonNegativeZIndexChildren = 1 << 14,
+ CompositingReasonAssumedOverlap = 1 << 13,
+ CompositingReasonOverlap = 1 << 14,
+ CompositingReasonNegativeZIndexChildren = 1 << 15,
// Subtree reasons that require knowing what the status of your subtree is before knowing the answer
- CompositingReasonTransformWithCompositedDescendants = 1 << 15,
- CompositingReasonOpacityWithCompositedDescendants = 1 << 16,
- CompositingReasonMaskWithCompositedDescendants = 1 << 17,
- CompositingReasonReflectionWithCompositedDescendants = 1 << 18,
- CompositingReasonFilterWithCompositedDescendants = 1 << 19,
- CompositingReasonBlendingWithCompositedDescendants = 1 << 20,
- CompositingReasonClipsCompositingDescendants = 1 << 21,
- CompositingReasonPerspective = 1 << 22,
- CompositingReasonPreserve3D = 1 << 23,
- CompositingReasonReflectionOfCompositedParent = 1 << 24,
+ CompositingReasonTransformWithCompositedDescendants = 1 << 16,
+ CompositingReasonOpacityWithCompositedDescendants = 1 << 17,
+ CompositingReasonMaskWithCompositedDescendants = 1 << 18,
+ CompositingReasonReflectionWithCompositedDescendants = 1 << 19,
+ CompositingReasonFilterWithCompositedDescendants = 1 << 20,
+ CompositingReasonBlendingWithCompositedDescendants = 1 << 21,
+ CompositingReasonClipsCompositingDescendants = 1 << 22,
+ CompositingReasonPerspective = 1 << 23,
+ CompositingReasonPreserve3D = 1 << 24,
+ CompositingReasonReflectionOfCompositedParent = 1 << 25,
// The root layer is a special case that may be forced to be a layer, but also it needs to be
// a layer if anything else in the subtree is composited.
- CompositingReasonRoot = 1 << 25
+ CompositingReasonRoot = 1 << 26
};
typedef unsigned CompositingReasons;
« no previous file with comments | « Source/core/page/Settings.in ('k') | Source/core/rendering/RenderLayerCompositor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698