[osg-users] Removing objects with shared GL state from scene graph

Robert Osfield robert.osfield at gmail.com
Tue Aug 27 02:04:57 PDT 2019


Hi Chris,

Thanks for the test program.  I've created a CMake file and got it
compiling and running on my Linux system.  I tweaked the window creation so
it uses a multiple windows on a single screen as that suits by desktop
configuration better.  On pressing 'V' multiple times I get the white text
and GL errors reported on the second time the extra view creation happens.

I've put debugging code into the Registry and Renderer to see if my
addition to Renderer::releaseGLObjects() was working and found that when
the view gets removed this isn't called.  However, if I press escape and
the both view+windows get deleted then the Renderer::releaseGLObjects()
gets called.  I don't know why this isn't working as intended yet.

I have other work to get on with today so I'll need to return to
investigating this later, my guess is that we just need to tighten up the
handling of the removeView.

Robert.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20190827/c8c9b055/attachment.html>


More information about the osg-users mailing list