From: Chris I. <wil...@us...> - 2004-02-22 21:34:07
|
> Each time texutil_tmp.h is included by texutil.c, eight new functions > are generated, four for texsubimage2d and four for texsubimage3d. > Those functions are listed in the arrays seen at lines 488 and 500 of > texutil_tmp.h um, apart from partial code duplications, is there any reason not to break these functions out into all the different types so each conversion type is done as fast as possible. Looking at it atm, (using my unrelated exprience in audio sample format convertion) these could be dramatically spead up by doing doing up functions that deal exclusively with a particular conversion. This would also make it much easier later on to add further conversion types and methods. Chris Ison |