Returning from standby with MDX
Submitted by tapalez on Sat, 01/12/2008 - 06:36.
When I use AgateMDX drivers and computer goes to stand by during program operation and then returns, rendering doesn't restart and there is no picture on the screen afterwards. This has been tested on several computers and it happens only with MDX drivers. Is it possible to somehow restart rendering when returning from stand by?
Unfortunately, it's not
Unfortunately, it's not possible at the moment.
This is an issue that I've never found a good way to deal with. DirectX can lose texture data anytime the application loses focus and the operating system decides it wants the video memory. OpenGL manages texture data by itself, so this is not an issue with OpenGL. Probably I will eventually implement a solution which keeps a copy of surface data in managed memory (a bit tricky for surfaces which are used as render targets) but that's not there at the moment.