[Mesa-dev] [PATCH 1/6] configure.ac: remove redundant option --enable-gallium-egl

Marek Olšák maraeo at gmail.com
Sat Jun 18 08:02:52 PDT 2011

On Thu, Jun 16, 2011 at 7:02 AM, Chia-I Wu <olvaffe at gmail.com> wrote:
> On Thu, Jun 16, 2011 at 10:20 AM, Marek Olšák <maraeo at gmail.com> wrote:
>> Why not to use egl_dri2 for all drivers, the classic and gallium ones?
>> Why not to build a single fully-replaceable binary for a driver, like
>> classic swrast_dri.so can be replaced by swrastg_dri.so from Gallium?
>> Like radeon_drv.so from xf86-video-ati can be replaced by r300_drv.so
>> from Gallium?
>> I thought it had been agreed long ago that Gallium is a private
>> unstable interface inside drivers and shouldn't be exposed publicly in
>> any way. With that, I see no reason for egl_gallium.so to exist.
> egl_gallium supports OpenVG and some EGL extensions not supported by
> egl_dri2.  SCons's build of egl_gallium does not expose any internal
> interface.  I can(/should have) adjust autoconf-based build not to
> too.

OK, I didn't know about that.

> Maybe we can have egl_dri2 enabled and egl_gallium disabled when
> --enable-egl, and has the option to enable egl_gallium?  Then maybe
> have --enable-openvg depend on egl_gallium?

Sounds good.


More information about the mesa-dev mailing list