On Sun, Oct 19, 2003 at 11:30:08PM +0200, Felix Kühling wrote:
> On Sun, 19 Oct 2003 20:12:59 +0300
> Ville Syrjälä <[EMAIL PROTECTED]> wrote:
> > But I don't really like the fact that the driver forces the texture bpp
> > even when the app specified a sized internalFormat. This breaks the 
> > texture quality option in quake3 at least. I think this option should only
> > affect the non-sized internalFormats and maybe we should add a FORCE_BPT
> > option in case someone want's to go against the app's wishes?
> 
> Ok. But this problem was there before my patch. All I did was change the
> way mmesa->default32BitTextures is initialized. The ChooseTextureFormat
> functions of mga, r200 and radeon look very similar. Maybe we can fix
> them all at the same time. How does the attached patch for mga look?

Looks fine to me.

> There is one more thing I don't understand about these functions: Why is
> format == GL_BGRA treated specially in the GL_RGBA case?

Because the hardware supports those format/type combinations. Avoids
software conversion.

-- 
Ville Syrjälä
[EMAIL PROTECTED]
http://www.sci.fi/~syrjala/


-------------------------------------------------------
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise
Linux in the Boardroom; in the Front Office; & in the Server Room
http://www.enterpriselinuxforum.com
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to