-
Notifications
You must be signed in to change notification settings - Fork 556
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[QUESTION] Is it possible to user SKGLView in MAUI on Windows and Mac? (and if not, are there any plans for it?) #2403
Comments
Same issue here. |
IIRC, the problem is that OpenGL is not supported on MacCatalyst and that's why you can't use SKGLView for rendering on Mac. You should use Metal, i.e. SKMetalView, but that's not cross-platform. So, AFAIK, at the moment there is no cross-platform solution for GPU acceleration with SkiaSharp + MAUI. |
Thanks for that.
What about Windows? If I remember correctly, there was a correct
implementation of SKGLView acceleration in skiasharp. Not sure why that
solution cannot be implemented in MAUI.
It seems that this project is almost abandoned...I don't think there are
too many maintainers unfortunately.
Best Regards,
Marco
…On Sat, Apr 8, 2023 at 9:40 AM Tommi Gustafsson ***@***.***> wrote:
IIRC, the problem is that OpenGL is not supported on MacCatalyst and
that's why you can't use SKGLView for rendering on Mac. You should use
Metal, i.e. SKMetalView, but that's not cross-platform. So, AFAIK, at the
moment there is no cross-platform solution for GPU acceleration with
SkiaSharp + MAUI.
—
Reply to this email directly, view it on GitHub
<#2403 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAUIPIUGCG7RHR647MMS5VTXAEI65ANCNFSM6AAAAAAVPYYNJU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Yes, it's weird that they have almost nobody working on this project even though it is so widely used. |
I would be interested in an update on this. |
Duplicate of #2050 |
I'm creating an app with MAUI targeting all platforms but mainly Windows and Mac.
So far I've used SKCanvasView with good results but I would like to use SKGLView for better performances.
I've tried to use it but the app crashes with this message:
Handler not found for view SkiaSharp.Views.Maui.Controls.SKGLView.
I've installed the package SkiaSharp.Views.Maui.Controls.Compatibility hoping to use the previous renderers but without success.
Am I missing something or it's not possible to use SKGLView with MAUI? If so, are there any plans for it?
Thank you very much.
The text was updated successfully, but these errors were encountered: