Re: [osg-users] Determine texture memory allocation size

2008-11-28 Thread Art Tevs
Fr, 28.11.2008: Von: Jean-Sébastien Guay [EMAIL PROTECTED] Betreff: Re: [osg-users] Determine texture memory allocation size An: [EMAIL PROTECTED], OpenSceneGraph Users osg-users@lists.openscenegraph.org Datum: Freitag, 28. November 2008, 2:11 Hi Art, Gordon, Sorry Opengl does

Re: [osg-users] Determine texture memory allocation size

2008-11-28 Thread Jean-Sébastien Guay
Hi Art, As far as I was bale to find additional info there is no such method in GL specifications ;( Hence my solution is just to compute the size based on internal format and resolution, using the implementation from osg::Image. For my purpose this seems to be enough. It was not clear to me

[osg-users] Determine texture memory allocation size

2008-11-27 Thread Art Tevs
Hi, does anybody of you know if it is possible to determine the size of allocated bytes of texture in the memory (VRAM or just RAM if swapped). One can compute it by the internal texture format and data type, however I would be interested if there exists some opengl routine which do gives me

Re: [osg-users] Determine texture memory allocation size

2008-11-27 Thread Gordon Tomlinson
PROTECTED] On Behalf Of Art Tevs Sent: Thursday, November 27, 2008 6:15 PM To: OpenSceneGraph Users Subject: [osg-users] Determine texture memory allocation size Hi, does anybody of you know if it is possible to determine the size of allocated bytes of texture in the memory (VRAM or just RAM

Re: [osg-users] Determine texture memory allocation size

2008-11-27 Thread Jean-Sébastien Guay
Hi Art, Gordon, Sorry Opengl does not provide any such function or capability, you have to track this on your own I'm afraid OpenGL doesn't, but if you install nVidia's instrumented drivers, there are a large number of counters you can query for low-level things like this. I'm not sure