Any difference between SDL_HWSURFACE and SDL_SWSURFACE regarding speed and performance?

SDL_HWSURFACE vs SDL_SWSURFACE or even SDL_FULLSCREEN?

What are the pros and cons here? I guess HW is much faster.

http://www.libsdl.org/docs/html/sdlsetvideomode.html

+5
source share
1 answer

The SDL Wiki says the best:

SDL_SWSURFACE
SDL will create a surface in system memory. This improves pixel-level access performance, but you won’t be able to take advantage of some types of hardware blitting.

SDL_HWSURFACE
SDL . SDL Video- > Video blits ( ).

:

SDL_HWSURFACE , SDL_SWSURFACE, , , . , SDL openGL.

SDL_FULLSCREEN , SDL .

+6

All Articles