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

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

Issue 202533003: Don't schedule an animation during compositing dirty-bit setting unless needed. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Cleanup. Created 6 years, 9 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/RenderLayerCompositor.h
diff --git a/Source/core/rendering/compositing/RenderLayerCompositor.h b/Source/core/rendering/compositing/RenderLayerCompositor.h
index 00cfd63742939aa73617181c57be9840e8aa9e48..1973235c18aefb92a7b5b1b586dc96ab0ab8ce3d 100644
--- a/Source/core/rendering/compositing/RenderLayerCompositor.h
+++ b/Source/core/rendering/compositing/RenderLayerCompositor.h
@@ -199,6 +199,8 @@ public:
virtual String debugName(const GraphicsLayer*) OVERRIDE;
+ void scheduleAnimationIfNeeded();
+
private:
class OverlapMap;
@@ -233,6 +235,8 @@ private:
RenderLayer* clippingAncestorForMostRecentMapping;
};
+ bool hasUnresolvedDirtyBits();
+
bool canSquashIntoCurrentSquashingOwner(const RenderLayer* candidate, const SquashingState&, const RenderLayer* clippingAncestor);
CompositingStateTransitionType computeCompositedLayerUpdate(RenderLayer*);

Powered by Google App Engine
This is Rietveld 408576698