Sign in to follow this  

GLX render thread initialization

This topic is 3047 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

From reading around I have figured out that to do rendering in a separate thread to game logic you create a window and then in the render thread create the context, at least thats how it works with wgl. Is it the same with glx? Do I pass the display, visual and window to the render thread from the window creation and call glXCreateContext/glXMakeCurrent from the render thread? cheers.

Share this post


Link to post
Share on other sites
Thanks for the reply, but I understood that the keyboard & mouse would be handled in the game logic thread, therefore requiring a window and thus a display connection, while OpenGL render calls were made from a separate thread?
Have I missed the point here? Maybe I wasn't clear enough...

Share this post


Link to post
Share on other sites

This topic is 3047 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this