cros: Use transform animation for Launcher state transition.
Currently Launcher state transition animation is using layer animation element of BoundsElement, which will SetBoundsFromAnimation on each OnProgress. This will generate additional overhead with a whole commit every frame. This cl converts it to use ThreadedTransformTransition, which will let compositor optimize and accelerate the animation. Bug:786209 Test:On Cyan and EVE Average Smoothness Improved: Cyan: 1x slow-down-compositing-scale-factor: 88% -> 100% 10x slow-down-compositing-scale-factor: 63% -> 73% 1x slow-down-compositing-scale-factor: 93% -> 99% 5x slow-down-compositing-scale-factor: 46% -> 59% EVE: Change-Id: I960421d89762ff7fcb7c4e230d98137cd3e61170 Reviewed-on: https://chromium-review.googlesource.com/776195 Commit-Queue: Tao Wu <wutao@chromium.org> Reviewed-by:Xiyuan Xia <xiyuan@chromium.org> Cr-Commit-Position: refs/heads/master@{#517525}
Showing
Please register or sign in to comment