Show
Ignore:
Timestamp:
07/06/07 15:08:51 (7 years ago)
Author:
robert
Message:

Added include/osg/GLObjects + .cpp which provide osg::flush*DeletedGLObjects() methods.

Added and cleaned up DeleteHandler? calls in osgViewer to help avoid crashes on exit.

Changed DatabasePager? across to dynamically checcking osg::getCompileContext(..)

Updated wrappers.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgWrappers/osgDB/DatabasePager.cpp

    r7024 r7074  
    260260                  "Merge the changes to the scene graph by calling calling removeExpiredSubgraphs then addLoadedDataToSceneGraph. ", 
    261261                  "Note, must only be called from single thread update phase. "); 
    262         I_Method1(void, addCompileGraphicsContext, IN, osg::GraphicsContext *, gc, 
    263                   Properties::NON_VIRTUAL, 
    264                   __void__addCompileGraphicsContext__osg_GraphicsContext_P1, 
    265                   "Add a graphics context that should be used to compile/delete OpenGL objects. ", 
    266                   ""); 
    267         I_Method1(void, removeCompileGraphicsContext, IN, osg::GraphicsContext *, gc, 
    268                   Properties::NON_VIRTUAL, 
    269                   __void__removeCompileGraphicsContext__osg_GraphicsContext_P1, 
    270                   "Removed a graphics context that should be used to compile/delete OpenGL objects. ", 
    271                   ""); 
    272262        I_Method2(void, setCompileGLObjectsForContextID, IN, unsigned int, contextID, IN, bool, on, 
    273263                  Properties::NON_VIRTUAL,