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

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: Add null check. 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
« no previous file with comments | « Source/core/page/PageAnimator.cpp ('k') | Source/core/rendering/compositing/RenderLayerCompositor.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/compositing/RenderLayerCompositor.h
diff --git a/Source/core/rendering/compositing/RenderLayerCompositor.h b/Source/core/rendering/compositing/RenderLayerCompositor.h
index e04c4b203d1649036d1a94ca17b62759b5c23443..a8b8a1fc04b7fa0c16654a6c441c26b3d0dc6cbf 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*);
« no previous file with comments | « Source/core/page/PageAnimator.cpp ('k') | Source/core/rendering/compositing/RenderLayerCompositor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698