Skip to content
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

Closed
marcojak opened this issue Mar 4, 2023 · 6 comments

Comments

@marcojak
Copy link

marcojak commented Mar 4, 2023

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.

@renatosc
Copy link

Same issue here.

@TommiGustafsson-HMP
Copy link

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.

@marcojak
Copy link
Author

marcojak commented Apr 8, 2023 via email

@TommiGustafsson-HMP
Copy link

Yes, it's weird that they have almost nobody working on this project even though it is so widely used.

@pauldendulk
Copy link

I would be interested in an update on this.

@mattleibow
Copy link
Contributor

Duplicate of #2050

@mattleibow mattleibow marked this as a duplicate of #2050 Sep 6, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Oct 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants