Just a couple of questions regarding SDL blitting:
1) When copying pixels 1:1 from a surface onto another where the opacity, colormods and such do not matter,
is the getpixel/putpixel method (described here:http://sdl.beuc.net/sdl.wiki/Pixel_Access) faster than SDL_BlitSurface?
2) In SDL_surface.c of the SDL-2.0.2 source code, where SDL_LowerBlit can be found, there is this piece of code at line 514:
return (src->map->blit(src, srcrect, dst, dstrect));
Where in the code base can I find what map->blit(src, srcrect, dst, dstrect) does? I'm trying to understand how the blitting works better.
Thanks in advance!