Re: [osg-users] Memory leak when using a pixel buffer to generate thumbnails

2020-06-24 Thread Brian Hutchison
Cheers Robert, it is working a treat now. Brian On Wednesday, 24 June 2020 12:47:55 UTC+1, OpenSceneGraph Users wrote: > > On Wed, 24 Jun 2020 at 11:52, OpenSceneGraph Users < > osg-...@lists.openscenegraph.org > wrote: > >> I think I have enough for a way forward now. >> One small remaining

[osg-users] Re: Memory leak when using a pixel buffer to generate thumbnails

2020-06-24 Thread Brian Hutchison
Thanks Robert, excellent answer. I think I have enough for a way forward now. One small remaining question, Does readRefNodeFile access GL at all for any of these file formats:".3ds",".dae",".shp",".dxf"? Or, to put it another way, can readRefNodeFile be called safely from a std:async thread

[osg-users] Memory leak when using a pixel buffer to generate thumbnails

2020-06-23 Thread Brian Hutchison
Hi Robert, I am using code extracted from the osgscreencapture example to generate small thumbnails of loaded shapes. It all work is very nicely except that it is leaking memory on each usage. I have commented out our code and based on that and a few other tests I am fairly convinced that the