Closed Bug 1691925 Opened 4 years ago Closed 4 years ago

Block webrender on android devices which don't support GL_OES_EGL_image_external_essl3

Categories

(Core :: Graphics: WebRender, task)

Unspecified
Android
task

Tracking

()

RESOLVED FIXED
87 Branch
Tracking Status
firefox87 --- fixed

People

(Reporter: jnicol, Assigned: jnicol)

References

Details

Attachments

(1 file)

As seen in bug 1507074, there are some GLES 3 devices which do not support the extension GL_OES_EGL_image_external_essl3. This means that we get a shader compilation error when attempting to render video (and webgl I think), then we fall back to OpenGL layers.

In bug 1507074 we will attempt to find a long-term solution, but for now let's block webrender on devices without this extension.

Currently webrender requires the extension
GL_OES_EGL_image_external_essl3 to render video. There exist some
older GLES 3 devices which do not support this extension, and
attempting to render video on these devices results in a shader
compilation error and falling back to OpenGL layers.

In bug 1507074 we will implement a long term solution for such
devices, but in the meantime block webrender on devices which do not
support this extension.

Assignee: nobody → jnicol
Status: NEW → ASSIGNED
Pushed by jnicol@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6bdd49767079 Block webrender on android devices which don't support GL_OES_EGL_image_external_essl3 r=aosmond

Ah, we can't rely on the glGetString*i* variant on all OpenGL versions, so instead we should just use glGetString() and nsCString::Split(' ') the returned value.

Flags: needinfo?(jnicol)
Pushed by jnicol@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b0615d0577ae Block webrender on android devices which don't support GL_OES_EGL_image_external_essl3 r=aosmond
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 87 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: