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/include/osgDB/DatabasePager

    r7017 r7074  
    219219        } 
    220220         
    221          
    222         /** Add a graphics context that should be used to compile/delete OpenGL objects.*/ 
    223         void addCompileGraphicsContext(osg::GraphicsContext* gc); 
    224          
    225         /** Removed a graphics context that should be used to compile/delete OpenGL objects.*/ 
    226         void removeCompileGraphicsContext(osg::GraphicsContext* gc); 
    227  
    228          
    229221        /** Turn the compilation of rendering objects for specfied graphics context on (true) or off(false). */ 
    230222        void setCompileGLObjectsForContextID(unsigned int contextID, bool on); 
     
    232224        /** Get whether the compilation of rendering objects for specfied graphics context on (true) or off(false). */ 
    233225        bool getCompileGLObjectsForContextID(unsigned int contextID); 
    234  
    235226 
    236227        /** Rerturn true if an external draw thread should call compileGLObjects(..) or not.*/ 
     
    376367 
    377368        ActiveGraphicsContexts          _activeGraphicsContexts; 
    378         CompileGraphicsContexts         _compileGraphicsContexts; 
     369        // CompileGraphicsContexts         _compileGraphicsContexts; 
    379370         
    380371        bool                            _doPreCompile;