How to get card memory?

How can I know using OpenGL the ammount of memory in the graphics card? I need to know it so I can decide the quality of the textures in my application.


You can’t. The best thing you can do is to check GL errors for GL_OUT_OF_MEMORY. Use texture priorities instead.

some graphic driver shows Graphics Memory in use
from that you can estimate for texture.