Show
Ignore:
Timestamp:
10/03/09 11:25:23 (4 years ago)
Author:
robert
Message:

Introduced new GLBufferObject pool for managing the memory footprint taken up by VertexBufferObejct?, ElementBufferObject? and PixelBufferObject?.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgUtil/SceneView.cpp

    r10595 r10601  
    10261026    tom->newFrame(state->getFrameStamp()); 
    10271027 
     1028    osg::GLBufferObjectManager::GLBufferObjectManager* bom = osg::GLBufferObjectManager::getGLBufferObjectManager(state->getContextID()); 
     1029    bom->newFrame(state->getFrameStamp()); 
     1030 
    10281031    if (!_initCalled) init(); 
    10291032 
     
    15671570#ifdef REPORT_TEXTURE_MANAGER_STATS 
    15681571    tom->reportStats(); 
     1572    bom->reportStats(); 
    15691573#endif 
    15701574