[Mesa-dev] [PATCH 00/10] egl/android: Improve the Android EGL backend
robh at kernel.org
Tue Jul 19 03:35:35 UTC 2016
On Fri, Jul 15, 2016 at 2:53 AM, Tomasz Figa <tfiga at chromium.org> wrote:
> This series is a collection of various fixes and extensions we came up
> with during our attempt to use Mesa for Android.
> Fixes included in this series:
> - added mandatory EGL_MAX_PBUFFER_WIDTH and _HEIGHT attributes to EGL
> - fixed multiple issues with handling pbuffers in the backend,
> - found and fixed a DRI image leak,
> - made the implementation of DRI image loader .getBuffers callback
> conform better to the extension semantics.
> New features added by this series:
> - possibility to build the Android EGL platform without drm_gralloc
> - support for creating EGL images from Android native buffers with
> YV12 pixel format (prime-only),
> - fallback to kms_swrast driver when no hardware driver can be loaded
> but there is still some usable DRI node present in the system.
> - more logging in case of errors to help diagnosing problems.
> Testing was done using classic i965 (gen 8) and gallium softpipe drivers
> on an internal build of Android, based on gralloc backed by a DRM render
> node and sharing buffers by PRIME FDs.
I've tested out patches 1-6 with virgl and I don't get anything
displayed. I get this message:
EGL-DRI2: Front buffer is not supported for window surfaces
That's as far as I investigated. I'll look into it some more tomorrow.
Patches 7-10 wouldn't apply. Do you have a git tree with the series?
More information about the mesa-dev