[osg-users] Amount of texture memory used

Gordon Tomlinson gordon at gordon-tomlinson.com
Wed Mar 19 18:41:14 PDT 2008


With OpenGL and OSG the short answer is no there is no way to do this,
Opengl itself does not provide any feed back, one reason being when its card
memory is exhausts it typically pages to system memory ( not always but in
most cases )
 
Also remember it is not texture memory really it is simply memory on the
card that is uses yes for texture but also for your verts, colors, normal's,
shaders, desktop, buffer etc etc so any method you use to track usage has to
take into account of all the things that eat the cards memory and it will
only be an estimate...
 
 
 
 
 
 
 

__________________________________________________________
Gordon Tomlinson 

Email   : gordon at GordonTomlinson.com
YIM/AIM : gordon3dBrit
MSN IM  : gordon3dBrit at 3dscenegraph.com
Website : www.vis-sim.com www.gordontomlinson.com 


__________________________________________________________
"Self defence is not a function of learning tricks 
but is a function of how quickly and intensely one 
can arouse one's instinct for survival" 
-Master Tambo Tetsura 

 

  _____  

From: osg-users-bounces at lists.openscenegraph.org
[mailto:osg-users-bounces at lists.openscenegraph.org] On Behalf Of
rpingry at gmail.com
Sent: Wednesday, March 19, 2008 8:40 PM
To: OpenSceneGraph Users
Subject: [osg-users] Amount of texture memory used


Hello All,
 
Is there a way to find out how much texture memory is being used?  We are
finding that keeping texture memory in check is critical to the performance
of our game, depending of course on how much memory the card has.  
 
Thanks

-- Rick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080319/18366d94/attachment.html 


More information about the osg-users mailing list