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

Unified Diff: Source/core/rendering/compositing/CompositingLayerAssigner.h

Issue 311813005: Issue repaints for RenderLayers that get new composited backings after (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Merged. Created 6 years, 6 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
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..0cfb1112fdc6e73fce5eead742a6a1f79ff65a90 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);
abarth-chromium 2014/06/06 03:22:21 You can also store this sort of variable on the Co
// FIXME: This function should be private. We should remove the one caller
// once we've fixed the compositing chicken/egg issues.
@@ -77,11 +77,11 @@ 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;
RenderLayerCompositor* m_compositor;

Powered by Google App Engine
This is Rietveld 408576698