Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

stoneMcClane

Member Since 30 Jun 2011
Offline Last Active Feb 27 2013 05:38 PM
-----

Posts I've Made

In Topic: [SlimDX] Multi-Monitor Multi-Window fullscreen troubles

15 April 2012 - 06:25 AM

Turns out that the only thing that was different between the original code and my SlimDX port was at fault for the issue Posted Image

To run the message loop for the application I simply used the SlimDX message pump on the first window...

						MessagePump.Run(g_WindowObjects.First().Form, () =>
						{
								RenderToAllMonitors();
								PresentToAllMonitors();
						});

... but this seems to have interfered with something that DXGI is doing during the fullscreen transition of this window.
I replaced the above code with a separate message loop (just like in the original sample code) and after that change it worked as expected.

I've put the whole code of the port to my bitbucket account so if anyone happens to need something like that, feel free to go there and grab it.

https://bitbucket.or...imdx_multimon11

In Topic: [SlimDX] Multi-Monitor Multi-Window fullscreen troubles

13 April 2012 - 12:51 PM

[Update]

As said I've now tried to create the windows in the exact same way the DX sample does it by using PInvoke for all necessary W32 calls ... the behaviour stays exactly the same as when using .NET Forms.
So I guess the issue might be related to either SlimDX or the .NET runtime is doing something which causes problems ?!

I'm kind of lost here right now, what else could I try to narrow the problem down ?

PARTNERS