Michel Dänzer wrote: > 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. I guess it wouldn't really help if the pixmap data is in another format.
>> 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 . Ah that looks nice. Should make it possible to pretty much always hit the fast memcopy path (if the source data is in a "common" 8888 format), maybe it's worth the effort. Roland ------------------------------------------------------------------------- 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