Closed Bug 835041 Opened 13 years ago Closed 8 years ago

SMIL animation is jerky on Firefox OS browser at play.esviji.com, when a ball is destroyed

Categories

(Core :: SVG, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: julienw, Unassigned)

References

()

Details

(Keywords: perf, testcase-wanted, Whiteboard: [in-the-wild] [external-report])

STR: * go to http://play.esviji.com and start a game * trigger the "ball destroying" animation Expected: * animation is smooth Actual: * animation is jerky There is at the same time the following animations: * rotation * opacity change This is done on a element with gradient on top of another element with a gradient; Asking for a smaller testcase from Nicolas.
The animation looks smooth to me, FWIW. (though my machine's pretty fast) Mozilla/5.0 (X11; Linux x86_64; rv:21.0) Gecko/20130129 Firefox/21.0
Oh, sorry -- didn't notice that this was filed for Firefox OS. I can repro the jankiness on my unagi, w/ latest dogfood build.
Summary: SMIL animation is slow → SMIL animation is jerky on Firefox OS browser at play.esviji.com, when a ball is destroyed
Gradients both in the background and in the balls have been removed now on http://play.esviji.com/ because of performance issues almost everywhere on mobile phones.
Keywords: perf
For B2G builds made from gecko v23 or greater, you should be able to move the balls using a transform (instead of x/y) and the rendering will be cached in an offscreen surface allowing it to be moved around much more easily. That should allow you to add the gradients back. Can a version of the game with gradients restored be made available somewhere so that I can confirm this and, if necessary, look into any remaining issues?
Depends on: 869611, 839865
Oh, and changed to use transform instead of x/y.
Whiteboard: [in-the-wild] [external-report]
Julien, can you provide us with a version with gradients again?
Flags: needinfo?(felash)
Let's ask the creator of the game directly.
Flags: needinfo?(felash) → needinfo?(nicolas)
This commit removed the gradients, so you should be able to try the game just before it: https://github.com/nhoizey/esviji/commit/c756e172d842f386a5ea1201f14ebdffb430f2cf
Here is a git clone at the commit just before c756e172d842f386a5ea1201f14ebdffb430f2cf: http://everlong.org/mozilla/esviji-gradients/ Nicolas, can you please confirm this is a version with gradients ? :) (I think it is)
Julien, it is indeed.
Flags: needinfo?(nicolas)
Does this still reproduce?
Flags: needinfo?(felash)
I think so. Not this is not the only jerky thing but I'd like to focus on this issue only. A smaller testcase could be useful...
Flags: needinfo?(felash)
Closing this given B2G is no more, but I can still repro perf issues on Mac so I spun off bug 1348787 to investigate further.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INCOMPLETE
See Also: → 1348787
You need to log in before you can comment on or make changes to this bug.