[SDL] rendering from a different thread.

Charles McGarvey onefriedrice at brokenzipper.com
Wed Jan 2 22:58:44 PST 2008


Anyone have any insights with using SDL & OpenGL with the rendering code and 
SDL_GL_SwapBuffers looping in a non-main thread?  Is this safe on all 
platforms?  Is this a good idea for a real-time rendering application like a 
game?  What are the pros/cons compared to drawing only in the main thread?

Thanks,
chaz 



More information about the SDL mailing list