Closed Bug 935601 Opened 11 years ago Closed 4 years ago

WebGL gl.bindAttribLocation does not work on Firefox on Android.

Categories

(Core :: Graphics: CanvasWebGL, defect, P3)

ARM
Android
defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: jujjyl, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [games])

Navigate to http://clb.demon.fi/dump/bugs/android_ff_attriblocation/lesson1.html with Firefox on an Android device.

Expected: A white triangle and a square renders. Works on desktop Firefox.
Result tested on a Nexus 4 Android device: a black screen is displayed.

I *think* Android fails when gl.bindAttribLocation(program, i, "attribName"); is called when the program does not contain attributes at all indices [0, i-1]. See the web console print as well, which shows the discrepancy: desktop binds properly to index 4, but Android still reports 0.

This is blocking from attempting some optimizations on emscripten fixed function GL pipeline emulation layer for mobile.
Blocks: gecko-games
Priority: -- → P3

I can't access that URL anymore, but we should fix this if you're still seeing it. It's definitely a bug according to spec.

Status: NEW → RESOLVED
Closed: 4 years ago
Flags: needinfo?(jujjyl)
Resolution: --- → INCOMPLETE

At some point in time, the domain name had to change due to reasons..

clb.demon.fi is now clb.confined.space, so the page is available at:

http://clb.confined.space/dump/bugs/android_ff_attriblocation/lesson1.html

I do not unfortunately have access to the Nexus 4 Android device anymore. Trying out on Huawei P10 Plus though, the issue does not reproduce, so maybe it has been fixed, or was Nexus 4 specific.

Flags: needinfo?(jujjyl)
You need to log in before you can comment on or make changes to this bug.