mono/SkiaSharp

[UWP] Switch the compiler to Clang for better performance

mattleibow opened this issue · 8 comments

Description

Google has indicated that they only optimize for the clang compiler:

VS bug #730674

I see work to use clang on linux to get more performance - is it possible to do so on Windows or there are specific blockers?

It has been a long time, but we are moving Win32 to Clang. Noticing vast improvements already, just check out #758. Need a little more time for UWP, but that can come later as there are probably fewer users of that platform.

As soon as #1007 is merged, I'll get a preview release out for the world.

Hey Matt,
I am a user of UWP and would really appreciate Clang there too. I might be one of the few though 😄

mfkl commented

Hi Matthew,
This landed recently, thought you might find it useful (it uses llvm-mingw).

Thanks! I must really get to this sometime.

I'm working on a feature for my UWP app that could really use this (rotated images). It's unfortunate how slow the rendering is at the moment.

I am also one of the few... But I am really having a hard time with the rendering performance of rotated images with Skia. Is this planned to be solved any time soon?
Thanks @mattleibow for all your research and work on this topic

I'm also still struggling with this on UWP. It's unfortunate that my desktop is slower than my Android phone, and users notice it too.
I'll eventually move to MAUI (hoping that it's better), but that's a long way off.