Closed Rytisgit closed 1 year ago
I tested a bit more and it looks like it's not actually the threading setting that's broken, but the skiasharp nuget, with "SkiaSharp.Views.Uno.WinUI" Version="2.88.4-preview.3"
working, but not having threading available, and "SkiaSharp.Views.Uno.WinUI" Version="2.88.4-preview.4"
failing both with threads and without
Latest builds of SkiaSharp 2.88.4 should be fixing this issue.
Current behavior
Trying to use the new threading functionality which was merged into skiasharp, it always throws an exception when trying to draw something.
Expected behavior
Threads work with Skiasharp and SKXamlCanvas.
How to reproduce it (as minimally and precisely as possible)
skxamlcanvas_thread_bug.zip
Workaround
None that I know.
Works on UWP/WinUI
None
Environment
No response
NuGet package version(s)
The "SkiaSharp.Views.Uno.WinUI" Version="2.88.4-preview.11" is from the Skiasharp preview Nuget Source: https://aka.ms/skiasharp-eap/index.json
Affected platforms
WebAssembly
IDE
Visual Studio 2022
IDE version
Version 17.4.3
Relevant plugins
No response
Anything else we need to know?
hosted with dotnet serve as per the threading documentation:
dotnet serve -p 8000 -h "Cross-Origin-Embedder-Policy: require-corp" -h "Cross-Origin-Opener-Policy: same-origin"