diff options
author | vollick@chromium.org <vollick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-24 14:44:19 +0000 |
---|---|---|
committer | vollick@chromium.org <vollick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-24 14:44:19 +0000 |
commit | b4db93705d370c3e7d7964c114a6ac51bea635f0 (patch) | |
tree | d9d6509e212e5c97278225588984f396704545be /ui/gfx/compositor/compositor.gyp | |
parent | 3c521f7ca5d09cba6153967e61e6327df0204b02 (diff) | |
download | chromium_src-b4db93705d370c3e7d7964c114a6ac51bea635f0.zip chromium_src-b4db93705d370c3e7d7964c114a6ac51bea635f0.tar.gz chromium_src-b4db93705d370c3e7d7964c114a6ac51bea635f0.tar.bz2 |
Explicit animation support
High level description:
- LayerPropertySetter is now LayerAnimator since it manages implicit/explicit animations and the animation queue.
- LayerAnimationElement represents an animation curve.
- LayerAnimationSequence owns a collection of elements.
- The animator works as follows:
o Has a queue of sequences and a collection of running sequences.
o It knows the start time of each running sequence.
o While there are running sequences, LayerAnimator::Step(base::TimeTicks now) is called periodically, and each of the running sequences are updated.
BUG=None
TEST=compositor_unittests, base_unittests
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=106768
Review URL: http://codereview.chromium.org/8247009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106915 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gfx/compositor/compositor.gyp')
-rw-r--r-- | ui/gfx/compositor/compositor.gyp | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/ui/gfx/compositor/compositor.gyp b/ui/gfx/compositor/compositor.gyp index 0b88f32..02368cf 100644 --- a/ui/gfx/compositor/compositor.gyp +++ b/ui/gfx/compositor/compositor.gyp @@ -47,9 +47,15 @@ 'compositor_win.cc', 'layer.cc', 'layer.h', + 'layer_animation_delegate.h', + 'layer_animation_element.cc', + 'layer_animation_element.h', + 'layer_animation_manager.cc', + 'layer_animation_manager.h', + 'layer_animation_sequence.cc', + 'layer_animation_sequence.h', 'layer_animator.cc', 'layer_animator.h', - 'layer_animator_delegate.h', ], 'conditions': [ ['os_posix == 1 and OS != "mac"', { @@ -131,6 +137,9 @@ 'compositor_test_support', ], 'sources': [ + 'layer_animation_element_unittest.cc', + 'layer_animation_sequence_unittest.cc', + 'layer_animator_unittest.cc', 'layer_unittest.cc', 'run_all_unittests.cc', 'test_compositor.cc', @@ -138,10 +147,14 @@ 'test_compositor_host.h', 'test_compositor_host_linux.cc', 'test_compositor_host_win.cc', + 'test_layer_animation_delegate.cc', + 'test_layer_animation_delegate.h', 'test_suite.cc', 'test_suite.h', 'test_texture.cc', 'test_texture.h', + 'test_utils.cc', + 'test_utils.h', '<(SHARED_INTERMEDIATE_DIR)/ui/gfx/gfx_resources.rc', '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources.rc', ], |