[SKIA] How to use Hardware Acceleration on Target Framework Desktop? #17700
Unanswered
MichaelJachan
asked this question in
Q&A
Replies: 2 comments 2 replies
-
At this time, the implementation for We're working on changing this in #16621 with |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi, part of this work has been merged, but we have a follow up PR in progress, tracking in #18181 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
I am working on Win11 with Target Framework
Desktop
with"Uno.Sdk": "5.3.31"
I have seen your code example (XAML-Markup) SkiaSharpTest. When running SkiaSharpTest and clicking CheckBox Hardware Accelerated, the Message "is not supported" will be shown. As far as I have understood,
SKSwapChainPanel
cares for hardware acceleration, right? I have searched your code base and I guess,SKSwapChainPanel
is available on other platforms than Windows.I have successfully replicated SkiaSharpTest using C# MARKUP, but only the version with painting on a
SKXamlCanvas
(no HW acceleration).My question is: How to use Hardware Acceleration on Windows?
I can include the type
SKSwapChainPanel
by using NuGetSkiaSharp.Views
, but then I obtain a runtime ExceptionSystem.NotSupportedException' in SkiaSharp.Views.Windows.dll
Best, Michael
Beta Was this translation helpful? Give feedback.
All reactions