One more observation, shouldn't the call to plod->releaseGLObjects in
capped_removeExpiredSubgraphs be
plod->releaseGLObjectsOnExpiredChildren?

Thanks!

Jason

On Fri, Apr 2, 2010 at 2:09 PM, Jason Beverage <[email protected]> wrote:
> Hi Robert,
>
> In the DatabasePager the releaseGLObjects method isn't being called
> expired PagedLOD's unless the OSG_RELEASE_DELAY environment variable
> is used.  The _releaseDelay variable is set to DBL_MAX by default and
> before any calls to releaseGLObjects are made in DatabasePager.cpp it
> checks to see if _releaseDelay != DBL_MAX.
>
> Is this the desired behavior?  It seems like this would leak OpenGL objects.
>
> Thanks,
>
> Jason
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to