[SDL] pixels vs blit
slouken at devolution.com
Mon Jan 20 07:50:02 PST 2003
> Hello Everyone,
> I wonder if that question was already discussed or not. I'm working
> on my own minimalistic lib to show font on the screen. I've already
> implemented a lot of stuff I need but now I have following question:
> What's faster:
> 1) Lock the surface and draw pixels directly to surface.
> 2) Create a surface with a font out of the font array and then blit
> rectangles wherever I need to show text.
The winner is... #2!
-Sam Lantinga, Software Engineer, Blizzard Entertainment
More information about the SDL