Page 1 of 1

SDL video flag questions

Posted: Fri May 21, 2010 10:34 pm
by cloudncali
Hello,

I have an SDL related question. When using the SDL_SetVideoMode function, what is better(or faster I should say): Hardware surface or software surface, what are the differences between the two, and when is it better to use one over the other.

I remember long ago I found a code snipplet that would check for the best flags to pass to SDL_SetVideoMode. Dose any one know a method of checking available hardware and setting SDL accordingly?

Thanks,
Jacob

Re: SDL video flag questions

Posted: Fri May 21, 2010 11:11 pm
by short
cloudncali wrote:Hello,

I have an SDL related question. When using the SDL_SetVideoMode function, what is better(or faster I should say): Hardware surface or software surface, what are the differences between the two, and when is it better to use one over the other.
http://linuxdevcenter.com/pub/a/linux/2 ... _anim.html