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/State.cpp

    r10600 r10601  
    707707                  "", 
    708708                  ""); 
    709         I_Method1(void, setMaxVBOPoolSize, IN, unsigned int, size, 
    710                   Properties::NON_VIRTUAL, 
    711                   __void__setMaxVBOPoolSize__unsigned_int, 
    712                   "", 
    713                   ""); 
    714         I_Method0(unsigned int, getMaxVBOPoolSize, 
    715                   Properties::NON_VIRTUAL, 
    716                   __unsigned_int__getMaxVBOPoolSize, 
    717                   "", 
    718                   ""); 
    719         I_Method1(void, setMaxFBOPoolSize, IN, unsigned int, size, 
    720                   Properties::NON_VIRTUAL, 
    721                   __void__setMaxFBOPoolSize__unsigned_int, 
    722                   "", 
    723                   ""); 
    724         I_Method0(unsigned int, getMaxFBOPoolSize, 
    725                   Properties::NON_VIRTUAL, 
    726                   __unsigned_int__getMaxFBOPoolSize, 
     709        I_Method1(void, setMaxBufferObjectPoolSize, IN, unsigned int, size, 
     710                  Properties::NON_VIRTUAL, 
     711                  __void__setMaxBufferObjectPoolSize__unsigned_int, 
     712                  "", 
     713                  ""); 
     714        I_Method0(unsigned int, getMaxBufferObjectPoolSize, 
     715                  Properties::NON_VIRTUAL, 
     716                  __unsigned_int__getMaxBufferObjectPoolSize, 
    727717                  "", 
    728718                  ""); 
     
    881871                         __C5_Program_PerContextProgram_P1__getLastAppliedProgramObject,  
    882872                         __void__setLastAppliedProgramObject__C5_Program_PerContextProgram_P1); 
    883         I_SimpleProperty(unsigned int, MaxFBOPoolSize,  
    884                          __unsigned_int__getMaxFBOPoolSize,  
    885                          __void__setMaxFBOPoolSize__unsigned_int); 
     873        I_SimpleProperty(unsigned int, MaxBufferObjectPoolSize,  
     874                         __unsigned_int__getMaxBufferObjectPoolSize,  
     875                         __void__setMaxBufferObjectPoolSize__unsigned_int); 
    886876        I_SimpleProperty(unsigned int, MaxTexturePoolSize,  
    887877                         __unsigned_int__getMaxTexturePoolSize,  
    888878                         __void__setMaxTexturePoolSize__unsigned_int); 
    889         I_SimpleProperty(unsigned int, MaxVBOPoolSize,  
    890                          __unsigned_int__getMaxVBOPoolSize,  
    891                          __void__setMaxVBOPoolSize__unsigned_int); 
    892879        I_IndexedProperty(bool, ModeValidity,  
    893880                          __bool__getModeValidity__StateAttribute_GLMode,