I have >1000 fonts installed. COSMIC has always been somewhat laggy for me, but I had assumed it was just like that for everyone, or was the fault of my T480s. Eventually, when trying to diagnose some hitching, I ended up discovering that cosmic-launcher was consuming on average ~5% total CPU over time, which led me to discover that it was fetching all the fonts from disk and software rendering the fonts, every redraw, causing the high cpu usage *and* the stutters (as a result of hammering disk I/O). Oops. The fix is simple: just persist the cache across redraws. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||
| README.md | ||
iced_wgpu
iced_wgpu is a wgpu renderer for iced_runtime. For now, it is the default renderer of Iced on native platforms.
wgpu supports most modern graphics backends: Vulkan, Metal, DX12, OpenGL, and WebGPU.