Getting the amount of available texture memory

can i query this via jogl, or java.system?

Tia

Paul

As far as I know it’s not possible.

nothing is ever simple:), first thing that comes up into me is to, create a lots of textures and see when opengl runs out of memory,
but i consider this more as a hack, than as a proper solution. Even window$s showhs the amout of memory on the video card.
So if there are any other solutions possible i’m eager to know

Paul

While not guaranteed to always be correct, I imagine you can use it to get a good idea of texture memory.

http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/aretexturesresident.html

You can’t directly find this out. However, if you want to find out if a given texture can fit in memory, you can create texture proxies of the same setup and OpenGL will tell you whether that can fit in the current resource limits.