Index: Source/core/rendering/compositing/CompositedLayerMapping.h |
diff --git a/Source/core/rendering/compositing/CompositedLayerMapping.h b/Source/core/rendering/compositing/CompositedLayerMapping.h |
index 0465672f7edc1b616a1a0715216425e4fabc444f..3653531bae6986daf3ca86fb8bb5656732934676 100644 |
--- a/Source/core/rendering/compositing/CompositedLayerMapping.h |
+++ b/Source/core/rendering/compositing/CompositedLayerMapping.h |
@@ -27,6 +27,7 @@ |
#define CompositedLayerMapping_h |
#include "core/rendering/RenderLayer.h" |
+#include "core/rendering/compositing/GraphicsLayerUpdater.h" |
#include "platform/geometry/FloatPoint.h" |
#include "platform/geometry/FloatPoint3D.h" |
#include "platform/graphics/GraphicsLayer.h" |
@@ -94,7 +95,7 @@ public: |
// Returns true if layer configuration changed. |
bool updateGraphicsLayerConfiguration(); |
// Update graphics layer position and bounds. |
- void updateGraphicsLayerGeometry(); // make private |
+ GraphicsLayerUpdater::UpdateType updateGraphicsLayerGeometry(GraphicsLayerUpdater::UpdateType); |
// Update whether layer needs blending. |
void updateContentsOpaque(); |
@@ -194,6 +195,9 @@ public: |
void setBlendMode(blink::WebBlendMode); |
+ void setNeedsGeometryUpdate(); |
+ void willUpdateGeometryOfAllDecendants(); |
+ |
virtual String debugName(const GraphicsLayer*) OVERRIDE; |
LayoutSize subpixelAccumulation() const { return m_subpixelAccumulation; } |
@@ -349,12 +353,14 @@ private: |
LayoutRect m_compositedBounds; |
LayoutSize m_subpixelAccumulation; // The accumulated subpixel offset of the compositedBounds compared to absolute coordinates. |
- bool m_artificiallyInflatedBounds; // bounds had to be made non-zero to make transform-origin work |
- bool m_isMainFrameRenderViewLayer; |
- bool m_requiresOwnBackingStoreForIntrinsicReasons; |
- bool m_requiresOwnBackingStoreForAncestorReasons; |
- bool m_canCompositeFilters; |
- bool m_backgroundLayerPaintsFixedRootBackground; |
+ unsigned m_artificiallyInflatedBounds : 1; // bounds had to be made non-zero to make transform-origin work |
+ unsigned m_isMainFrameRenderViewLayer : 1; |
+ unsigned m_requiresOwnBackingStoreForIntrinsicReasons : 1; |
+ unsigned m_requiresOwnBackingStoreForAncestorReasons : 1; |
+ unsigned m_canCompositeFilters : 1; |
+ unsigned m_backgroundLayerPaintsFixedRootBackground : 1; |
+ unsigned m_needToUpdateGeometry : 1; |
+ unsigned m_needToUpdateGeometryOfAllDecendants : 1; |
}; |
} // namespace WebCore |