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

Side by Side Diff: third_party/WebKit/Source/platform/graphics/paint/TransformPaintPropertyNode.h

Issue 2652273004: Paint invisible layer content in presence of composited animations. (Closed)
Patch Set: Created 3 years, 10 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 TransformPaintPropertyNode_h 5 #ifndef TransformPaintPropertyNode_h
6 #define TransformPaintPropertyNode_h 6 #define TransformPaintPropertyNode_h
7 7
8 #include "platform/PlatformExport.h" 8 #include "platform/PlatformExport.h"
9 #include "platform/geometry/FloatPoint3D.h" 9 #include "platform/geometry/FloatPoint3D.h"
10 #include "platform/graphics/CompositingReasons.h" 10 #include "platform/graphics/CompositingReasons.h"
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 // the plane of its parent. This is implemented by flattening the total 75 // the plane of its parent. This is implemented by flattening the total
76 // accumulated transform from its ancestors. 76 // accumulated transform from its ancestors.
77 bool flattensInheritedTransform() const { 77 bool flattensInheritedTransform() const {
78 return m_flattensInheritedTransform; 78 return m_flattensInheritedTransform;
79 } 79 }
80 80
81 bool hasDirectCompositingReasons() const { 81 bool hasDirectCompositingReasons() const {
82 return m_directCompositingReasons != CompositingReasonNone; 82 return m_directCompositingReasons != CompositingReasonNone;
83 } 83 }
84 84
85 CompositingReasons compositingReasons() const {
86 return m_directCompositingReasons;
87 }
88
85 const CompositorElementId& compositorElementId() const { 89 const CompositorElementId& compositorElementId() const {
86 return m_compositorElementId; 90 return m_compositorElementId;
87 } 91 }
88 92
89 // Content whose transform nodes have a common rendering context ID are 3D 93 // Content whose transform nodes have a common rendering context ID are 3D
90 // sorted. If this is 0, content will not be 3D sorted. 94 // sorted. If this is 0, content will not be 3D sorted.
91 unsigned renderingContextId() const { return m_renderingContextId; } 95 unsigned renderingContextId() const { return m_renderingContextId; }
92 bool hasRenderingContext() const { return m_renderingContextId; } 96 bool hasRenderingContext() const { return m_renderingContextId; }
93 97
94 #if DCHECK_IS_ON() 98 #if DCHECK_IS_ON()
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 CompositorElementId m_compositorElementId; 147 CompositorElementId m_compositorElementId;
144 }; 148 };
145 149
146 // Redeclared here to avoid ODR issues. 150 // Redeclared here to avoid ODR issues.
147 // See platform/testing/PaintPrinters.h. 151 // See platform/testing/PaintPrinters.h.
148 void PrintTo(const TransformPaintPropertyNode&, std::ostream*); 152 void PrintTo(const TransformPaintPropertyNode&, std::ostream*);
149 153
150 } // namespace blink 154 } // namespace blink
151 155
152 #endif // TransformPaintPropertyNode_h 156 #endif // TransformPaintPropertyNode_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698