[Mesa-dev] R: Re: libgallium.so and miscelaneous buildsystem patches
Fabio
fabio.ped at libero.it
Thu Oct 6 04:24:20 PDT 2011
>Da: keithw at vmware.com
>Data: 05/10/2011 11.39
>A: "Christopher James Halse Rogers"<christopher.halse.rogers at canonical.com>
>Cc: "Joakim Sindholt"<opensource at zhasha.com>, <mesa-dev at lists.freedesktop.
org>, "Fabio"<fabio.ped at libero.it>
>Ogg: Re: [Mesa-dev] libgallium.so and miscelaneous buildsystem patches
>
>On Wed, 2011-10-05 at 20:14 +1100, Christopher James Halse Rogers wrote:
>> On Wed, 2011-10-05 at 09:24 +0200, Joakim Sindholt wrote:
>> > On Tue, 2011-10-04 at 17:58 +0200, Fabio wrote:
>> > > Can the patches at
>> > > http://lists.freedesktop.org/archives/mesa-dev/2011-August/011099.html
>> > > be considered for merging?
>> > >
>> > > Sharing libgallium should save some MB of installed space.
>> >
>> > And be an ABI nightmare for distributions
>>
>> No; it's a private library. Distributions will happily ship a
>> libgallium built from exactly the same source that the DRI drivers are
>> built from. Indeed, that's what currently happens for those
>> distributions with ship with --enable-shared-dricore, and what happens
>> in Ubuntu, where we've got this patch series applied in our never-ending
>> quest to cram a fully-featured linux system on a 700MB CD.
>>
>> Saving 20-odd megabytes is really useful there :)
>
>An alternative would be to build all the drivers into a single library
>for maximal sharing.
A single library with all the drivers will however be bigger (compared to the
single driver + eventual shared libs) and it would use more memory.
More information about the mesa-dev
mailing list