SDL video flag questions

Whether you're a newbie or an experienced programmer, any questions, help, or just talk of any language will be welcomed here.

Moderator: Coders of Rage

Post Reply
User avatar
cloudncali
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 13
Joined: Sun Jan 18, 2009 8:36 pm
Current Project: Random stuff
Favorite Gaming Platforms: PC
Programming Language of Choice: C++
Contact:

SDL video flag questions

Post 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
Come visit my youtube channel:
http://www.youtube.com/cloudncali
User avatar
short
ES Beta Backer
ES Beta Backer
Posts: 548
Joined: Thu Apr 30, 2009 2:22 am
Current Project: c++, c
Favorite Gaming Platforms: SNES, PS2, SNES, SNES, PC NES
Programming Language of Choice: c, c++
Location: Oregon, US

Re: SDL video flag questions

Post 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
My github repository contains the project I am currently working on,
link: https://github.com/bjadamson
Post Reply