Note: There's a decent chance v0.4.0 may not work for many users. I've done my best to test it on my very old Windows and Linux machines, but it's difficult to cover all cases. This version includes many rewrites, so I recommend checking that it works properly before updating.
- reduced app size (dmg for example went from 16mb to 7.11mb).
- macos core text for searching and shaping.
- yeslogic-fontconfig-sys and windows core apis for searching. swash keeps for shaping.
- removed the extra ir for rendering so no more textruns, less memory and faster operations
- vulkan native support.
- no more font extras, rio will always find the glyph if the font is installed.
- wgpu now is optional via feature flag, this feature flag is required if you use rio with retro arch shaders. This is a movement to make rio possible for official debian.
- rio now only renders on Screen::render to ensure GPU is not stuck or overloaded during high render peaks.
- renderer.backend is only three options:
wgpu,metalandvulkan.
tested with 7e222ef
| Scenario | main | new-v4 | Delta |
|---|---|---|---|
| Idle frame | ~150 µs | ~100 µs | v4 ~33% faster |
| Typing, light redraw | ~300 µs | ~200 µs | v4 ~33% faster |
| Shell output / row damage | 1000–2000 µs | 100–300 µs | v4 5–10× faster |
| 25-row scroll frame | 5500 µs (renderer=3448 µs) | 1661 µs (emit=1424 µs) | v4 ~3× faster |
| Trail animation tail (CPU work) | ~300 µs | ~200 µs | comparable, v4 slightly faster |
| GPU exec time (both) | ~700–1000 µs | ~700–1500 µs | comparable |
| First-frame setup | 15 638 µs | 9 397 µs | v4 ~40% faster |