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

Unified Diff: Source/platform/graphics/CompositingReasons.h

Issue 1060973003: compositor-worker: Force elements to grow a layer when a CompositorProxy is created. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: tot-merge Created 5 years, 8 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/style/StyleRareNonInheritedData.cpp ('k') | Source/platform/graphics/CompositingReasons.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/CompositingReasons.h
diff --git a/Source/platform/graphics/CompositingReasons.h b/Source/platform/graphics/CompositingReasons.h
index 5c3f540bff7d0b6a5c27b8704d510852e6c46592..11ce8fe29c1c94d98c2a32dbcf3e8cb0f804bace 100644
--- a/Source/platform/graphics/CompositingReasons.h
+++ b/Source/platform/graphics/CompositingReasons.h
@@ -88,6 +88,8 @@ const uint64_t CompositingReasonLayerForScrollingBlockSelection = UINT6
// we can update their transforms quickly.
const uint64_t CompositingReasonInlineTransform = UINT64_C(1) << 59;
+const uint64_t CompositingReasonCompositorProxy = UINT64_C(1) << 60;
+
// Various combinations of compositing reasons are defined here also, for more intutive and faster bitwise logic.
const uint64_t CompositingReasonComboAllDirectReasons =
CompositingReason3DTransform
@@ -104,7 +106,8 @@ const uint64_t CompositingReasonComboAllDirectReasons =
| CompositingReasonOutOfFlowClipping
| CompositingReasonVideoOverlay
| CompositingReasonWillChangeCompositingHint
- | CompositingReasonScrollBlocksOn;
+ | CompositingReasonScrollBlocksOn
+ | CompositingReasonCompositorProxy;
const uint64_t CompositingReasonComboAllDirectStyleDeterminedReasons =
CompositingReason3DTransform
@@ -112,7 +115,8 @@ const uint64_t CompositingReasonComboAllDirectStyleDeterminedReasons =
| CompositingReasonActiveAnimation
| CompositingReasonTransitionProperty
| CompositingReasonWillChangeCompositingHint
- | CompositingReasonScrollBlocksOn;
+ | CompositingReasonScrollBlocksOn
+ | CompositingReasonCompositorProxy;
const uint64_t CompositingReasonComboCompositedDescendants =
CompositingReasonTransformWithCompositedDescendants
« no previous file with comments | « Source/core/style/StyleRareNonInheritedData.cpp ('k') | Source/platform/graphics/CompositingReasons.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698