Closed Bug 768982 Opened 12 years ago Closed 11 years ago

http://www.scirra.com/labs/sbperfgl/ doesn't work properly on Fennec

Categories

(Core :: Graphics: CanvasWebGL, defect)

All
Android
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jrmuizel, Unassigned)

References

(Blocks 2 open bugs, )

Details

See bug 768959 for more information. On my Nexus S there's some black flashing around the spaceship, no shooting ever happens.
I cannot reproduce on my Nexus S, everything seems to be working like on desktop, including the shooting. But you have to wait for 10+ seconds, the shooting only starts once enemies have appeared.
(In reply to Benoit Jacob [:bjacob] from comment #1) > I cannot reproduce on my Nexus S, everything seems to be working like on > desktop, including the shooting. But you have to wait for 10+ seconds, the > shooting only starts once enemies have appeared. Do you get a fps counter? How fast does it run?
I do, but it's only visible when the phone is in landscape orientation. It's too tiny to read and zooming doesn't work. I'd say i'm getting 3 fps but that is not useful info until bug 728524 lands.
Can we check if this is still an issue?
I can't tell. The demo in question appears to immediately fall back to canvas2d on Android, while happily using webgl on my linux machine.
OS: Mac OS X → Android
Hardware: x86 → All
It sniffs the userAgent: if (!this.nb) this.nb = /(iphone|ipod|ipad|blackberry|palm|symbian|nokia|windows\s+ce|windows\s+phone|iemobile)/i.test(navigator.userAgent); if (!this.nb) this.nb = !/(windows|linux|os\s+[x9]|solaris|bsd)/i.test(navigator.userAgent); One of the criteria for trying WebGL is `!this.nb`. Our Mobile userAgent is `Mozilla/5.0 (Android; Mobile; rv:24.0) Gecko/24.0 Firefox/24.0`.
Well, the info from comment #6 is from http://www.scirra.com/labs/perftest2-webgl . It might be the same here, though.
Blocks: 768959
It's also unconditionally disabling webgl for Android userAgents: this.Qi = /android/i.test(navigator.userAgent); this.nb = this.Si || this.ig || this.Qi; This WFM, certainly, even with just the canvas fallback (though perf is not great) on my nexus 4. Does it work for all Jeffs?
Flags: needinfo?(jmuizelaar)
Yes. Seems to work but slow.
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: needinfo?(jmuizelaar)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.