[Mesa-dev] [PATCH] egl/glx: Remove egl_glx driver

Pekka Paalanen ppaalanen at gmail.com
Thu Jan 30 00:14:43 PST 2014


On Thu, 30 Jan 2014 02:55:54 +0100
Marek Olšák <maraeo at gmail.com> wrote:

> egl_gallium also seems to have backends for Wayland, DRM, etc. I guess
> this should really be in core Mesa though.

From what I have tested, egl_gallium is also the only way to use
software rendering (llvmpipe) on Wayland. egl_dri2 simply fails, I
guess it cannot use wl_shm buffers.

This is a bit inconvenient, because egl_gallium is currently the only
way to support sw GL on Wayland clients (works also when the compositor
itself does not use EGL at all!), but if you actually build
egl_gallium, it will be preferred over egl_dri2, which means that both
nouveau and radeon hardware drivers get used through egl_gallium by
default. Just today someone came complaining about a bug due to
egl_gallium with nouveau on Wayland.

I suspect this is a PITA for distributions.


Thanks,
pq

> On Thu, Jan 30, 2014 at 2:39 AM, Matt Turner <mattst88 at gmail.com>
> wrote:
> > On Wed, Jan 29, 2014 at 4:14 PM, Michel Dänzer <michel at daenzer.net>
> > wrote:
> >> On Mit, 2014-01-29 at 12:18 -0800, Matt Turner wrote:
> >>> On Wed, Jan 29, 2014 at 9:25 AM, Chad Versace
> >>> <chad.versace at linux.intel.com> wrote:
> >>> > Mesa now has a real, feature-rich EGL implementation on X11 via
> >>> > xcb. Therefore I believe there is no longer a practical need
> >>> > for the egl_glx driver.
> >>> >
> >>> > Furthermore, egl_glx appears to be unmaintained.  The most
> >>> > recent nontrivial commit driver was 6baa5f1 on 2011-11-25.
> >>> >
> >>> > Signed-off-by: Chad Versace <chad.versace at linux.intel.com>
> >>> > ---
> >>>
> >>> In a similar vein -- is gallium_egl useful for anything these
> >>> days? The only time I hear it mentioned is when telling others to
> >>> not use it.
> >>
> >> In contrast to egl_dri2, egl_gallium supports OpenVG.
> >
> > I suppose I could ask whether OpenVG is useful for anything these
> > days? :)
> >
> > I've heard on IRC that we could simply add OpenVG support to DRI if
> > anyone actually cared about it.
> > _______________________________________________
> > mesa-dev mailing list
> > mesa-dev at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/mesa-dev
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev



More information about the mesa-dev mailing list