Re: [Mesa3d-dev] Texture code refactoring

2007-05-10 Thread Brian Paul
Ian Romanick wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > I've been doing a little work in Mesa's texture code lately. I've > mostly been resurrecting my old patch to implement MESAX_texture_stack. > In the process, I've found a few bits of code that could be refactored. > > Att

Re: [Mesa3d-dev] Texture code refactoring

2007-05-10 Thread Alan Hourihane
Ian, This bit of the patch is broken case GL_TEXTURE_3D: - { -const struct gl_texture_unit *texUnit; -texUnit = &ctx->Texture.Unit[ctx->Texture.CurrentUnit]; -return (texUnit->Enabled & TEXTURE_3D_BIT) ? GL_TRUE : GL_FALSE; - } +

[Mesa3d-dev] Texture code refactoring

2007-05-09 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I've been doing a little work in Mesa's texture code lately. I've mostly been resurrecting my old patch to implement MESAX_texture_stack. In the process, I've found a few bits of code that could be refactored. Attached are 4 patches. I'd like to ge