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/include/osg/DisplaySettings

    r10588 r10601  
    204204        unsigned int getMaxTexturePoolSize() const { return _maxTexturePoolSize; } 
    205205 
    206         void setMaxVBOPoolSize(unsigned int size) { _maxVBOPoolSize = size; } 
    207         unsigned int getMaxVBOPoolSize() const { return _maxVBOPoolSize; } 
    208  
    209         void setMaxFBOPoolSize(unsigned int size) { _maxFBOPoolSize = size; } 
    210         unsigned int getMaxFBOPoolSize() const { return _maxFBOPoolSize; } 
     206        void setMaxBufferObjectPoolSize(unsigned int size) { _maxBufferObjectPoolSize = size; } 
     207        unsigned int getMaxBufferObjectPoolSize() const { return _maxBufferObjectPoolSize; } 
    211208 
    212209    protected: 
     
    252249 
    253250        unsigned int                    _maxTexturePoolSize; 
    254         unsigned int                    _maxVBOPoolSize; 
    255         unsigned int                    _maxFBOPoolSize; 
     251        unsigned int                    _maxBufferObjectPoolSize; 
    256252}; 
    257253