Open Bug 1574232 Opened 5 years ago Updated 2 years ago

Enable WebGL for android emulators.

Categories

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

x86_64
Android
enhancement

Tracking

()

Tracking Status
firefox70 --- affected

People

(Reporter: rbarker, Unassigned)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

WebGL currently fails in GeckoView when run on android x86 emulators. It would help facilitate development and testing to be able to use WebGL on an emulator.

Priority: -- → P3
Blocks: 1574231
Logcat from FxR running in emulation with `webgl.force-enable=true`
Blocks: external-gv-ergonomics
No longer blocks: 1574231
Rank: 4
See Also: → 1606037

If I try to do any WebGL stuff on the emulator, I immediately get a deadlock in SharedSurface_SurfaceTexture::Commit(). It seems that either the emulator has a bug there or we're not correctly waiting on that buffer to become available.

Not sure if this is directly related, but this issue reminds me of the code kats added for webrender:

https://searchfox.org/mozilla-central/rev/5a10be606f2d76ef22f1f44565749490de991d35/testing/mozharness/mozharness/mozilla/testing/android.py#168-173

Yep, it's linked in the webgl mochitest android-em bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1543260

See Also: → 1543260
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: