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

Issue 2010963003: Restart any animations when we allocate a composited layer. (Closed)

Created:
4 years, 7 months ago by wkorman
Modified:
4 years, 6 months ago
CC:
chrishtr, ajuma, darktears, blink-reviews, blink-reviews-animation_chromium.org, blink-reviews-layout_chromium.org, chromium-reviews, eae+blinkwatch, Eric Willigers, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, rjwright, shans, szager+layoutwatch_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Restart any animations when we allocate a composited layer. As part of this, fix FrameView to note a compositing update is needed when it is shown/hidden since it could gain/lose its composited layer and, if shown/gained, then we want to immediately restart any animations. BUG=612436 Committed: https://crrev.com/851bbadbc2348dcf79851c9be1b766e4ce00a2ab Cr-Commit-Position: refs/heads/master@{#397003}

Patch Set 1 #

Patch Set 2 : Update compositing for self when showing/hiding frame. #

Patch Set 3 : Working on test. #

Total comments: 5

Patch Set 4 : Remove test due to flakiness. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -3 lines) Patch
M third_party/WebKit/Source/core/frame/FrameView.cpp View 1 2 3 3 chunks +9 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp View 1 3 chunks +12 lines, -1 line 0 comments Download

Messages

Total messages: 21 (10 generated)
wkorman
loyso@ seeking your guidance before I dig further -- this change is for discussion purposes. ...
4 years, 7 months ago (2016-05-26 19:21:31 UTC) #2
loyso (OOO)
Hi, Walter! Thanks for working on this. I'm not well familiar with that high-level code ...
4 years, 7 months ago (2016-05-27 05:20:15 UTC) #3
loyso (OOO)
A remark using some tips from dstockwell@: ElementAnimations::restartAnimationOnCompositor doesn't restart animations immediately. It schedules a ...
4 years, 7 months ago (2016-05-27 05:30:02 UTC) #4
wkorman
Sending for feedback on this small change while test still under work. We need to ...
4 years, 6 months ago (2016-05-28 00:59:44 UTC) #7
chrishtr
https://codereview.chromium.org/2010963003/diff/40001/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp File third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp (right): https://codereview.chromium.org/2010963003/diff/40001/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp#newcode495 third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp:495: restartAnimationOnCompositor(*layer->layoutObject()); One thing I'd like to understand: in the ...
4 years, 6 months ago (2016-05-28 21:18:22 UTC) #9
ajuma
https://codereview.chromium.org/2010963003/diff/40001/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp File third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp (right): https://codereview.chromium.org/2010963003/diff/40001/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp#newcode495 third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp:495: restartAnimationOnCompositor(*layer->layoutObject()); On 2016/05/28 21:18:22, chrishtr wrote: > One thing ...
4 years, 6 months ago (2016-05-29 00:49:29 UTC) #11
wkorman
Filed http://crbug.com/616270 to look into a test separately due to test flakiness that could take ...
4 years, 6 months ago (2016-05-31 22:47:09 UTC) #14
chrishtr
lgtm
4 years, 6 months ago (2016-05-31 22:53:34 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2010963003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2010963003/60001
4 years, 6 months ago (2016-05-31 22:54:32 UTC) #17
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 6 months ago (2016-06-01 00:57:50 UTC) #19
commit-bot: I haz the power
4 years, 6 months ago (2016-06-01 01:00:10 UTC) #21
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/851bbadbc2348dcf79851c9be1b766e4ce00a2ab
Cr-Commit-Position: refs/heads/master@{#397003}

Powered by Google App Engine
This is Rietveld 408576698