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/osgWrappers/osg/DisplaySettings.cpp

    r10588 r10601  
    395395                  "", 
    396396                  ""); 
    397         I_Method1(void, setMaxVBOPoolSize, IN, unsigned int, size, 
    398                   Properties::NON_VIRTUAL, 
    399                   __void__setMaxVBOPoolSize__unsigned_int, 
    400                   "", 
    401                   ""); 
    402         I_Method0(unsigned int, getMaxVBOPoolSize, 
    403                   Properties::NON_VIRTUAL, 
    404                   __unsigned_int__getMaxVBOPoolSize, 
    405                   "", 
    406                   ""); 
    407         I_Method1(void, setMaxFBOPoolSize, IN, unsigned int, size, 
    408                   Properties::NON_VIRTUAL, 
    409                   __void__setMaxFBOPoolSize__unsigned_int, 
    410                   "", 
    411                   ""); 
    412         I_Method0(unsigned int, getMaxFBOPoolSize, 
    413                   Properties::NON_VIRTUAL, 
    414                   __unsigned_int__getMaxFBOPoolSize, 
     397        I_Method1(void, setMaxBufferObjectPoolSize, IN, unsigned int, size, 
     398                  Properties::NON_VIRTUAL, 
     399                  __void__setMaxBufferObjectPoolSize__unsigned_int, 
     400                  "", 
     401                  ""); 
     402        I_Method0(unsigned int, getMaxBufferObjectPoolSize, 
     403                  Properties::NON_VIRTUAL, 
     404                  __unsigned_int__getMaxBufferObjectPoolSize, 
    415405                  "", 
    416406                  ""); 
     
    442432                         __float__getEyeSeparation,  
    443433                         __void__setEyeSeparation__float); 
    444         I_SimpleProperty(unsigned int, MaxFBOPoolSize,  
    445                          __unsigned_int__getMaxFBOPoolSize,  
    446                          __void__setMaxFBOPoolSize__unsigned_int); 
     434        I_SimpleProperty(unsigned int, MaxBufferObjectPoolSize,  
     435                         __unsigned_int__getMaxBufferObjectPoolSize,  
     436                         __void__setMaxBufferObjectPoolSize__unsigned_int); 
    447437        I_SimpleProperty(unsigned int, MaxNumberOfGraphicsContexts,  
    448438                         __unsigned_int__getMaxNumberOfGraphicsContexts,  
     
    451441                         __unsigned_int__getMaxTexturePoolSize,  
    452442                         __void__setMaxTexturePoolSize__unsigned_int); 
    453         I_SimpleProperty(unsigned int, MaxVBOPoolSize,  
    454                          __unsigned_int__getMaxVBOPoolSize,  
    455                          __void__setMaxVBOPoolSize__unsigned_int); 
    456443        I_SimpleProperty(unsigned int, MinimumNumAccumAlphaBits,  
    457444                         __unsigned_int__getMinimumNumAccumAlphaBits,