On Thu, Dec 05, 2002 at 05:29:18AM +0100, Alexander Stohr wrote:
> The layer idea is not bad,
> but its more the taste of a hack.
> Remember that dri is OpenSource,
> so you dont need those hacks.

Just because something *can* be put into the source doesn't mean it
*should*.  Have you ever heard the expression "creeping featuritis?"

> As soon as you start with that you will notice that a layer
> will increase distance between your application and the drivers 
> on nearly any call. You dont really want that.

You as the application programmer don't, but you as the USER who has
explicitly decided to USE the tweak library might want to.

> Further you cant ensure that you covered all the paths 
> because GL is an extensible system that might open 
> highly relevant paths. And you might have to keep track 
> of the numerous render state variables in order to keep
> the things in order and to know when to intercept and
> when not to intercept.

The point of this isn't to have a pervasive "change the entire behavior of
OpenGL at every nook and cranny" thing, it's to have a "hey, as the user, I
would prefer that the driver do $foo in this simple circumstance" thing.

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