13 Aug
2009
13 Aug
'09
11:29 a.m.
2009/8/12 Sun, Sunny <Sunny.Sun(a)amd.com>:
I think you can first detect GL_ATI_meminfo in glGetString(GL_EXTENSIONS); if GL_ATI_meminfo exists, then you can use glGetIntegerv(GL_VBO_FREE_MEMORY_ATI, param) to get the current free video memory, you can see more info at:
Is VBO_FREE_MEMORY_ATI the most appropriate value to query, or would TEXTURE_FREE_MEMORY_ATI make more sense?