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

Issue 189883003: Web Animations: Allow animations with delay to start on compositor (Closed)

Created:
6 years, 9 months ago by dstockwell
Modified:
6 years, 9 months ago
CC:
blink-reviews, shans, eae+blinkwatch, apavlov+blink_chromium.org, Steve Block, rwlbuis, dino_apple.com, alancutter (OOO until 2018), bemjb+rendering_chromium.org, dsinclair, Timothy Loh, dglazkov+blink, jchaffraix+rendering, pdr., rune+blink, Eric Willigers, rjwright, zoltan1, darktears, leviw+renderwatch, Mike Lawther (Google), ed+blinkwatch_opera.com
Visibility:
Public.

Description

Web Animations: Allow animations with delay to start on compositor This patch ensures layers are created for any current animation (an animation that has yet to play, or is playing) which should also composite. Previously layers were only created for animations once they had applied an effect to the style (opacity, transform, ...), but this is too late to allow a compositor animation to start when the animation specifies a delay. This change appeared to allow several hacks to be cleaned up as it's no longer necessary to massage the interpolation output for opacity and transform in order to ensure layer creation. However this is actually required for transforms[1]. Tests and comments updated to clarify. [1] http://www.w3.org/TR/css-transforms-1/#none-transform-animation BUG=321926, 344809 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169448

Patch Set 1 #

Total comments: 4

Patch Set 2 : RenderTableRow + RenderBoxModelObject #

Patch Set 3 : RenderInline #

Total comments: 1

Patch Set 4 : Interpolation of transform treats 'none' as identity. #

Total comments: 4

Patch Set 5 : FIXME, renaming. #

Total comments: 2

Patch Set 6 : Update comment. #

Patch Set 7 : Rebase. #

Patch Set 8 : Player -> AnimationPlayer #

Patch Set 9 : Relax assert. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -28 lines) Patch
M LayoutTests/animations/interpolation/transform-interpolation.html View 1 2 3 8 chunks +8 lines, -8 lines 0 comments Download
M LayoutTests/animations/interpolation/transform-interpolation-expected.txt View 1 2 3 8 chunks +8 lines, -8 lines 0 comments Download
M LayoutTests/transitions/negative-delay.html View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/transitions/negative-delay-expected.txt View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M Source/core/animation/ActiveAnimations.h View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/animation/ActiveAnimations.cpp View 1 2 3 4 5 6 7 1 chunk +10 lines, -1 line 0 comments Download
M Source/core/animation/AnimationPlayer.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/animation/CompositorAnimations.cpp View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -1 line 0 comments Download
M Source/core/css/resolver/AnimatedStyleBuilder.cpp View 1 2 3 4 5 2 chunks +2 lines, -4 lines 0 comments Download
M Source/core/rendering/RenderBox.h View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/rendering/RenderBoxModelObject.h View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/rendering/RenderInline.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/rendering/RenderTableRow.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 37 (0 generated)
dstockwell
6 years, 9 months ago (2014-03-07 07:54:48 UTC) #1
Julien - ping for review
https://codereview.chromium.org/189883003/diff/1/LayoutTests/compositing/layer-creation/animation-overlap-with-children.html File LayoutTests/compositing/layer-creation/animation-overlap-with-children.html (right): https://codereview.chromium.org/189883003/diff/1/LayoutTests/compositing/layer-creation/animation-overlap-with-children.html#newcode51 LayoutTests/compositing/layer-creation/animation-overlap-with-children.html:51: from { -webkit-transform: translateX(0px); } Could you explain what ...
6 years, 9 months ago (2014-03-10 18:11:59 UTC) #2
dstockwell
https://codereview.chromium.org/189883003/diff/1/LayoutTests/compositing/layer-creation/animation-overlap-with-children.html File LayoutTests/compositing/layer-creation/animation-overlap-with-children.html (right): https://codereview.chromium.org/189883003/diff/1/LayoutTests/compositing/layer-creation/animation-overlap-with-children.html#newcode51 LayoutTests/compositing/layer-creation/animation-overlap-with-children.html:51: from { -webkit-transform: translateX(0px); } On 2014/03/10 18:11:59, Julien ...
6 years, 9 months ago (2014-03-11 03:21:30 UTC) #3
dstockwell
Ping.
6 years, 9 months ago (2014-03-13 23:41:15 UTC) #4
Julien - ping for review
I can't really comment on the core/animation/ bits (they look OK to me but I ...
6 years, 9 months ago (2014-03-14 17:42:00 UTC) #5
dstockwell
On 2014/03/14 17:42:00, Julien Chaffraix - PST wrote: > I can't really comment on the ...
6 years, 9 months ago (2014-03-17 03:47:34 UTC) #6
shans
lgtm once these are resolved. https://codereview.chromium.org/189883003/diff/50001/Source/core/animation/ActiveAnimations.cpp File Source/core/animation/ActiveAnimations.cpp (right): https://codereview.chromium.org/189883003/diff/50001/Source/core/animation/ActiveAnimations.cpp#newcode78 Source/core/animation/ActiveAnimations.cpp:78: bool ActiveAnimations::hasActiveAnimations(CSSPropertyID property) const ...
6 years, 9 months ago (2014-03-17 04:03:46 UTC) #7
dstockwell
https://codereview.chromium.org/189883003/diff/50001/Source/core/animation/ActiveAnimations.cpp File Source/core/animation/ActiveAnimations.cpp (right): https://codereview.chromium.org/189883003/diff/50001/Source/core/animation/ActiveAnimations.cpp#newcode78 Source/core/animation/ActiveAnimations.cpp:78: bool ActiveAnimations::hasActiveAnimations(CSSPropertyID property) const On 2014/03/17 04:03:47, shans wrote: ...
6 years, 9 months ago (2014-03-17 04:16:34 UTC) #8
Julien - ping for review
lgtm2 https://codereview.chromium.org/189883003/diff/70001/Source/core/css/resolver/AnimatedStyleBuilder.cpp File Source/core/css/resolver/AnimatedStyleBuilder.cpp (right): https://codereview.chromium.org/189883003/diff/70001/Source/core/css/resolver/AnimatedStyleBuilder.cpp#newcode583 Source/core/css/resolver/AnimatedStyleBuilder.cpp:583: // FIXME: This normalization (handling of 'none' should ...
6 years, 9 months ago (2014-03-17 22:26:16 UTC) #9
dstockwell
https://codereview.chromium.org/189883003/diff/70001/Source/core/css/resolver/AnimatedStyleBuilder.cpp File Source/core/css/resolver/AnimatedStyleBuilder.cpp (right): https://codereview.chromium.org/189883003/diff/70001/Source/core/css/resolver/AnimatedStyleBuilder.cpp#newcode583 Source/core/css/resolver/AnimatedStyleBuilder.cpp:583: // FIXME: This normalization (handling of 'none' should be ...
6 years, 9 months ago (2014-03-18 00:13:55 UTC) #10
dstockwell
The CQ bit was checked by dstockwell@chromium.org
6 years, 9 months ago (2014-03-18 00:42:01 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dstockwell@chromium.org/189883003/90001
6 years, 9 months ago (2014-03-18 00:42:05 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-18 00:42:16 UTC) #13
commit-bot: I haz the power
Failed to apply patch for Source/core/animation/Player.h: While running patch -p1 --forward --force --no-backup-if-mismatch; can't find ...
6 years, 9 months ago (2014-03-18 00:42:17 UTC) #14
dstockwell
The CQ bit was checked by dstockwell@chromium.org
6 years, 9 months ago (2014-03-18 00:50:27 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dstockwell@chromium.org/189883003/110001
6 years, 9 months ago (2014-03-18 00:50:38 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-18 00:53:29 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on linux_blink_dbg
6 years, 9 months ago (2014-03-18 00:53:30 UTC) #18
dstockwell
The CQ bit was checked by dstockwell@chromium.org
6 years, 9 months ago (2014-03-18 01:04:14 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dstockwell@chromium.org/189883003/110001
6 years, 9 months ago (2014-03-18 01:04:22 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-18 01:07:53 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on linux_blink_dbg
6 years, 9 months ago (2014-03-18 01:07:54 UTC) #22
dstockwell
The CQ bit was checked by dstockwell@chromium.org
6 years, 9 months ago (2014-03-18 01:32:54 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dstockwell@chromium.org/189883003/130001
6 years, 9 months ago (2014-03-18 01:32:58 UTC) #24
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-18 01:36:28 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on linux_blink_rel
6 years, 9 months ago (2014-03-18 01:36:29 UTC) #26
dstockwell
The CQ bit was checked by dstockwell@chromium.org
6 years, 9 months ago (2014-03-18 01:51:45 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dstockwell@chromium.org/189883003/130001
6 years, 9 months ago (2014-03-18 03:17:11 UTC) #28
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-18 04:25:36 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on linux_blink_dbg
6 years, 9 months ago (2014-03-18 04:25:37 UTC) #30
dstockwell
The CQ bit was checked by dstockwell@chromium.org
6 years, 9 months ago (2014-03-18 08:11:11 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dstockwell@chromium.org/189883003/140001
6 years, 9 months ago (2014-03-18 08:11:18 UTC) #32
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-18 09:22:56 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on linux_blink_dbg
6 years, 9 months ago (2014-03-18 09:22:57 UTC) #34
dstockwell
The CQ bit was checked by dstockwell@chromium.org
6 years, 9 months ago (2014-03-18 10:44:25 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dstockwell@chromium.org/189883003/140001
6 years, 9 months ago (2014-03-18 10:44:33 UTC) #36
commit-bot: I haz the power
6 years, 9 months ago (2014-03-18 14:04:35 UTC) #37
Message was sent while issue was closed.
Change committed as 169448

Powered by Google App Engine
This is Rietveld 408576698