> GraphicsWindowEmbbedded usage assume that context is always current
> for the life of the viewer.  With a bit of hacking you could probably
> disable the clean up the view and graphics window are attempting to
> do, but it would probably be far easier to remove the destroy the
> graphics window/viewer prior to the context being deleted.

Thanks.

JOGL has an interface with init(), display(), displayChanged(), and reshape().  
It doesn't have a method for when the context is being destroyed.  You can do 
something on the removeNotify() for the component, but we've seen some cases 
where the context is remade without prior notice (it had to do with resizing 
GLJPanel, which has a PBuffer inside it).  That just makes me concerned that I 
can't guarantee to catch a context going away before it does.

thanks,
andy

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

Reply via email to