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

Unified Diff: cc/animation/animation_host.h

Issue 2261113002: CC Animation: Introduce some dirty flags to optimize PushProperties on commit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Do not change SetNeedsCommit invalidation, leave it as-is. Created 4 years, 3 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 | « no previous file | cc/animation/animation_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/animation/animation_host.h
diff --git a/cc/animation/animation_host.h b/cc/animation/animation_host.h
index a4913a9054d738c0621244beeefd929469233220..1a877d96830d8b3982570effa96df9c0eb4d4ce2 100644
--- a/cc/animation/animation_host.h
+++ b/cc/animation/animation_host.h
@@ -80,7 +80,8 @@ class CC_EXPORT AnimationHost {
void SetMutatorHostClient(MutatorHostClient* client);
void SetNeedsCommit();
- void SetNeedsRebuildPropertyTrees();
+ void SetNeedsPushProperties();
+ bool needs_push_properties() const { return needs_push_properties_; }
void PushPropertiesTo(AnimationHost* host_impl);
@@ -172,11 +173,6 @@ class CC_EXPORT AnimationHost {
const ElementToAnimationsMap& active_element_animations_for_testing() const;
const ElementToAnimationsMap& all_element_animations_for_testing() const;
- bool animation_waiting_for_deletion() const {
- return animation_waiting_for_deletion_;
- }
- void OnAnimationWaitingForDeletion();
-
private:
explicit AnimationHost(ThreadInstance thread_instance);
@@ -202,7 +198,7 @@ class CC_EXPORT AnimationHost {
const ThreadInstance thread_instance_;
bool supports_scroll_animations_;
- bool animation_waiting_for_deletion_;
+ bool needs_push_properties_;
DISALLOW_COPY_AND_ASSIGN(AnimationHost);
};
« no previous file with comments | « no previous file | cc/animation/animation_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698