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

Issue 1218943002: Compositor animations for Independent CSS Transform Properties (Closed)

Created:
5 years, 5 months ago by soonm
Modified:
5 years, 5 months ago
CC:
darktears, blink-reviews, blink-reviews-animation_chromium.org, blink-reviews-style_chromium.org, Eric Willigers, rjwright, shans
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 4

Patch Set 2 : Convert Manual Tests to Layout Tests #

Patch Set 3 : Fix incorrect bounding box expr #

Patch Set 4 : Convert pixel test to testharness #

Total comments: 18

Patch Set 5 : Cleanup #

Total comments: 5

Patch Set 6 : Change name and bg-color to border #

Patch Set 7 : Improve tests #

Total comments: 3

Patch Set 8 : Clean up test #

Total comments: 20

Patch Set 9 : Add cancelling tests #

Total comments: 2

Patch Set 10 : Rebase master #

Total comments: 4

Patch Set 11 : Clean up #

Total comments: 3

Patch Set 12 : Add Manual Tests and fix bug with cancel tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+604 lines, -27 lines) Patch
A LayoutTests/virtual/threaded/animations/composited-animation-independent-transform-cancel.html View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +86 lines, -0 lines 0 comments Download
A LayoutTests/virtual/threaded/animations/compositor-independent-transform-cancel.html View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +79 lines, -0 lines 0 comments Download
A LayoutTests/virtual/threaded/animations/compositor-independent-transform-properties.html View 1 2 3 4 5 6 7 1 chunk +62 lines, -0 lines 0 comments Download
A ManualTests/animation/compositor-transform-with-rotate.html View 2 3 4 5 6 7 8 9 10 11 1 chunk +85 lines, -0 lines 0 comments Download
A ManualTests/animation/compositor-transform-with-scale.html View 2 3 4 5 6 7 8 9 10 11 1 chunk +83 lines, -0 lines 0 comments Download
A ManualTests/animation/compositor-transform-with-translate.html View 2 3 4 5 6 7 8 9 10 11 1 chunk +84 lines, -0 lines 0 comments Download
M Source/core/animation/CompositorAnimations.h View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/animation/CompositorAnimations.cpp View 1 2 3 4 5 6 7 8 9 10 11 10 chunks +53 lines, -7 lines 0 comments Download
M Source/core/animation/DocumentAnimations.cpp View 1 1 chunk +5 lines, -1 line 0 comments Download
M Source/core/animation/EffectModel.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/animation/ElementAnimations.cpp View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -1 line 0 comments Download
M Source/core/animation/KeyframeEffect.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/animation/KeyframeEffect.cpp View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +44 lines, -11 lines 0 comments Download
M Source/core/animation/KeyframeEffectModel.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/animation/KeyframeEffectModel.cpp View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +8 lines, -1 line 0 comments Download
M Source/core/style/ComputedStyle.h View 1 2 3 4 5 6 7 8 9 3 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 34 (7 generated)
soonm
5 years, 5 months ago (2015-06-30 02:42:39 UTC) #2
Eric Willigers
https://codereview.chromium.org/1218943002/diff/1/Source/core/animation/CompositorAnimations.cpp File Source/core/animation/CompositorAnimations.cpp (right): https://codereview.chromium.org/1218943002/diff/1/Source/core/animation/CompositorAnimations.cpp#newcode100 Source/core/animation/CompositorAnimations.cpp:100: || effectToAdd.affects(PropertyHandle(CSSPropertyScale)) indent four spaces. Also in cancelIncompatibleAnimationsOnCompositor and ...
5 years, 5 months ago (2015-06-30 03:18:23 UTC) #3
soonm
https://codereview.chromium.org/1218943002/diff/1/Source/core/animation/CompositorAnimations.cpp File Source/core/animation/CompositorAnimations.cpp (right): https://codereview.chromium.org/1218943002/diff/1/Source/core/animation/CompositorAnimations.cpp#newcode100 Source/core/animation/CompositorAnimations.cpp:100: || effectToAdd.affects(PropertyHandle(CSSPropertyScale)) On 2015/06/30 at 03:18:23, Eric Willigers wrote: ...
5 years, 5 months ago (2015-06-30 05:01:09 UTC) #5
alancutter (OOO until 2018)
https://codereview.chromium.org/1218943002/diff/60001/LayoutTests/virtual/threaded/animations/compositor-transform-with-rotate.html File LayoutTests/virtual/threaded/animations/compositor-transform-with-rotate.html (right): https://codereview.chromium.org/1218943002/diff/60001/LayoutTests/virtual/threaded/animations/compositor-transform-with-rotate.html#newcode6 LayoutTests/virtual/threaded/animations/compositor-transform-with-rotate.html:6: position: absolute; If you don't use position: absolute can ...
5 years, 5 months ago (2015-07-01 03:35:47 UTC) #6
soonm
https://codereview.chromium.org/1218943002/diff/60001/LayoutTests/virtual/threaded/animations/compositor-transform-with-rotate.html File LayoutTests/virtual/threaded/animations/compositor-transform-with-rotate.html (right): https://codereview.chromium.org/1218943002/diff/60001/LayoutTests/virtual/threaded/animations/compositor-transform-with-rotate.html#newcode6 LayoutTests/virtual/threaded/animations/compositor-transform-with-rotate.html:6: position: absolute; On 2015/07/01 at 03:35:47, alancutter wrote: > ...
5 years, 5 months ago (2015-07-01 07:18:51 UTC) #7
Eric Willigers
Optionally in a subsequent CL, it would be great to have tests where an animation ...
5 years, 5 months ago (2015-07-02 01:25:53 UTC) #8
alancutter (OOO until 2018)
You should add a test that uses multiple individual transform properties. I recommend refactoring your ...
5 years, 5 months ago (2015-07-02 01:34:15 UTC) #9
soonm
https://codereview.chromium.org/1218943002/diff/80001/LayoutTests/virtual/threaded/animations/compositor-transform-with-rotate.html File LayoutTests/virtual/threaded/animations/compositor-transform-with-rotate.html (right): https://codereview.chromium.org/1218943002/diff/80001/LayoutTests/virtual/threaded/animations/compositor-transform-with-rotate.html#newcode21 LayoutTests/virtual/threaded/animations/compositor-transform-with-rotate.html:21: } On 2015/07/02 at 01:34:15, alancutter wrote: > Giving ...
5 years, 5 months ago (2015-07-02 03:28:56 UTC) #10
soonm
On 2015/07/02 at 01:25:53, ericwilligers wrote: > Optionally in a subsequent CL, it would be ...
5 years, 5 months ago (2015-07-02 03:37:04 UTC) #11
Eric Willigers
lgtm
5 years, 5 months ago (2015-07-02 03:44:58 UTC) #12
alancutter (OOO until 2018)
lgtm with nits. https://codereview.chromium.org/1218943002/diff/120001/LayoutTests/virtual/threaded/animations/compositor-independent-transform-properties.html File LayoutTests/virtual/threaded/animations/compositor-independent-transform-properties.html (right): https://codereview.chromium.org/1218943002/diff/120001/LayoutTests/virtual/threaded/animations/compositor-independent-transform-properties.html#newcode13 LayoutTests/virtual/threaded/animations/compositor-independent-transform-properties.html:13: var obj = {}; s/obj/keyframe/ https://codereview.chromium.org/1218943002/diff/120001/LayoutTests/virtual/threaded/animations/compositor-independent-transform-properties.html#newcode16 ...
5 years, 5 months ago (2015-07-02 04:44:47 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1218943002/140001
5 years, 5 months ago (2015-07-02 04:50:59 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: blink_presubmit on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/blink_presubmit/builds/36839)
5 years, 5 months ago (2015-07-02 04:56:50 UTC) #18
soonm
On 2015/07/02 at 04:44:47, alancutter wrote: > lgtm with nits. > > https://codereview.chromium.org/1218943002/diff/120001/LayoutTests/virtual/threaded/animations/compositor-independent-transform-properties.html > File ...
5 years, 5 months ago (2015-07-03 01:36:38 UTC) #19
Timothy Loh
lgtm
5 years, 5 months ago (2015-07-03 01:52:29 UTC) #20
dstockwell
taking a look https://codereview.chromium.org/1218943002/diff/140001/Source/core/animation/CompositorAnimations.cpp File Source/core/animation/CompositorAnimations.cpp (right): https://codereview.chromium.org/1218943002/diff/140001/Source/core/animation/CompositorAnimations.cpp#newcode101 Source/core/animation/CompositorAnimations.cpp:101: || effectToAdd.affects(PropertyHandle(CSSPropertyTransform)) transform should be first ...
5 years, 5 months ago (2015-07-03 01:53:24 UTC) #21
dstockwell
https://codereview.chromium.org/1218943002/diff/140001/LayoutTests/virtual/threaded/animations/compositor-independent-transform-properties.html File LayoutTests/virtual/threaded/animations/compositor-independent-transform-properties.html (right): https://codereview.chromium.org/1218943002/diff/140001/LayoutTests/virtual/threaded/animations/compositor-independent-transform-properties.html#newcode1 LayoutTests/virtual/threaded/animations/compositor-independent-transform-properties.html:1: <!DOCTYPE html> for now we need manual tests too, ...
5 years, 5 months ago (2015-07-03 01:58:41 UTC) #22
loyso (OOO)
https://codereview.chromium.org/1218943002/diff/140001/Source/core/animation/CompositorAnimations.cpp File Source/core/animation/CompositorAnimations.cpp (right): https://codereview.chromium.org/1218943002/diff/140001/Source/core/animation/CompositorAnimations.cpp#newcode231 Source/core/animation/CompositorAnimations.cpp:231: if (property.cssProperty() == CSSPropertyRotate You have similar patterns repeated ...
5 years, 5 months ago (2015-07-03 03:50:07 UTC) #23
soonm
https://codereview.chromium.org/1218943002/diff/140001/Source/core/animation/CompositorAnimations.cpp File Source/core/animation/CompositorAnimations.cpp (right): https://codereview.chromium.org/1218943002/diff/140001/Source/core/animation/CompositorAnimations.cpp#newcode101 Source/core/animation/CompositorAnimations.cpp:101: || effectToAdd.affects(PropertyHandle(CSSPropertyTransform)) On 2015/07/03 at 01:53:23, dstockwell wrote: > ...
5 years, 5 months ago (2015-07-03 06:34:30 UTC) #24
Eric Willigers
https://codereview.chromium.org/1218943002/diff/160001/Source/core/animation/css/CSSAnimatableValueFactory.cpp File Source/core/animation/css/CSSAnimatableValueFactory.cpp (left): https://codereview.chromium.org/1218943002/diff/160001/Source/core/animation/css/CSSAnimatableValueFactory.cpp#oldcode533 Source/core/animation/css/CSSAnimatableValueFactory.cpp:533: case CSSPropertyTranslate: CSSPropertyTranslate: { with closing brace before the ...
5 years, 5 months ago (2015-07-05 23:03:29 UTC) #25
soonm
https://codereview.chromium.org/1218943002/diff/160001/Source/core/animation/css/CSSAnimatableValueFactory.cpp File Source/core/animation/css/CSSAnimatableValueFactory.cpp (left): https://codereview.chromium.org/1218943002/diff/160001/Source/core/animation/css/CSSAnimatableValueFactory.cpp#oldcode533 Source/core/animation/css/CSSAnimatableValueFactory.cpp:533: case CSSPropertyTranslate: On 2015/07/05 at 23:03:29, Eric Willigers wrote: ...
5 years, 5 months ago (2015-07-05 23:40:45 UTC) #26
alancutter (OOO until 2018)
https://codereview.chromium.org/1218943002/diff/180001/LayoutTests/virtual/threaded/animations/composited-animation-independent-transform-cancel.html File LayoutTests/virtual/threaded/animations/composited-animation-independent-transform-cancel.html (right): https://codereview.chromium.org/1218943002/diff/180001/LayoutTests/virtual/threaded/animations/composited-animation-independent-transform-cancel.html#newcode9 LayoutTests/virtual/threaded/animations/composited-animation-independent-transform-cancel.html:9: cancelProperty is animated on the element */ This documentation ...
5 years, 5 months ago (2015-07-06 04:36:15 UTC) #27
soonm
https://codereview.chromium.org/1218943002/diff/180001/LayoutTests/virtual/threaded/animations/composited-animation-independent-transform-cancel.html File LayoutTests/virtual/threaded/animations/composited-animation-independent-transform-cancel.html (right): https://codereview.chromium.org/1218943002/diff/180001/LayoutTests/virtual/threaded/animations/composited-animation-independent-transform-cancel.html#newcode9 LayoutTests/virtual/threaded/animations/composited-animation-independent-transform-cancel.html:9: cancelProperty is animated on the element */ On 2015/07/06 ...
5 years, 5 months ago (2015-07-06 04:49:56 UTC) #28
Eric Willigers
https://codereview.chromium.org/1218943002/diff/200001/Source/core/animation/ElementAnimations.cpp File Source/core/animation/ElementAnimations.cpp (right): https://codereview.chromium.org/1218943002/diff/200001/Source/core/animation/ElementAnimations.cpp#newcode63 Source/core/animation/ElementAnimations.cpp:63: if (effect.affects(PropertyHandle(CSSPropertyTransform)) [Optional] Can we call isTransformRelatedEffect? The method ...
5 years, 5 months ago (2015-07-06 06:03:28 UTC) #29
soonm
https://codereview.chromium.org/1218943002/diff/140001/LayoutTests/virtual/threaded/animations/compositor-independent-transform-properties.html File LayoutTests/virtual/threaded/animations/compositor-independent-transform-properties.html (right): https://codereview.chromium.org/1218943002/diff/140001/LayoutTests/virtual/threaded/animations/compositor-independent-transform-properties.html#newcode1 LayoutTests/virtual/threaded/animations/compositor-independent-transform-properties.html:1: <!DOCTYPE html> On 2015/07/03 at 01:58:40, dstockwell wrote: > ...
5 years, 5 months ago (2015-07-06 23:36:50 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1218943002/220001
5 years, 5 months ago (2015-07-07 04:56:38 UTC) #33
commit-bot: I haz the power
5 years, 5 months ago (2015-07-07 05:00:21 UTC) #34
Message was sent while issue was closed.
Committed patchset #12 (id:220001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=198362

Powered by Google App Engine
This is Rietveld 408576698