Closed Bug 727311 Opened 13 years ago Closed 13 years ago

WebGL doesn't draw on Nexus S

Categories

(Firefox for Android Graveyard :: General, defect)

13 Branch
ARM
Android
defect
Not set
blocker

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: nhirata, Assigned: joe)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

1. go to http://get.webgl.org Expected: webgl is detected Actual: hmmm. While your browser seems to support WebGL, it is disabled or unavailable. Note: 1. checking about:config webgl.disabled = false 2. Thunderbolt, 2.2, MAPLE 2/14/2012
Whiteboard: MAPLE → MAPLE mwc-demo
Severity: normal → blocker
Blocks: 728251
Blocks: 728256
Blocks: 728249
Assignee: nobody → joe
Based on the latest from Paul, we are not targeting the WebGL demos for MWC. This is still a blocker for Maple landing in m-c.
Whiteboard: MAPLE mwc-demo → MAPLE
WebGL is detected on my Nexus S, but doesn't draw, both on mozilla-central nightly and maple. This is due to trying to use BGRA as the format for doing glReadPixels. Using BGRA in this way works on the Galaxy S 2, but is broken on the Nexus S and Galaxy Nexus.
Depends on: 721205
Summary: MAPLE : WebGL is not detected → WebGL doesn't draw on Nexus S
Whiteboard: MAPLE
Attached patch never read back using BGRA (deleted) — Splinter Review
To fix this, let's just never read back into BGRA format.
Attachment #598605 - Flags: review?(bjacob)
Attachment #598605 - Flags: review?(bjacob) → review+
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
FYI, the Nexus S and Galaxy Nexus both use an SGX540 which I've witnessed have driver issues with glReadPixels and BGRA format textures (the iPhone also uses an SGX and seems to have the same problem: http://stackoverflow.com/questions/5086863/bgra-on-iphone-glteximage2d-and-glreadpixels), whereas the S II has a Mali.
I just filed bug 728724 on fixing this.
Verified on Samsung Galaxy S II : Nightly 2/23/2012; exception bug 728724 (won't show on Nexus S, Galaxy Nexus or any other devices that use SGX540)
Status: RESOLVED → VERIFIED
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: