diff options
author | ajuma@chromium.org <ajuma@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-09 17:49:22 +0000 |
---|---|---|
committer | ajuma@chromium.org <ajuma@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-09 17:49:22 +0000 |
commit | 1c3626ee7aa7f098e70aef46c2a14b8a68e2251b (patch) | |
tree | ffa3b15e62e3c1fe6bfa98a726b4ff969f40e1b3 /cc/test/animation_test_common.h | |
parent | 44d54065597d940f02c27b6ca8ccbfc39e837b66 (diff) | |
download | chromium_src-1c3626ee7aa7f098e70aef46c2a14b8a68e2251b.zip chromium_src-1c3626ee7aa7f098e70aef46c2a14b8a68e2251b.tar.gz chromium_src-1c3626ee7aa7f098e70aef46c2a14b8a68e2251b.tar.bz2 |
Rasterize at maximum scale for scale animations on CPU-rasterized layers
This re-rasterizes CPU-rasterized layers animating scale at the
maximum scale that will be applied during the animation, if this
maximum scale can be computed.
BUG=224913
Review URL: https://codereview.chromium.org/226283004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262737 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/animation_test_common.h')
-rw-r--r-- | cc/test/animation_test_common.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cc/test/animation_test_common.h b/cc/test/animation_test_common.h index 92da0e4..eb030df 100644 --- a/cc/test/animation_test_common.h +++ b/cc/test/animation_test_common.h @@ -156,6 +156,11 @@ int AddAnimatedTransformToLayer(LayerImpl* layer, int delta_x, int delta_y); +int AddAnimatedTransformToLayer(Layer* layer, + double duration, + TransformOperations start_operations, + TransformOperations operations); + int AddAnimatedTransformToLayer(LayerImpl* layer, double duration, TransformOperations start_operations, |