about video memory detection in wine

Henri Verbeet hverbeet at gmail.com
Thu Aug 13 06:29:48 CDT 2009

2009/8/12 Sun, Sunny <Sunny.Sun at 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?

More information about the wine-devel mailing list