slint
slint copied to clipboard
Vulkan and D3D renderers are very laggy.
Bug Description
Upon getting vulkan to work by doing: .cargo/config.yml: [env] SKIA_BINARIES_URL = "https://github.com/rust-skia/skia-binaries/releases/download/0.84.0/skia-binaries-8df1749a67a2800c2904-x86_64-pc-windows-msvc-d3d-gl-svg-textlayout-vulkan.tar.gz"
And requiring vulkan in the code: BackendSelector::new().require_vulkan().select()?;
Resizing the UI is extremely laggy, the texts are bugging, and it can barely keep up loading the background with the window. Upon doing BackendSelector::new().require_d3d().select()?; It's somewhat better, but it's still lagging a lot upon resizing for some reason, no other apps do this for me.
Reproducible Code (if applicable)
Environment Details
- Slint Version: 1.11.0
- Platform/OS: Windows 11
- Programming Language: Rust
- Backend/Renderer: Skia
Product Impact
Making a native mod manager app for a game. Moving forward it would be great to use a modern, more capable renderer like vulkan for apps.