On Wed, 4 Dec 2002, magenta wrote:

> On Wed, Dec 04, 2002 at 02:30:31PM -0600, D. Hageman wrote:
> > On Wed, 4 Dec 2002, magenta wrote:
> > > 
> > > Actually, I just thought of a solution which could possibly satisfy all
> > > three camps: have a libGL wrapper library (loaded via LD_PRELOAD) which
> > > overrides functionality as needed.  Want to force FSAA to be enabled?  Put
> > > it into glXCreateContext().  Want to force GL_RGB8 when the application
> > > chooses GL_RGB?  Do it in glTexImage().  Hey, if you want to force GL_RGB4
> > > when the application chooses GL_RGB8, you could do that too!
> > > 
> > > Basically, I see no reason to put this configuration into the drivers
> > > themselves, as it could easily be done using an LD_PRELOADed library.
> > 
> > That isn't a decent solution.  You would have to have a large amount of a 
> > "wrappers" laying around to support all the possible hints/options a 
> > person would want to use.  It is probably the worst in terms of user 
> > friendliness as well.  
> 
> Um, why couldn't a single wrapper override all fo the calls it needs to
> override for the purpose of providing the functionality of a tweak utility?
> A single library could easily provide every user-configurable setting here.

Okay, I guess I could see what you are saying now ... it still isn't 
exactly what I would call an elegant solution.  The more I think about it 
the more I cringe of the thought of it.  We don't have to make workarounds 
and cheap hacks to accomplish this -- we have the source code ... we can 
do it right.  

'nuff on that ...

I guess the best question is since this idea has caused a lot of heat, but 
everyone seems to agree that it would be a nice idea - How do we decide 
where to go next with it? 


-- 
//========================================================\\
||  D. Hageman                    <[EMAIL PROTECTED]>  ||
\\========================================================//


-------------------------------------------------------
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