Introduced new GLBufferObject pool for managing the memory footprint taken up by VertexBufferObejct, ElementBufferObject and PixelBufferObject.
This commit is contained in:
@@ -394,24 +394,14 @@ BEGIN_OBJECT_REFLECTOR(osg::DisplaySettings)
|
||||
__unsigned_int__getMaxTexturePoolSize,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMaxVBOPoolSize, IN, unsigned int, size,
|
||||
I_Method1(void, setMaxBufferObjectPoolSize, IN, unsigned int, size,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMaxVBOPoolSize__unsigned_int,
|
||||
__void__setMaxBufferObjectPoolSize__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getMaxVBOPoolSize,
|
||||
I_Method0(unsigned int, getMaxBufferObjectPoolSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getMaxVBOPoolSize,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMaxFBOPoolSize, IN, unsigned int, size,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMaxFBOPoolSize__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getMaxFBOPoolSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getMaxFBOPoolSize,
|
||||
__unsigned_int__getMaxBufferObjectPoolSize,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(bool, AccumBuffer,
|
||||
@@ -441,18 +431,15 @@ BEGIN_OBJECT_REFLECTOR(osg::DisplaySettings)
|
||||
I_SimpleProperty(float, EyeSeparation,
|
||||
__float__getEyeSeparation,
|
||||
__void__setEyeSeparation__float);
|
||||
I_SimpleProperty(unsigned int, MaxFBOPoolSize,
|
||||
__unsigned_int__getMaxFBOPoolSize,
|
||||
__void__setMaxFBOPoolSize__unsigned_int);
|
||||
I_SimpleProperty(unsigned int, MaxBufferObjectPoolSize,
|
||||
__unsigned_int__getMaxBufferObjectPoolSize,
|
||||
__void__setMaxBufferObjectPoolSize__unsigned_int);
|
||||
I_SimpleProperty(unsigned int, MaxNumberOfGraphicsContexts,
|
||||
__unsigned_int__getMaxNumberOfGraphicsContexts,
|
||||
__void__setMaxNumberOfGraphicsContexts__unsigned_int);
|
||||
I_SimpleProperty(unsigned int, MaxTexturePoolSize,
|
||||
__unsigned_int__getMaxTexturePoolSize,
|
||||
__void__setMaxTexturePoolSize__unsigned_int);
|
||||
I_SimpleProperty(unsigned int, MaxVBOPoolSize,
|
||||
__unsigned_int__getMaxVBOPoolSize,
|
||||
__void__setMaxVBOPoolSize__unsigned_int);
|
||||
I_SimpleProperty(unsigned int, MinimumNumAccumAlphaBits,
|
||||
__unsigned_int__getMinimumNumAccumAlphaBits,
|
||||
0);
|
||||
|
||||
Reference in New Issue
Block a user