Free video memory efficiently
I have a multi-process application and each process owns a very big 3D texture.Only one process is active at the same time while other process run in background and don't need the graphic resouces. As the video memory is very limited, so I want to free texture memory owned by current process when switching to other process. The only way to free texture as I know is "glDeleteTextures", but seems not so efficient as I switch processes very frequently.I also considered a global texture management among all processes, according to http://www.opengl.org/discussion_boa...ween-processes it's almost impossible. Is there any other way to do this?
Tags for this Thread