Is it possible to use the skia renderer in software mode for embedded? #3782
Replies: 2 comments 4 replies
-
Yes, we recently added support for rendering with Skia's software renderer. It's not optimised yet in the sense that there are no partial updates yet, but that can be implemented. If you want to give it a try, check out Slint from git's master branch, add What kind of device / screen resolution are you targeting? Even with the built-in software renderer animations should not be sloppy, so I'm very curious :) |
Beta Was this translation helpful? Give feedback.
-
Hi @tronical, is there a way to use software skia rendering on an embedded platform? Currently I'm running into shared fonts issues as there's no shared libraries on the embedded platform. error[E0433]: failed to resolve: could not find `Library` in `libloading`
--> internal/common/sharedfontdb/fontconfig.rs:21:38
|
21 | let fontconfig = libloading::Library::new("libfontconfig.so.1")?;
| ^^^^^^^ could not find `Library` in `libloading` Maybe we'd need to use the same glyph embedding technique and render the fonts with |
Beta Was this translation helpful? Give feedback.
-
We've been building a UI for an embedded project, but have been doing the design on desktop up until now. We just started testing the slint files on our embedded platform and ran into some issues, which we didn't realize would be problem before.
We switched our desktop app as shown below to make it match the platform's current renderer:
Now, we want to try the skia renderer to see if it fixes some of these issues, but with a software surface. Is there a way to configure this at the moment?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions