SDL and GX? December 13, 2009 08:14PM | Registered: 15 years ago Posts: 405 |
Re: SDL and GX? December 14, 2009 01:16AM | Registered: 15 years ago Posts: 703 |
Re: SDL and GX? December 15, 2009 08:54PM | Registered: 15 years ago Posts: 405 |
Re: SDL and GX? December 15, 2009 09:18PM | Registered: 15 years ago Posts: 703 |
Re: SDL and GX? December 16, 2009 08:50PM | Registered: 15 years ago Posts: 405 |
Re: SDL and GX? December 17, 2009 10:47AM | Registered: 14 years ago Posts: 379 |
Re: SDL and GX? December 20, 2009 12:36PM | Registered: 15 years ago Posts: 405 |
seems like my pc just wont let me without implementing opengl,Quote
Daid
While this is not the place for PC SDL questions, I do have a few tips for you.
First, make sure you really got hardware surfaces. Some configurations only give you software surfaces even if you ask for hardware (I think 8 bit screens are always software on windows)
You can check the SDL_Surface->flags for that: [www.libsdl.org]
Next, make sure you do hardware->hardware blits on the same type of surfaces.
32bit hw -> 32bit hw should be fast.
16bit hw -> 32bit hw might fall back to slow blitting
32bit sw -> 32bit hw is slower then 32bit sw -> 32bit sw
And last but not least, direct pixel acces on hwsurfaces is slower then on swsurfaces!