Am Mittwoch, 4. Dezember 2002 21:18 schrieb Ian Romanick:
> On Wed, Dec 04, 2002 at 12:06:20PM -0800, magenta wrote:
> > On Wed, Dec 04, 2002 at 11:06:01AM -0800, Allen Akin wrote:
> > > On Wed, Dec 04, 2002 at 12:57:44AM -0600, D. Hageman wrote:
> > > | This illustrates one of the bad points of using environment
> > > | variables. Will we have to add environment variables every time a new
> > > | app is pushed out the door?  Bad approach.
> > >
> > > In general, if a bug affects every app, then the driver needs to be
> > > fixed.  Ian's scenario (and my reply) were about the case in which you
> > > want to change driver behavior for one app without affecting others.
> >
> > But this isn't about application bug workarounds, it's about users
> > specifying hinting or forcing extensions to be active or whatever.
>
> As I pointed out in another post, the same mechanism could be used for
> both. There are enough corner cases in the OpenGL spec that an application
> could do something that would just happen to work fine with one dirver, but
> crash horribly on another.  If that were to happen in, say, Maya or Doom 3
> or some other commercial app, the common practice on other systems is to
> provide a driver based work around.
>
> The ideal sollution is to fix the app, but not all developers move at the
> speed of open source. :)
>
> > 1. Users should be able to configure default behavior using configuration
> > files (which would be selected based on argv[0] or similar)
> >
> > 2. Users should be able to configure default behavior using environment
> > variables (which would be configured on a per-application basis using
> > wrapper scripts or a launcher program or similar)
> >
> > 3. Users should not be able to configure default behavior; applications
> > should specify all behavior explicitly if it matters, and expose this as
> > an application-level configuration option to the user
> >
> > Personally, I'm torn between camps 1 and 3.
>
> In terms of policy, camps 1 and 2 really are the same.  The difference
> between 1 and 2 is just a matter of mechanism.

Yes, I'll second this.
I mentioned '/etc/mesa.conf' only as example but can live without it.
The QT/XFT way sounds good to me.
Let the 'Tweek_tools' (Gnome, KDE, etc.) write to it and second you have the 
functionality like environment variables.

But let's start with "Right" (tm) defaults for the cards (default user conf) 
in the libGL.

-Dieter


-------------------------------------------------------
This SF.net email is sponsored by: Microsoft Visual Studio.NET
comprehensive development tool, built to increase your
productivity. Try a free online hosted session at:
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to