[Mesa-dev] [PATCH 4/4] dri: Add a default drirc to be installed to provide application workarounds.
Eric Anholt
eric at anholt.net
Wed Jan 25 17:24:45 PST 2012
On Wed, 25 Jan 2012 23:56:27 +0100, Marek Olšák <maraeo at gmail.com> wrote:
> Hi Eric,
>
> I don't like this, because I don't have drirc in my system. Obviously
> Canonical decided not to include it and that also means some of my
> users don't have it. Please can we add workarounds directly in the
> code and on a per-app basis? Something like:
>
> if (is_linked("libUnigine_x86.so") ||
> is_linked("libUnigine_x64.so"))
> apply_workarounds_for_unigine();
We've never shipped a drirc from Mesa before, which this patch changes,
so I don't see how "I don't have one installed yet" matters.
drirc is a great way to provide these application-specific workarounds,
because it's flexible at runtime, so you can test if the app still needs
the crap, or you can reuse the crap for some other app, or you can apply
the crap to every app because you never want to be bothered.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20120125/d6233d77/attachment.pgp>
More information about the mesa-dev
mailing list