Sign in to follow this  

Multithreaded fullscreen D3D for multiple cards

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

Unfortunately the whole fullscreen D3D / focus window thing is a bit of a mystery to me... I'm currently creating multiple D3D devices for multiple gfx cards (I'll ignore the multi-head stuff as that should be trivial). All running in a single thread. 1) All my created devices are attaching to a SINGLE focus window. This isn't my main app window, it's just one I create and give focus. 2) The WndProc for the focus window handles nothing except WM_ERASEBKGND, to ensure it is ignored. Seems to work. But that's the bit I hate. I'd like to KNOW that it should work, or recode it the proper way. The next phase is to create each D3D device in it's own thread. In this case they will all need their own focus windows (or do they?). The docs seem to suggest that is OK, you just give each the focus in turn as you init fullscreen mode. Sounds tricky to handle lost devices though... Anyone like to point out where I might be screwing up before I waste too many nights of this?

Share this post


Link to post
Share on other sites

This topic is 3773 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this