Hi Wang,
I've patched OSG to get multithreaded rendering working. I've used 
QGLContext::moveToThread, as you suggested, before the thread starts and the 
same function when the thread ends.

I'm sharing the patch. Maybe it will save a little of your time. Please note 
that I'm not sure this is the best way to do it, take it just as a hint what 
has to be done.

Cheers,
Vitezslav

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=52239#52239




Attachments: 
http://forum.openscenegraph.org//files/osg_qt5_multithreading_564.txt


_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to