From: atani <at...@at...> - 2005-11-28 15:29:08
|
On Nov 27, 2005, at 12:52 PM, Dan Potter wrote: > > Also speaking of large textures... the texture handling in Tiki is > really crappy right now. :D I wrote it up as a quick hack to get > things moving, but it wastes a ton of VRAM and regular RAM. I think > it keeps a copy of the original texture in regular RAM, and then it > converts it to ARGB8888 and stuffs it into VRAM like that. I am thinking of taking advantage of the fact that we store the "original" texture data as well as the VRAM version. The way I am thinking of using this is for the palette based textures. Something along the lines of old DOS mode 13 graphics (256 color, etc). I have most of these changes in an older version of Tiki already but need to promote them to the latest. > That's probably especially bad on the DC unless you guys put in > some hacks to deal with it. We might want to hit that up if any > texture RAM optimizations are needed (which they assuredly will be > on a PC with less than 32MB of VRAM, especially Macs). If it is wasting space on the PC it will waste space on the DC likely as well. Mike |