-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate to Vortice.Windows #15615
base: master
Are you sure you want to change the base?
Migrate to Vortice.Windows #15615
Conversation
Why would we want to break .NET Framework support? Are there known problems with SharpDX that affect Avalonia-based apps? IIRC it was covering the required D2D API surface and was trimming-friendly. |
The D2D1 backend has been broken for long time since we introduced the compositing renderer (it doesn't work at all and throws an exception immediately before #15610, and even after the fix, it's still not working and results in bad visuals on the UI), so I believe there's no existing user who is using it. Dropping the .NET Framework support for this specified package seems fine as it won't break anyone. |
So libHarfBuzzSharp.dll, libSkiaSharp.dll and av_libglesv2.dll files will no longer required for Avalonia Single-File/AoT apps? |
If you are using D2D backend, yes. |
Harfbuzz is still required unless someone wants to implement text shaping with DirectWrite |
What does the pull request do?
Migrate from SharpDX to Vortice.Windows.
Supersedes #7947
What is the current behavior?
Relying on SharpDX which is no longer being maintained.
Breaking changes
Avalonia.Direct2D no longer supports net6.0 and lower.