Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(546)

Issue 1076313006: Animation start scale should be considered for the raster scale (Closed)

Created:
5 years, 8 months ago by patro
Modified:
5 years, 7 months ago
Reviewers:
danakj, ajuma
CC:
chromium-reviews, Ian Vollick, sievers+watch_chromium.org, jbauman+watch_chromium.org, kalyank, piman+watch_chromium.org, cc-bugs_chromium.org, danakj+watch_chromium.org, vivekg_samsung
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Animation start scale should be considered for the raster scale In zoom-in scenarios the start animation should be taken in to account to calculate raster scale else the first animation frame is rastered at a low raster scale which leads to blurred content. Added starting_animation_contents_scale to cc::DrawProperties BUG=422341 Committed: https://crrev.com/f0ebecee83117f2bf62b4124491910c4654491d0 Cr-Commit-Position: refs/heads/master@{#328258}

Patch Set 1 #

Total comments: 12

Patch Set 2 : Addressing comments #

Total comments: 2

Patch Set 3 : Rebasing and Added more tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+475 lines, -198 lines) Patch
M cc/animation/animation_curve.h View 1 chunk +4 lines, -0 lines 0 comments Download
M cc/animation/keyframed_animation_curve.h View 1 chunk +2 lines, -0 lines 0 comments Download
M cc/animation/keyframed_animation_curve.cc View 1 1 chunk +20 lines, -0 lines 0 comments Download
M cc/animation/keyframed_animation_curve_unittest.cc View 1 1 chunk +47 lines, -0 lines 0 comments Download
M cc/animation/layer_animation_controller.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M cc/animation/layer_animation_controller.cc View 1 chunk +30 lines, -0 lines 0 comments Download
M cc/animation/layer_animation_controller_unittest.cc View 1 2 1 chunk +64 lines, -0 lines 0 comments Download
M cc/layers/draw_properties.h View 1 2 chunks +5 lines, -0 lines 0 comments Download
M cc/layers/picture_layer_impl.cc View 1 2 2 chunks +16 lines, -6 lines 0 comments Download
M cc/layers/picture_layer_impl_unittest.cc View 1 2 75 chunks +221 lines, -176 lines 0 comments Download
M cc/test/animation_test_common.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M cc/test/animation_test_common.cc View 1 1 chunk +6 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_common.cc View 1 2 11 chunks +37 lines, -16 lines 0 comments Download
M ui/compositor/transform_animation_curve_adapter.h View 2 chunks +4 lines, -0 lines 0 comments Download
M ui/compositor/transform_animation_curve_adapter.cc View 2 chunks +12 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
patro
Kindly Review Thanks Shyam Patro
5 years, 8 months ago (2015-04-23 17:56:43 UTC) #2
danakj
+ajuma Needs unit tests. https://codereview.chromium.org/1076313006/diff/1/cc/animation/layer_animation_controller.h File cc/animation/layer_animation_controller.h (right): https://codereview.chromium.org/1076313006/diff/1/cc/animation/layer_animation_controller.h#newcode137 cc/animation/layer_animation_controller.h:137: // Animation start scale better ...
5 years, 8 months ago (2015-04-23 18:24:08 UTC) #4
ajuma
https://codereview.chromium.org/1076313006/diff/1/cc/animation/keyframed_animation_curve.cc File cc/animation/keyframed_animation_curve.cc (right): https://codereview.chromium.org/1076313006/diff/1/cc/animation/keyframed_animation_curve.cc#newcode392 cc/animation/keyframed_animation_curve.cc:392: gfx::Vector3dF target_scale_for_segment; start_scale_for_segment? https://codereview.chromium.org/1076313006/diff/1/cc/layers/picture_layer_impl.cc File cc/layers/picture_layer_impl.cc (right): https://codereview.chromium.org/1076313006/diff/1/cc/layers/picture_layer_impl.cc#newcode1002 cc/layers/picture_layer_impl.cc:1002: ...
5 years, 8 months ago (2015-04-23 19:17:01 UTC) #5
patro
https://codereview.chromium.org/1076313006/diff/1/cc/animation/keyframed_animation_curve.cc File cc/animation/keyframed_animation_curve.cc (right): https://codereview.chromium.org/1076313006/diff/1/cc/animation/keyframed_animation_curve.cc#newcode392 cc/animation/keyframed_animation_curve.cc:392: gfx::Vector3dF target_scale_for_segment; On 2015/04/23 19:17:01, ajuma wrote: > start_scale_for_segment? ...
5 years, 8 months ago (2015-04-24 11:47:27 UTC) #6
ajuma
Thanks for adding tests. Please also add a test for the logic that was added ...
5 years, 8 months ago (2015-04-24 13:24:02 UTC) #7
patro
Addressed comments and added new test case Kindly Review Thanks Shyam https://codereview.chromium.org/1076313006/diff/20001/cc/animation/layer_animation_controller_unittest.cc File cc/animation/layer_animation_controller_unittest.cc (right): ...
5 years, 7 months ago (2015-05-04 12:44:06 UTC) #8
ajuma
Thanks, lgtm.
5 years, 7 months ago (2015-05-04 13:37:59 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1076313006/40001
5 years, 7 months ago (2015-05-05 01:37:45 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 7 months ago (2015-05-05 02:52:21 UTC) #12
commit-bot: I haz the power
5 years, 7 months ago (2015-05-05 02:53:17 UTC) #13
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/f0ebecee83117f2bf62b4124491910c4654491d0
Cr-Commit-Position: refs/heads/master@{#328258}

Powered by Google App Engine
This is Rietveld 408576698