Is it possible to use SKSwapChainPanel with WinUI? #3304
Unanswered
bytesandwich
asked this question in
Q&A
Replies: 1 comment
-
ANGLE is currently borked (#2968), but you could build it from vcpkg instead |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to create a minimal, unpackaged WinUI 3 application that uses SKSwapChainPanel for hardware-accelerated rendering. According to the SkiaSharp support matrix, this seems to be the recommended approach for GPU rendering on Windows.
However, I consistently run into native DLL loading errors, such as SideBySide conflicts or crashes related to loading libGLESv2.dll, when I try to build or publish the application.
I've tried various combinations of the following packages without success:
Microsoft.WindowsAppSDK
SkiaSharp.Views.WinUI
SkiaSharp.NativeAssets.WinUI or SkiaSharp.NativeAssets.Win32
What is the officially supported or community-verified combination of NuGet packages and .csproj settings needed to get a simple, GPU-accelerated SKSwapChainPanel running reliably in an unpackaged WinUI 3 app?
Beta Was this translation helpful? Give feedback.
All reactions