On Thu, Jun 16, 2011 at 7:02 AM, Chia-I Wu <olva...@gmail.com> wrote:
> On Thu, Jun 16, 2011 at 10:20 AM, Marek Olšák <mar...@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.

Marek
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to