Jump to content

  • Log In with Google      Sign In   
  • Create Account

#ActualTheChubu

Posted 10 April 2014 - 07:34 PM


So if you want to render into multiple windows (which does not necessarily imply they are running on different threads, but let’s say they are), make a single context, set it active on thread A, render into window A, make it active on thread B. and render into window B.

So what you're saying is that a same context can render to a different window?

 

EDIT: Well I didn't knew that. TBH I shy away from context management/creation so its no wonder I didn't knew biggrin.png Googled around, StackOverflow has the calls needed http://stackoverflow.com/questions/452806/multiple-windows-in-opengl


#2TheChubu

Posted 10 April 2014 - 07:30 PM


So if you want to render into multiple windows (which does not necessarily imply they are running on different threads, but let’s say they are), make a single context, set it active on thread A, render into window A, make it active on thread B. and render into window B.

So what you're saying is that a same context can render to a different window?

 

EDIT: Well I didn't knew that. TBH I shy away from context management/creation so its no wonder I didn't knew :D Googled around, StackOverflow has the calls needed StackOverflow has the calls needed http://stackoverflow.com/questions/452806/multiple-windows-in-opengl


#1TheChubu

Posted 10 April 2014 - 07:26 PM


So if you want to render into multiple windows (which does not necessarily imply they are running on different threads, but let’s say they are), make a single context, set it active on thread A, render into window A, make it active on thread B. and render into window B.
So what you're saying is that a same context can render to a different window?

PARTNERS