Where does SDL store the images?

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
saulotmalo2
Posts: 43
Joined: Mon Sep 10, 2007 9:32 am

Where does SDL store the images?

Post by saulotmalo2 »

It is a short question I've been looking arround and I've seen too many anwers and diferent answers. Does the SDL store the images on RAM or in VRAM?

I was thinking it was storing them on RAM and when bliting to screen in VRAM.

thaks for answers
bulb
Posts: 50
Joined: Thu Jan 19, 2006 10:59 pm

Post by bulb »

I believe it depends whether you set SDL_SWSURFACE or SDL_HWSURFACE in SDL_SetVideoMode().

You can always check the sources to be 100% sure. :)
Post Reply