summaryrefslogtreecommitdiffstats
path: root/cc/layers/layer_utils.h
Commit message (Collapse)AuthorAgeFilesLines
* cc: Remove readability/inheritance exception for linter in cc.danakj2014-11-141-11/+11
| | | | | | | | | | | And make cc/ all linter clean. R=enne BUG=422353 Review URL: https://codereview.chromium.org/720323002 Cr-Commit-Position: refs/heads/master@{#304136}
* Compute accurate screen space bounds for animated layers.avallee@chromium.org2014-01-241-0/+29
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