Open Bug 1555056 Opened 5 years ago Updated 23 days ago

Android emulator version 29 claims to support BGRA textures but errors

Categories

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

65 Branch
defect

Tracking

()

People

(Reporter: jnicol, Unassigned)

References

(Blocks 1 open bug)

Details

Previous versions of the android emulator do not support BGRA as a texture format, so we workaround this by using RGBA (which will look incorrect but not cause any gl errors). However, version 29 does claim to support GL_EXT_texture_format_BGRA8888 (see release note: https://androidstudio.googleblog.com/2019/03/emulator-2900-canary.html). This works fine for 2D textures, but for 3D textures (including GL_TEXTURE_2D_ARRAY) glTexImage3D causes a GL_INVALID_ENUM error.

I have filed a bug against the emulator here: https://issuetracker.google.com/issues/133730690

Severity: normal → S3
Blocks: wr-todos
You need to log in before you can comment on or make changes to this bug.