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.

-- 
http://trikuare.cx


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