On 2 September 2016 at 17:56, Snorri Sturluson snorri.sturluson@ccpgames.com wrote:
Hm, I’m now tracking only resources of type WINED3D_RTYPE_TEXTURE_2D - the numbers are slightly lower, but as expected, the bulk is coming from textures.
I’m fairly certain I don’t have any textures loaded that are not actively used for rendering so it’s not clear to me why they would reside in system memory.
I just want to rule out that the textures aren’t allocated still in system memory as well as by OpenGL.
Check the texture flags, textures with WINED3D_TEXTURE_RGB_VALID or WINED3D_TEXTURE_SRGB_VALID set generally shouldn't have system memory allocated. The "download_count", "sysmem_count" and "texture_rgb.name" fields are also potentially interesting.