Introduced new osg::discardDeletedOpenGLObjects() methods, and usage of it in

GrpahicsContext::close() to handle cases where deletingOpenGLObjects is no possible,
such as when GraphicsWindowEmbedded is used.
This commit is contained in:
Robert Osfield
2008-01-08 13:24:29 +00:00
parent f3448d3307
commit ff565128af
27 changed files with 216 additions and 29 deletions

View File

@@ -475,6 +475,10 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Texture)
__void__flushAllDeletedTextureObjects__unsigned_int_S,
"",
"");
I_StaticMethod1(void, discardAllDeletedTextureObjects, IN, unsigned int, contextID,
__void__discardAllDeletedTextureObjects__unsigned_int_S,
"",
"");
I_StaticMethod3(void, flushDeletedTextureObjects, IN, unsigned int, contextID, IN, double, currentTime, IN, double &, availableTime,
__void__flushDeletedTextureObjects__unsigned_int__double__double_R1_S,
"",