Jump to content
  • Advertisement
Sign in to follow this  
taras_g

Device losses during offscreen rendering

This topic is 5038 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

Is it probable to lose a IDirect3DDevice9 device if it has never presented an image either to a window or a screen? Taras

Share this post


Link to post
Share on other sites
Advertisement
Yes, it's possible.

Lost devices are typically caused during an Alt-Tab between a fullscreen exclusive application and the desktop.

When this happens between different screen modes (e.g. 640x480x16 game to 1024x768x16 desktop), many drivers flush *all* resources from video memory and rebuild their internal maps of what's in that memory.

This means all render target surfaces, back buffer, primary surface, video memory textures and video memory VBs/IBs can potentially be lost/flushed, resulting in a lost device.

[Edited by - S1CA on October 1, 2004 9:06:34 AM]

Share this post


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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!