Description
wpf/src/Microsoft.DotNet.Wpf/src/WpfGfx/core/common/display.cpp
Lines 2128 to 2134 in e7cad62
Remove that check for m_fNonLocalDevicePresent
and DirectX h/w acceleration in RDP will start working.
In general, the overall role of m_fNonLocalDevicePresent
may have to be re-evaluated and updated. <>
This limitation (is s/w rendering in RDP) is no longer needed in WDDM driver model, though it made sense historically when XPDM drivers were in the mix in the ecosystem for .NET Framework.
Stretch goal: Prove this works well and is safe in .NET 5 and then port the change to .NET 4.8. All the remote working software devs who use Visual Studio over RDP would love the improvement.
/cc @fabiant3 , @SamBent - I’d be happy to contribute if you are open to take this change. Not sure whether the timing is right wrt .NET 5 schedule etc.