Show
Ignore:
Timestamp:
09/22/09 20:45:24 (5 years ago)
Author:
robert
Message:

Preliminary work on support for a texture object pool that is designed to help manage resources down the GPU more tightly.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/include/osg/DisplaySettings

    r10350 r10588  
    199199        void setApplication(const std::string& application) { _application = application; } 
    200200        const std::string& getApplication() { return _application; } 
     201 
     202 
     203        void setMaxTexturePoolSize(unsigned int size) { _maxTexturePoolSize = size; } 
     204        unsigned int getMaxTexturePoolSize() const { return _maxTexturePoolSize; } 
     205 
     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; } 
    201211 
    202212    protected: 
     
    241251        std::string                     _application; 
    242252 
     253        unsigned int                    _maxTexturePoolSize; 
     254        unsigned int                    _maxVBOPoolSize; 
     255        unsigned int                    _maxFBOPoolSize; 
    243256}; 
    244257