Results 1 to 2 of 2

Thread: OpenGl vs sdl

  1. #1
    PGD Staff code_glitch's Avatar
    Join Date
    Oct 2009
    Location
    UK (England, the bigger bit)
    Posts
    933
    Blog Entries
    45

    OpenGl vs sdl

    I have been looking into moving towards opengl for better performance, but have no idea what to expect from opengl when compared to sdl. Also, would moving to pure opengl be worth leaving the friendliness of sdl behind?

    cheers,
    code_glitch

    PS. I have had some debug woes before, so just how easy/hard is debugging opengl?
    I once tried to change the world. But they wouldn't give me the source code. Damned evil cunning.

  2. #2
    SDL 1.2 Can be combined with openGL. You can do the windowing, events and audio with SDL while rendering your graphics with OpenGL. As far as I know, OpenGL is alot faster and more flexible than SDL, but also harder to use. In OpenGL you can render a lot of alpha-blended/rotated/colorized images. This would be a problem in SDL I guess.

    AFAIK, SDL 1.3 will be a lot better/faster and will use hardware accelleration as opposed to SDL 1.2. But I don't know when it will be released (looking forward to it for a long time now).
    Coders rule nr 1: Face ur bugz.. dont cage them with code, kill'em with ur cursor.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •