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

Issue 2971503002: Transform animations should not collapse by default when interpolating (Closed)

Created:
3 years, 5 months ago by Ian Vollick
Modified:
3 years, 5 months ago
Reviewers:
flackr, ajuma
CC:
chromium-reviews, cc-bugs_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Transform animations should not collapse by default when interpolating Previously, keyframed transform animation curves would produce a gfx::Transform for a given time fraction. Some clients, however, would wish to retain the unbaked, interpolated TransformOperations. With this CL, we no longer bake the TransformOperations by default. Clients that wish this behavior can call TransformOperations::Apply themselves. BUG=738644 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2971503002 Cr-Commit-Position: refs/heads/master@{#484144} Committed: https://chromium.googlesource.com/chromium/src/+/699fb5ef02326c0ae298c0f94b04cfd674da0668

Patch Set 1 #

Patch Set 2 : build fixes #

Patch Set 3 : Forgot about the compositor_unittests #

Patch Set 4 : hopefully make win_clang happy #

Patch Set 5 : try again #

Total comments: 9

Patch Set 6 : . #

Patch Set 7 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+392 lines, -222 lines) Patch
M cc/animation/animation_curve.h View 1 2 3 4 5 6 2 chunks +2 lines, -1 line 0 comments Download
M cc/animation/animation_player.cc View 1 2 3 4 5 6 2 chunks +4 lines, -3 lines 0 comments Download
M cc/animation/element_animations.h View 1 2 3 4 5 6 2 chunks +5 lines, -3 lines 0 comments Download
M cc/animation/element_animations.cc View 1 2 3 4 5 6 3 chunks +12 lines, -6 lines 0 comments Download
M cc/animation/keyframed_animation_curve.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M cc/animation/keyframed_animation_curve.cc View 1 2 3 4 5 6 1 chunk +3 lines, -3 lines 0 comments Download
M cc/animation/keyframed_animation_curve_unittest.cc View 1 2 3 4 5 6 2 chunks +5 lines, -3 lines 0 comments Download
M cc/animation/transform_operation.h View 1 chunk +5 lines, -1 line 0 comments Download
M cc/animation/transform_operation.cc View 1 2 3 4 5 3 chunks +119 lines, -89 lines 0 comments Download
M cc/animation/transform_operations.h View 5 chunks +6 lines, -5 lines 0 comments Download
M cc/animation/transform_operations.cc View 7 chunks +31 lines, -17 lines 0 comments Download
M cc/animation/transform_operations_unittest.cc View 1 2 3 4 5 33 chunks +119 lines, -44 lines 0 comments Download
M cc/test/animation_test_common.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/test/animation_test_common.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M cc/test/animation_timelines_test_common.h View 1 chunk +1 line, -0 lines 0 comments Download
M cc/test/geometry_test_utils.h View 1 2 3 4 2 chunks +12 lines, -0 lines 0 comments Download
M cc/test/geometry_test_utils.cc View 1 chunk +17 lines, -16 lines 0 comments Download
M ui/compositor/transform_animation_curve_adapter.h View 1 2 3 4 5 5 chunks +6 lines, -2 lines 0 comments Download
M ui/compositor/transform_animation_curve_adapter.cc View 1 2 3 4 5 5 chunks +27 lines, -11 lines 0 comments Download
M ui/compositor/transform_animation_curve_adapter_unittest.cc View 1 2 1 chunk +13 lines, -14 lines 0 comments Download

Messages

Total messages: 35 (29 generated)
Ian Vollick
On 2017/07/01 03:53:58, Ian Vollick wrote: > mailto:vollick@chromium.org changed reviewers: > + mailto:ajuma@chromium.org, mailto:flackr@chromium.org Ali, ...
3 years, 5 months ago (2017-07-01 03:54:38 UTC) #6
ajuma
https://codereview.chromium.org/2971503002/diff/80001/cc/animation/transform_operation.cc File cc/animation/transform_operation.cc (right): https://codereview.chromium.org/2971503002/diff/80001/cc/animation/transform_operation.cc#newcode226 cc/animation/transform_operation.cc:226: result->matrix = to_matrix; We could get away with less ...
3 years, 5 months ago (2017-07-04 14:50:56 UTC) #25
Ian Vollick
https://codereview.chromium.org/2971503002/diff/80001/cc/animation/transform_operation.cc File cc/animation/transform_operation.cc (right): https://codereview.chromium.org/2971503002/diff/80001/cc/animation/transform_operation.cc#newcode226 cc/animation/transform_operation.cc:226: result->matrix = to_matrix; On 2017/07/04 14:50:56, ajuma wrote: > ...
3 years, 5 months ago (2017-07-04 16:15:18 UTC) #28
ajuma
Thanks, lgtm
3 years, 5 months ago (2017-07-04 16:38:36 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2971503002/120001
3 years, 5 months ago (2017-07-04 17:07:19 UTC) #32
commit-bot: I haz the power
3 years, 5 months ago (2017-07-04 19:02:55 UTC) #35
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/699fb5ef02326c0ae298c0f94b04...

Powered by Google App Engine
This is Rietveld 408576698