Consider replacing SharpDX with alternative
Problem to solve
SharpDX has served us well so far, but it's been unmaintained for a while now. And our usage of D3D11 (and other native graphics APIs) will only grow from libvlc 4 onward.
I have started experimenting with https://github.com/terrafx/terrafx.interop.windows/ as part of my work on binding the v4 output callbacks and the experience is good. The maintainer is working on the .NET runtime, the bindings are autogenerated.
I think it would be a good candidate for our D3D11 uses (notably the UWP/WinUI component).
I am thinking it may be a good idea to replace the v3 UWP VideoView SharpDX code so to have only 1 D3D11 binding used for easier maintenance, instead of terrafx for v4 (output callbacks + new UWP view) and SharpDX for v3 (UWP view only).
But on the other hand, SharpDX has been stable so far so we could switch only in v4, as more demanding needs will be v4 only with the output callbacks (d3d12 etc.).
Thoughts?
Intended users
No real change for users either way.
Proposal
Convert v3 d3d11 code from using SharpDX to terrafx. Or not.
Thoughts?