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   : [EMAIL PROTECTED]
YIM/AIM : gordon3dBrit
MSN IM  : [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
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
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to