mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-23 00:44:15 +01:00
komorebi-bar gets a second renderer, wgpu, for machines without OpenGL 2.0 (the Windows e2e guest is one: egui_glow refuses its generic OpenGL 1.1). wgpu draws through Direct3D 12 on Windows, which has the software adapter WARP, so it needs no driver. The feature is on only in the `[target.cfg(windows)]` table of komorebi-bar, so the macOS bar and the shared bar-core are untouched and nothing here compiles for them. Cargo.lock gains exactly one entry, `pollster` 0.4.0 (eframe's optional block_on helper) and two dependency lines of eframe and nothing else: the wgpu stack (wgpu 27, naga, wgpu-hal, egui-wgpu, ash, gpu-allocator ...) was already locked as optional dependencies. pollster was not in the offline registry, so `cargo metadata` fetched it from crates.io; no other version changed. Cost measured with `cargo tree -e normal --target x86_64-pc-windows-msvc -p komorebi-bar`: 622 -> 664 distinct crate versions (+42) for the Windows bar. With both features compiled, eframe's default renderer becomes Wgpu, so the next revision names the renderer explicitly. Verified: lock diff reviewed; not built yet (the next revision builds).