From: atani <at...@at...> - 2005-11-29 18:26:07
|
On Nov 29, 2005, at 9:34 AM, Dan Potter wrote: > That's not a bad plan. We've been discussing a lot of this design > pattern stuff at work, re C++ commonly accepted practice. So I may > take a shot at this soon. Maybe I'll actually have some time on it > tonight if my wife doesn't lock her keys in the car again ;) > Cool :) In m y day job I mostly work in Java now so my C++ gets a bit of influence from that nowadays.. > > Yeah, true. It might be nice to have some platform-specific support > for pre-twiddled textures in there too, to avoid doing that > processing at runtime if it's possible. Similar things could be > done for DXT(?) encoded textures on GL platforms. Perhaps having an enum on Texture which we can add these as "flags"? That way we can have a unified "base" which returns something like "not implemented" for things like VQ/twiddle and then on the DC port we can override this with a proper implementation. Another thing to consider could be usage of exceptions within Tiki? Mike |