Replies: 2 comments 5 replies
-
I'm a beginner on this lib as you, but I have the same requirement. From my current understanding, if you look at the compatibility matrix you'll see that WPF's renderer is software only, unless you use a WinForm Host Control, then you'll use OpenGL. From what I saw in Avalonia's source code, there's a way to use the ANGLE library (which is an OpenGL to DX translator) to render Skia with a D3D target. For now, and the use I have, I rely on WinForm, but I wonder if that is the fastest renderer on Windows for SkiaSharp, because I need to draw thousands of primitives. |
Beta Was this translation helpful? Give feedback.
-
My understanding is #1893 was made to add ANGLE support to WinUI, but nothing more to WPF. |
Beta Was this translation helpful? Give feedback.
-
From my understanding, SKIA has lots of different backends for rendering, The default being a CPU renderer, but then hardware renderers for different platforms, OpenGL, DirectX etc
I see that for OpenGL, there is an SKGLElement, but how do you use DirectX?
In my case, I am using WPF. I have tried the SKGLElement, but from my experiments, its often not that much quicker, and in some cases, it's actually quite a bit slower (DrawPoints seems to be a lot slower)?
Beta Was this translation helpful? Give feedback.
All reactions