Show
Ignore:
Timestamp:
10/01/09 22:19:42 (5 years ago)
Author:
robert
Message:

Introduced new BufferObject? design + implementation in preperation of implementing a pool system for buffer objects

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osg/GLObjects.cpp

    r7821 r10600  
    2424void osg::flushDeletedGLObjects(unsigned int contextID, double currentTime, double& availableTime) 
    2525{ 
    26     osg::BufferObject::flushDeletedBufferObjects(contextID,currentTime,availableTime); 
     26    osg::GLBufferObject::flushDeletedBufferObjects(contextID,currentTime,availableTime); 
    2727    osg::Drawable::flushDeletedDisplayLists(contextID,availableTime); 
    2828    osg::FragmentProgram::flushDeletedFragmentProgramObjects(contextID,currentTime,availableTime); 
     
    4040    double currentTime = DBL_MAX; 
    4141    double availableTime = DBL_MAX; 
    42     osg::BufferObject::flushDeletedBufferObjects(contextID,currentTime,availableTime); 
     42    osg::GLBufferObject::flushDeletedBufferObjects(contextID,currentTime,availableTime); 
    4343    osg::Drawable::flushAllDeletedDisplayLists(contextID); 
    4444    osg::FragmentProgram::flushDeletedFragmentProgramObjects(contextID,currentTime,availableTime); 
     
    5454void osg::discardAllDeletedGLObjects(unsigned int contextID) 
    5555{ 
    56     osg::BufferObject::discardDeletedBufferObjects(contextID); 
     56    osg::GLBufferObject::discardDeletedBufferObjects(contextID); 
    5757    osg::Drawable::discardAllDeletedDisplayLists(contextID); 
    5858    osg::FragmentProgram::discardDeletedFragmentProgramObjects(contextID);