mardi 27 mai 2014

c# - Mode fenêtré D3D9 multi-moniteurs - débordement de pile


I have just started looking into D3D9 using SlimDX.


I have a device created off the primary display adapter and device.present only flips the backbuffer onto the primary monitor. When the window is moved to the secondary display, the surface is no longer updated. That is expected.


What I'm trying to do though, is that if the window is moved across to the secondary display (fully across to secondary display or partially, occupying both primary and secondary displays), the same rendered image gets presented.


What do I need to do to achieve this (someone suggested CreateAdditionalSwapChain, but I'm not getting the bigger picture of how this could work)?



I have just started looking into D3D9 using SlimDX.


I have a device created off the primary display adapter and device.present only flips the backbuffer onto the primary monitor. When the window is moved to the secondary display, the surface is no longer updated. That is expected.


What I'm trying to do though, is that if the window is moved across to the secondary display (fully across to secondary display or partially, occupying both primary and secondary displays), the same rendered image gets presented.


What do I need to do to achieve this (someone suggested CreateAdditionalSwapChain, but I'm not getting the bigger picture of how this could work)?


0 commentaires:

Enregistrer un commentaire