Re: How do you access second display adapter without being a desktop extension?
- From: "Sam Brown" <subiNOSPAM@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 25 Jan 2007 21:24:06 -0000
Its not a loss of focus that causes this, its a loss of the device.
That only happens when you put one of the devices in exclusive mode --
the other device is then lost.
I use DirectX 8, and happily run fullscreen exclusive
devices on both adapters, and, besides a single
restore on each at the start before loading anything,
never have either lose its resources.
You can do this as long as both have their own HWND*. One
or other of the windows needs the focus, but the one without
does not lose its resources, and you can happily upload
stuff to it, render with it, etc. with no problem. You
basically end up with two instances of the game that just
happen to be controlled by the same app. ;)
*(you can actually use the same HWND for both, but the
devices on which restore has not been called last will
not catch mouse presses, and will cause the focus to be
lost when you try, as when you attach a device to a window,
the window appears to resize to match the display)
Cheers,
- SamB
.
- Follow-Ups:
- Re: How do you access second display adapter without being a desktop extension?
- From: Richard [Microsoft Direct3D MVP]
- Re: How do you access second display adapter without being a desktop extension?
- References:
- How do you access second display adapter without being a desktop extension?
- From: SolidState
- Re: How do you access second display adapter without being a desktop extension?
- From: Richard [Microsoft Direct3D MVP]
- Re: How do you access second display adapter without being a desktop extension?
- From: Richard [Microsoft Direct3D MVP]
- Re: How do you access second display adapter without being a desktop extension?
- From: Sam Brown
- Re: How do you access second display adapter without being a desktop extension?
- From: Richard [Microsoft Direct3D MVP]
- How do you access second display adapter without being a desktop extension?
- Prev by Date: Re: How do you access second display adapter without being a desktop extension?
- Next by Date: Re: How do you access second display adapter without being a desktop extension?
- Previous by thread: Re: How do you access second display adapter without being a desktop extension?
- Next by thread: Re: How do you access second display adapter without being a desktop extension?
- Index(es):
Relevant Pages
|