Hello all.

I noticed that NV_texture_rectangle appeared in the R100 driver string after
then recent R200 merge.  I did some looking around, and found that it is
explicitly enabled in the R200 driver and has code to support rectangular
textures.  It seems that it is enabled by default in Mesa.  Is this correct?
I didn't dig deep enough in Mesa to see if it would somehow automatically
convert a rectangle to a power-of-two, so this might be okay.

In the R100 driver, we could be in one of two situations.

1. NV_texture_rectangle is exported, but not really supported.  This is bad.
   If this is the case, then extras/Mesa/src/extensions.c should be changed
   to mark NV_texture_rectangle OFF by default.  I'd really hate to see a
   crash, incorrect rendering, or a SW fallback for a non-required extension.

2. Mesa automagically does some stuff to make rectangular textures work on
   hardware that only supports power-of-two textures.  In this case, there
   could be a lot of wasted space on R100 (which does support rectangular
   textures).  In this case, Keith: what do I need to do to the R100 driver
   to make it work?  I don't want to have to just look for differences from
   the R200 driver, as that is a lot of (error prone) work. :)

-- 
Smile!  http://antwrp.gsfc.nasa.gov/apod/ap990315.html


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to