[Mesa-dev] [PATCH 0/9] Some egl/wayland patches
daniel at fooishbar.org
Mon May 4 07:12:45 PDT 2015
On 2 May 2015 at 11:15, Axel Davy <axel.davy at ens.fr> wrote:
> Since gallium egl state tracker was dropped,
> there was no way to use swrast with wayland,
> since it was not implemented for egl_dri2.
> This patch serie aimed at implementing swrast support
> for the wayland egl_dri2 backend.
> But I also went at fixing a few other related things.
> I also took the opportunity to make new versions of my
> patches from last year to implement render-nodes and
> DRI_PRIME support. The only major difference is that
> it doesn't have fallback when blitImage is unimplemented
> by driver. It is implemented by gallium drivers only.
> It just means for now that you can use a radeon or nouveau
> card with DRI_PRIME, but not an intel card. So all normal
> use cases are supported.
> The swrast __DRIswrastLoaderExtension API seems to have been
> designed with X11 in mind. As a result, it doesn't fit perfectly
> wayland: a copy could be avoided by upgrading this API.
> There doesn't seem to be interest in doing this work for a small
> gain for something that's not as efficient as hw rendering anyway.
Patches 1-7 are Reviewed-by: Daniel Stone <daniels at collabora.com>.
Patch 8 looks OK, except that it seems like the anonymous-file helper
could be made shared somewhere; if so, brilliant, then if not, R-b
anyway. I'm not really competent to review patch 9 if I'm honest.
More information about the mesa-dev