try to use a 8888 texture format which will result in only a memcopy in mesa's texsto...
authorRoland Scheidegger <rscheidegger@gmx.ch>
Wed, 20 Sep 2006 19:11:56 +0000 (19:11 +0000)
committerRoland Scheidegger <rscheidegger@gmx.ch>
Wed, 20 Sep 2006 19:11:56 +0000 (19:11 +0000)
commit62d4dfbfe3f7c452f3c182bfdb9270a2f20e3f2d
tree2d4798e3555cc39f4ba82fb2293b3d2a3f664658
parent46c3bd29be4970a8b0c1c358aae0f1d7c05bc9f4
try to use a 8888 texture format which will result in only a memcopy in mesa's texstore functions whenever possible for r200 and r300. r200 can use hw formats argb8888, rgba8888 and abgr8888 (or the opposite on big endian), r300 can use argb8888, bgra8888, rgba8888 and abgr8888 regardless of endian, as it supports free component swizzling.
src/mesa/drivers/dri/r200/r200_tex.c
src/mesa/drivers/dri/r200/r200_texmem.c
src/mesa/drivers/dri/r200/r200_texstate.c
src/mesa/drivers/dri/r300/r300_tex.c
src/mesa/drivers/dri/r300/r300_texstate.c