[Mesa-dev] [PATCH 4/4] dri: Add a default drirc to be installed to provide application workarounds.
Marek Olšák
maraeo at gmail.com
Thu Jan 26 02:50:17 PST 2012
On Thu, Jan 26, 2012 at 2:24 AM, Eric Anholt <eric at anholt.net> wrote:
> 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.
OK. I googled some discussion where they decided not to ship it. It
took me a whlle to realize it hadn't been from Mesa. Sorry for the
noise.
Marek
More information about the mesa-dev
mailing list