• Advertisement
Sign in to follow this  

Is SDL hardware accelerated ?

This topic is 3102 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I've been starting with SDL and I wonder if SDL is hardware accelerated. I found a post in a random forum saying it wasn't, but well the post was 4 years old, things might have changed since then.

Share this post


Link to post
Share on other sites
Advertisement
As far as I know its not. This why the made option to easy integrate OpenGL to SDL.

Share this post


Link to post
Share on other sites
SDL 1.2 (the current version) can be hardware accelerated, under certain platforms under certain conditions. Also, on some platforms using hardware accelerated surfaces can result in a performance loss (mostly with alpha blending, which AFAIK SDL cannot accelerate).

SDL 1.3 (a new version, not released yet) introduces a new way to do rendering that is (potentially) hardware accelerated. The backend is OpenGL, so hopefully any platform that has OpenGL support will be accelerated.

You can obtain and build SDL 1.3 from the SDL subversion repository.

Share this post


Link to post
Share on other sites
Oh that's good news then, can't wait for a stable release. In the meanwhile I'll stick to 1.2.

Share this post


Link to post
Share on other sites
Bear in mind that the SDL 1.2 series is something like 6 or 7 years old now, I think? So don't hold your breath waiting for 1.3. If I were you I'd use a different API, like SFML.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement