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

Issue 880013003: spinning-square.sky doesn't spin (Closed)

Created:
5 years, 11 months ago by abarth-chromium
Modified:
5 years, 11 months ago
Reviewers:
esprehn, eseidel
CC:
mojo-reviews_chromium.org, ojan
Base URL:
git@github.com:domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

spinning-square.sky doesn't spin The semantics of requestAnimationFrame and scheduleVisualUpdate are slightly different. If you're inside a requestAnimationFrame, then calling requestAnimationFrame should schedule you for next frame. However, if you're inside a requestAnimationFrame and you scheduleVisualUpdate, that's a noop because we've already got a visual update pending. When we merge the codepaths, we broke requestAnimationFrame because it became a noop when called inside a request animation frame. We really ought to split up the two roles of requestAnimationFrame (run before the frame boundary and run once per frame). R=esprehn@chromium.org, eseidel@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/fca750382c8f1ef001eaeea39eaa461392b599a1

Patch Set 1 #

Patch Set 2 : fix animations too #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -2 lines) Patch
M sky/engine/core/animation/AnimationTimeline.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M sky/engine/core/dom/ScriptedAnimationController.cpp View 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
abarth-chromium
5 years, 11 months ago (2015-01-27 18:51:20 UTC) #1
esprehn
Arg yeah, PageAnimator's method and the Page's method do different things. I'll need to think ...
5 years, 11 months ago (2015-01-27 18:57:58 UTC) #2
esprehn
On 2015/01/27 at 18:57:58, esprehn wrote: > Arg yeah, PageAnimator's method and the Page's method ...
5 years, 11 months ago (2015-01-27 18:58:32 UTC) #3
abarth-chromium
On 2015/01/27 at 18:58:32, esprehn wrote: > btw I might have busted animations or some ...
5 years, 11 months ago (2015-01-27 18:59:56 UTC) #4
abarth-chromium
5 years, 11 months ago (2015-01-27 19:01:33 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
fca750382c8f1ef001eaeea39eaa461392b599a1 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698