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

Unified Diff: Source/core/animation/AnimationPlayer.h

Issue 651103002: Web Animations: Compositor start notification should only apply to animations in a matching group (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. Created 6 years 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/animation/Animation.cpp ('k') | Source/core/animation/AnimationPlayer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/AnimationPlayer.h
diff --git a/Source/core/animation/AnimationPlayer.h b/Source/core/animation/AnimationPlayer.h
index a6475aecb84ca47036f66a3231b3ca9376349e0b..35c33c36ccbd7451211df8e092319197bf8e97dc 100644
--- a/Source/core/animation/AnimationPlayer.h
+++ b/Source/core/animation/AnimationPlayer.h
@@ -143,10 +143,11 @@ public:
void notifyStartTime(double timelineTime);
- void preCommit(bool startOnCompositor);
+ void preCommit(int compositorGroup, bool startOnCompositor);
void postCommit(double timelineTime);
unsigned sequenceNumber() const { return m_sequenceNumber; }
+ int compositorGroup() const { return m_compositorGroup; }
static bool hasLowerPriority(AnimationPlayer* player1, AnimationPlayer* player2)
{
@@ -247,6 +248,8 @@ private:
// modifications are pushed to the compositor.
OwnPtr<CompositorState> m_compositorState;
bool m_compositorPending;
+ int m_compositorGroup;
+
bool m_currentTimePending;
};
« no previous file with comments | « Source/core/animation/Animation.cpp ('k') | Source/core/animation/AnimationPlayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698