[SDL] 2D API evolution (SDL 1.3/2.0)

Torsten Giebl wizard at syntheticsw.com
Sun Aug 27 03:05:32 PDT 2006


Hello !


> That's the advantage of run time assembled shaders.
>
>
> Did you generate functions for each blitter?
>
>
> If you put them in one big function it saves quite a bit of space.
> Since you remove 800 function declarations, and 800 variable setups.
> Just use big switch statements.  You can still use different loops.
> Probably still quite large though :)


Please try this. That would be a good way
to see how big these func. decl. are.



CU





More information about the SDL mailing list