Hi, I didn't yet investigate, but as far as I understood, you don't need to subclass QSurface. You can create a QOpenGLContext object in the render thread and a QSurface in the GUI thread, then do context->makeCurrent(surface) to let the context render to the surface. After that, the two objects don't have to communicate, window resize events can be sent to the gl thread via signals/slots.
Cheers, Martin ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=51206#51206 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org