Closed Bug 986663 Opened 11 years ago Closed 11 years ago

Sluggish Canvas draw methods on FireFox Android

Categories

(Firefox for Android Graveyard :: Toolbar, defect)

29 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: eric.haight, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36 Steps to reproduce: 1. Played the Free Rider HD track linked below on Firefox 28 and 29 on my Nexus 5 Android. http://www.freeriderhd.com/t/1056-twisting-nether-2 2. Played the same track on latest version of Chrome on Android. Actual results: FPS on Firefox was much less than Chrome. All canvas interactions seemed much slower than what is achieved on Chrome, was unable to pinpoint to a single drawImage or other call. Is there something we are missing or need to know developing for FireFox on Android? FF desktop and FireFox OS do not seem to have any major issues only FF for android. Expected results: Similar performance behavior to Chrome.
Flags: needinfo?(snorp)
On my Nexus 4, this seems to be performing similarly to Chrome with Nightly. I wouldn't be surprised if bug 939276 fixed it. Can you try with Nightly and see if it's any better for you? I guess Aurora should work too.
Flags: needinfo?(snorp)
I don't think that is it, still noticing considerable differences between FPS on Chrome mobile vs FF mobile in both beta / stable versions. Will try to set up a jsperf.com test to highlight the speed differences that are being observed, in the meantime if you can think of anything that could be causing an issue for FF let us know. Will re-update this when I have a jsperf setup.
Firefox performance seems to be on par with Android 4.4.2 web view which does not have HTML5 canvas hardware acceleration enabled, is FF HTML5 canvas hardware accelerated?
(In reply to Eric from comment #3) > Firefox performance seems to be on par with Android 4.4.2 web view which > does not have HTML5 canvas hardware acceleration enabled, is FF HTML5 canvas > hardware accelerated? It is, assuming the 'gfx.canvas.azure.accelerated' and 'gfx.canvas.azure.backends' pref has not been changed on your device.
Looks like the latest beta that I downloaded fixes the issue that we were experiencing on all android test devices that we have tested with, performance in FF beta now matches that of chrome, dolphin, opera, etc. The bug still exists in current production FF.
Good to know, thanks for reporting.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.