summaryrefslogtreecommitdiffstats
path: root/cc/cc.gyp
diff options
context:
space:
mode:
authoravallee@chromium.org <avallee@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-24 01:33:11 +0000
committeravallee@chromium.org <avallee@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-24 01:33:11 +0000
commit3d86dd7a4ebd896a46f4c07cd7a2fbb6df726217 (patch)
tree54751d98283fefa47e68978a6a0218e1966b53b5 /cc/cc.gyp
parent938023f551e85235e39ec7a9ebbb4cd94764d9f0 (diff)
downloadchromium_src-3d86dd7a4ebd896a46f4c07cd7a2fbb6df726217.zip
chromium_src-3d86dd7a4ebd896a46f4c07cd7a2fbb6df726217.tar.gz
chromium_src-3d86dd7a4ebd896a46f4c07cd7a2fbb6df726217.tar.bz2
Compute accurate screen space bounds for animated layers.
This walks up the layer tree transforming a layer's bounds as a box through the different layer transforms and uses the LayerAnimationController::AnimationBoundsForBox to transform the box at layers which are animated. Expansion of the box is included for filters which change the bounds, however, the LayerAnimationController implementation is currently stubbed. + Added computation of animation bounds of layers in the screen space. - Removed invalid assertion in LayerAnimationControllerTest.AnimatedBounds. ~ Renamed methods to use the uniform naming AnimationBounds. ~ Extracted LTHC::ApplySublayerTransformAboutAnchor from LTHC::CalculateDrawPropertiesInternal. ~ Fixed LayerImpl::AsValueInto to correctly calculate bounds. ! Did not substitute implementation of ApplySublayerTransformAboutAnchor inside CalculateDrawPropertiesInternal due to performance regression. BUG=280375 Review URL: https://codereview.chromium.org/109193002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246767 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/cc.gyp')
-rw-r--r--cc/cc.gyp2
1 files changed, 2 insertions, 0 deletions
diff --git a/cc/cc.gyp b/cc/cc.gyp
index f23fab5..759453d 100644
--- a/cc/cc.gyp
+++ b/cc/cc.gyp
@@ -166,6 +166,8 @@
'layers/layer_lists.h',
'layers/layer_position_constraint.cc',
'layers/layer_position_constraint.h',
+ 'layers/layer_utils.cc',
+ 'layers/layer_utils.h',
'layers/nine_patch_layer.cc',
'layers/nine_patch_layer.h',
'layers/nine_patch_layer_impl.cc',