On Fri, 2006-09-08 at 14:23 +0200, Roland Scheidegger wrote:
> 
> Everyone and their uncle uses just GL_UNSIGNED_BYTE as type, and since 
> we're using _mesa_texformat_rgba8888 (not the _rev type) that will cause 
> a slow path. 

Could AIGLX avoid this by using something other than GL_UNSIGNED_BYTE
though? E.g. I've hacked around endianness issues by using
GL_UNSIGNED_INT_8_8_8_8_REV instead.


> Not sure what applications tend to use on big endian, but if they are 
> doing the same they won't hit the fast path neither.

Most apps are blissfully unaware of endianness indeed. :}


> In theory it might be possible to configure the chip to do endianness 
> swapping on its own (so we could use the rgba8888_rev format in cases 
> the src format is rgba8888), but it's probably not worth the effort. 

In my experience, the texture byteswapping bits have no effect, but the
R200 engine actually supports an ABGR format. See
https://bugs.freedesktop.org/show_bug.cgi?id=6819 .


-- 
Earthling Michel Dänzer           |          http://tungstengraphics.com
Libre software enthusiast         |          Debian, X and DRI developer


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to