[patch] xserver:dri
Paulo César Pereira de Andrade
pcpa at mandriva.com.br
Thu Feb 12 10:54:55 PST 2009
Daniel Stone wrote:
> On Wed, Feb 11, 2009 at 03:10:08PM -0500, Adam Jackson wrote:
>> Bool *npe = LoaderSymbol("noPanoramiXExtension");
>> if (npe && !*npe)
>> /* Xinerama is enabled, bail out */
>> else
>> /* either it's disabled or we built without it */
>
> ... or, since the module's built from the server anyway, just roll with
> the #ifdefs.
The usefulness of having the integer boolean always available,
regardless of extension enabled/disabled/not_compiled
should be clear, as well as possibly minimal stubs so that
drivers/modules won't break.
But this is only useful when using module&server from different
builds, and still have them abi compatible, otherwise, just fix
the #ifdef's.
> Cheers,
> Daniel
More information about the xorg-devel
mailing list