|
|
Created:
5 years, 3 months ago by dstockwell Modified:
5 years, 3 months ago CC:
darktears, blink-reviews, blink-reviews-animation_chromium.org, Eric Willigers, rjwright, shans Base URL:
svn://svn.chromium.org/blink/trunk Target Ref:
refs/remotes/origin/master Project:
blink Visibility:
Public. |
DescriptionWeb Animations: Don't participate in grouping when start time is set
After a recent change[1] cc started sending back animation specified
start times when present. This was inadvertently applied to animations
in the same compositor group (started in the same frame), which could
cause animations to receive an inappropriate start time.
To avoid this regression, animations with a specified start time
are labeled with a distinct compositor group as they do not participate
in grouping.
[1] https://chromium.googlesource.com/chromium/src/+/33c2aaa27b1ab502cfa08b7d271b58b8b485b5cc
BUG=528291
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=202617
Patch Set 1 #Patch Set 2 : Rebase #
Total comments: 1
Patch Set 3 : Don't use 0 #
Total comments: 1
Messages
Total messages: 29 (11 generated)
dstockwell@chromium.org changed reviewers: + alancutter@chromium.org
The CQ bit was checked by dstockwell@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1341673002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1341673002/1
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator...) ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_rel_device_ni...) mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_comp...) mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
The CQ bit was checked by dstockwell@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1341673002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1341673002/20001
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
tserng@amazon.com changed reviewers: + tserng@amazon.com
https://codereview.chromium.org/1341673002/diff/20001/Source/core/animation/C... File Source/core/animation/CompositorPendingAnimations.cpp (right): https://codereview.chromium.org/1341673002/diff/20001/Source/core/animation/C... Source/core/animation/CompositorPendingAnimations.cpp:76: if (animation->preCommit(animation->hasStartTime() ? 0 : compositorGroup, startOnCompositor)) { Will we run the risk of hitting the assert here: https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit...
On 2015/09/14 at 14:30:33, tserng wrote: > https://codereview.chromium.org/1341673002/diff/20001/Source/core/animation/C... > File Source/core/animation/CompositorPendingAnimations.cpp (right): > > https://codereview.chromium.org/1341673002/diff/20001/Source/core/animation/C... > Source/core/animation/CompositorPendingAnimations.cpp:76: if (animation->preCommit(animation->hasStartTime() ? 0 : compositorGroup, startOnCompositor)) { > Will we run the risk of hitting the assert here: > > https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit... Yep, good point. Changed to a different approach.
The CQ bit was checked by dstockwell@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1341673002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1341673002/40001
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
I had created a ManualTest from the test case in the bug, do you think it would be useful to include that or do you think the provided Layout test is sufficient.
On 2015/09/15 at 18:54:42, tserng wrote: > I had created a ManualTest from the test case in the bug, do you think it would be useful to include that or do you think the provided Layout test is sufficient. Automated tests are preferable when possible. @loyso is actively working on removing the remaining manual tests.
@alancutter, ping
lgtm https://codereview.chromium.org/1341673002/diff/40001/Source/core/animation/C... File Source/core/animation/CompositorPendingAnimations.cpp (right): https://codereview.chromium.org/1341673002/diff/40001/Source/core/animation/C... Source/core/animation/CompositorPendingAnimations.cpp:68: while (compositorGroup == 0 || compositorGroup == 1) { Nit: We should use an enum instead of magic numbers.
On 2015/09/16 at 05:35:30, alancutter wrote: > lgtm > > https://codereview.chromium.org/1341673002/diff/40001/Source/core/animation/C... > File Source/core/animation/CompositorPendingAnimations.cpp (right): > > https://codereview.chromium.org/1341673002/diff/40001/Source/core/animation/C... > Source/core/animation/CompositorPendingAnimations.cpp:68: while (compositorGroup == 0 || compositorGroup == 1) { > Nit: We should use an enum instead of magic numbers. Ack. I'll update the bug after landing this, we should update cc to not need either of these.
The CQ bit was checked by dstockwell@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1341673002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1341673002/40001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
The CQ bit was checked by dstockwell@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1341673002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1341673002/40001
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as https://src.chromium.org/viewvc/blink?view=rev&revision=202617 |