Closed Bug 727838 Opened 12 years ago Closed 12 years ago

Runfield draws slower than Chrome for Android

Categories

(Firefox for Android Graveyard :: General, defect, P2)

x86
Linux
defect

Tracking

(blocking-fennec1.0 beta+)

RESOLVED WORKSFORME
Tracking Status
blocking-fennec1.0 --- beta+

People

(Reporter: jpr, Assigned: jrmuizel)

References

()

Details

(Keywords: perf, Whiteboard: MAPLE mwc-demo [gfx])

Runfield draws slower than Chrome for Android
Nightly or Maple?
Depends on: 727939
So it currently looks like runfield is hitting all of our hotpaths in canvas. Because there's no scaling happening, I expect that the canvas performance is close to being memory bandwidth bound. This means that we should be able to get performance close to what Chrome has even though it has GPU accelerated canvas.

The current known problems keeping us back from full performance are: the double painting from bug 727939 and upload performance which will hopefully be improved by gralloc. The texture copy in glTexImage2d showed up very high during profiling.
Blocks: 728251
Blocks: 728249
Keywords: perf
Whiteboard: mwc-demo → MAPLE mwc-demo
In the new version of the demo, I scale the Canvas. This impacts the performance, right?

I use <meta viewport="width=device-width"> and the <canvas> is scaled (width: 100%). I could also use <meta viewport="width=thesizeofthecanvas"> but I guess that would do the same thing.
Depends on: 729266
Status: there is a patch in review in the related bug. P1 = needs assignee.
Priority: -- → P1
No longer blocks: 728249
Assignee: nobody → jmuizelaar
No longer blocks: 728251
Priority: P1 → P2
blocking-fennec1.0: --- → beta+
Status: NEW → ASSIGNED
Jeff - I heard you had a plan for this bug. True?
(In reply to Mark Finkle (:mfinkle) from comment #5)
> Jeff - I heard you had a plan for this bug. True?

I assume it's bug 729266
Whiteboard: MAPLE mwc-demo → MAPLE mwc-demo [gfx]
Jeff, is this a dupe?
No, this is a tracking bug.
I made a modified Runfield demo here that makes the fox go faster:
http://people.mozilla.org/~mwargers/tests/unminimized/Runfield/Runfield.htm
On my Samsung Galaxy Nexus, this looks smoother to me on Fennec Nativue trunk than on Google Chrome beta.
Looks like the canavs FPS improvements have been validated
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Keywords: qawanted
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.