[osg-users] Switch call to viewer::frame() between threads
Steven Powers
StevenAPowers at gmail.com
Tue Sep 11 10:41:43 PDT 2018
Thanks for the replies. This is mostly experimental and I have already been calling frame() from a child thread for a while now without any problems as long as I call createGraphicsContext() and realize() from the same child thread.
This effort is to streamline the initialization of the application on the mainthread which would require me to call realize/cGC() on a different thread.
This seems to break all of the windows event control when I start calling frame() on a thread other than the one that created the graphics context and called realize().
My question is if I can re-initialize this or do I have to create a fresh window to get this to work.
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=74710#74710
More information about the osg-users
mailing list