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
Avalonia also supports rendering with Direct2D. Wouldn't it make more sense to go that route? At least in my experience Skia tends to cause performance problems.
Found this video. It's pretty old so don't know if things are still the same / comparable, but judging from it Avalonia + Direct2d looks like a clear winner.
existing implementation to check: https://github.com/TheKeyblader/Stridelonia
Avalonia Skia gpu setup:
https://github.com/AvaloniaUI/Avalonia/tree/master/src/Skia/Avalonia.Skia/Gpu
GPU implementation for WebGL as an example:
https://github.com/AvaloniaUI/Avalonia/blob/master/src/Web/Avalonia.Web.Blazor/BlazorSingleViewLifetime.cs
https://github.com/AvaloniaUI/Avalonia/blob/master/src/Web/Avalonia.Web.Blazor/BlazorSkiaGpu.cs
Also interesting for running skia with ANGLE:
mono/SkiaSharp#745
https://github.com/mono/SkiaSharp/tree/main/source/SkiaSharp.Views/SkiaSharp.Views.UWP/GlesInterop
https://hg.mozilla.org/mozilla-central/file/tip/gfx/gl/SharedSurfaceD3D11Interop.cpp
Step 2:
if we got Skia GPU images from a shared texture handle, we can also render 3d content into an Avalonia app.
The text was updated successfully, but these errors were encountered: