Index: Source/core/rendering/compositing/CompositingLayerAssigner.h |
diff --git a/Source/core/rendering/compositing/CompositingLayerAssigner.h b/Source/core/rendering/compositing/CompositingLayerAssigner.h |
index f55e188e6330e915634c303d81030dca8353b2e4..ba255d2fd925a04a52005d7c17e03831343e03c2 100644 |
--- a/Source/core/rendering/compositing/CompositingLayerAssigner.h |
+++ b/Source/core/rendering/compositing/CompositingLayerAssigner.h |
@@ -40,7 +40,7 @@ public: |
explicit CompositingLayerAssigner(RenderLayerCompositor*); |
~CompositingLayerAssigner(); |
- void assign(RenderLayer* updateRoot, bool& layersChanged); |
+ void assign(RenderLayer* updateRoot, bool& layersChanged, Vector<RenderLayer*>& layersNeedingRepaint); |
// FIXME: This function should be private. We should remove the one caller |
// once we've fixed the compositing chicken/egg issues. |
@@ -77,13 +77,15 @@ private: |
uint64_t totalAreaOfSquashedRects; |
}; |
- void assignLayersToBackingsInternal(RenderLayer*, SquashingState&, bool& layersChanged); |
- void assignLayersToBackingsForReflectionLayer(RenderLayer* reflectionLayer, bool& layersChanged); |
+ void assignLayersToBackingsInternal(RenderLayer*, SquashingState&, bool& layersChanged, Vector<RenderLayer*>& layersNeedingRepaint); |
+ void assignLayersToBackingsForReflectionLayer(RenderLayer* reflectionLayer, bool& layersChanged, Vector<RenderLayer*>& layersNeedingRepaint); |
bool canSquashIntoCurrentSquashingOwner(const RenderLayer*, const SquashingState&); |
bool squashingWouldExceedSparsityTolerance(const RenderLayer* candidate, const SquashingState&); |
- bool updateSquashingAssignment(RenderLayer*, SquashingState&, CompositingStateTransitionType); |
+ bool updateSquashingAssignment(RenderLayer*, SquashingState&, CompositingStateTransitionType, Vector<RenderLayer*>& layersNeedingRepaint); |
bool needsOwnBacking(const RenderLayer*) const; |
+ Vector<RenderLayer*> m_layersNeedingRepaint; |
Ian Vollick
2014/06/04 04:40:35
(Note: we've chatted about removing this offline;
chrishtr
2014/06/04 16:35:55
Done.
|
+ |
RenderLayerCompositor* m_compositor; |
bool m_layerSquashingEnabled; |
}; |