On Mon, Jul 21, 2003 at 07:54:31AM -0700, Ian Romanick wrote:
The driTextureObject represents what's going on in the hardware, and the Mesa gl_texture_object represents what's going on in OpenGL.
Ok I've attached a new patch which makes dirty_images[0] work on hwlevels. Is this more to your liking?
I believe that's more in-line with the intended behavior of firstLevel and lastLevel. I've since done some investigation into the Radeon & R200 drivers, and I found some inconsistencies there as well. How about if you commit this patch, and I'll fix-up the other drivers. After that one of us can try and refactor some of this common code out. I *hate* having to make the same change in (literally...Radeon, R200, R128, i830, and MGA) 5 different places.
You should also commit your other patch for GL_LINEAR & GL_NEAREST min filter.
The problem with the glean texEnv test is that, by it's own admission, it only hits a very small subset of the possible cases. One of the things that it does, IIRC, is only test RGB and RGBA as texture base formats. I don't think it hits L, I, AL, or A textures at all. If demos/texenv looks good, then it's a good bet that things are okay.
I don't think that too many of these other texture base formats are used that often. It will probably be difficult to find a "real world" test.
Just found one for GL_ALPHA: Freespace2. I got really scared when it
didn't work like it should but then I realised that there was a problem
with hw.alpha_sel. Once it was set to diffused it was never reset to fromtex.
That's good to know. We should probably try to work that into the testing rotation for other drivers as well.
------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel
