• Advertisement
Sign in to follow this  

GPU Memory Management

This topic is 2566 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

In DirectX 11, fullscreen mode, is there a way to manually manage the GPUs memory? e.g.. to control which textures are in the GPUs real memory?

I know that when the GPU is shared then it makes sense to virtualise the GPUs memory and let the OS page stuff out of GPU ram and into system RAM (And vice versa) but when in full screen mode I was wondering if you can get more direct control over this?

One reason why I'd want to do this is because I have a large texture that I'd like to keep in GPU RAM. This texture may not be used for long periods of time and so will be a prime candidate for being swapped out of GPU RAM, yet when it is needed its needed instantly without delay and so I don't want to have to wait whilst its copied back from system ram into GPU ram.

Can this be done?

Maybe I have to "touch" the texture every frame, even when I'm not using it, to keep it from being swapped out?


Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement