You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Greetings!
After a bit of testing of my project on Windows 10, I've noticed that I get increased frame latency while running in windowed mode on D3D11.
I've measured it through PresentMon CLI, which told me that the swapchain uses GPU GDI copy for compositing with latency before displaying (msUntilDisplayed) hovering around 45 ms.
After replacing SwapEffect.Discard with SwapEffect.FlipSequential for Win32SwapchainSource (so it's now just like the UWP one), latency dropped to 30 ms, so given my display refresh rate the net result is about one frame less latency.
I'm not much experienced with D3D (I've worked mostly with OpenGL), so I'm not aware of any shortcomings to this except that it's seem to be incompatible with Win7 according to docs (which is probably due to DWM changes between versions if I understand correctly).
The question is, can we add a Windows version check to D3D11Swapchain so it will use FlipSequential if running on Win8+ for better performance?
The text was updated successfully, but these errors were encountered:
Greetings!
After a bit of testing of my project on Windows 10, I've noticed that I get increased frame latency while running in windowed mode on D3D11.
I've measured it through PresentMon CLI, which told me that the swapchain uses GPU GDI copy for compositing with latency before displaying (msUntilDisplayed) hovering around 45 ms.
After replacing SwapEffect.Discard with SwapEffect.FlipSequential for Win32SwapchainSource (so it's now just like the UWP one), latency dropped to 30 ms, so given my display refresh rate the net result is about one frame less latency.
I'm not much experienced with D3D (I've worked mostly with OpenGL), so I'm not aware of any shortcomings to this except that it's seem to be incompatible with Win7 according to docs (which is probably due to DWM changes between versions if I understand correctly).
The question is, can we add a Windows version check to D3D11Swapchain so it will use FlipSequential if running on Win8+ for better performance?
The text was updated successfully, but these errors were encountered: