Closed
Bug 1247216
Opened 8 years ago
Closed 8 years ago
[RPi2] Fallback to an EGLConfig without EGL_FRAMEBUFFER_TARGET_ANDROID in case of failure
Categories
(Firefox OS Graveyard :: GonkIntegration, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: _AtilA_, Assigned: _AtilA_)
References
Details
Android for Raspberry 2 is not well supported, and one of the problems we have is that Mesa library implementation of EGL doesn't support EGL_FRAMEBUFFER_TARGET_ANDROID attribute. In order to work, we can make a fallback when eglChooseConfig fails, to test the very same EGLconfig [1] but removing this attribute. I think this shouldn't hurt too much the code coherence, and fixes our problem. [1] https://dxr.mozilla.org/mozilla-central/rev/2dfb45d74f42d2a0010696f5fd47c7a7da94cedb/gfx/gl/GLContextProviderEGL.cpp#612
Assignee | ||
Comment 1•8 years ago
|
||
Ok, looks like Mesa is implementing this Android flag in it's codebase. Furthermore, there are plans to keep FFOS graphics stack as close as possible to Fennec and FF Desktop so our best chance here is to fork Mesa, apply the patches to make it work with this flag. [1] https://patchwork.freedesktop.org/patch/72058/
Assignee | ||
Comment 2•8 years ago
|
||
Fixed in this branch: https://github.com/mozilla-b2g/external_mesa3d/commit/278e6db39c7ccf3639d726c33e0fbe12bbcc990e
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•