Repository navigation
perf(gui): start the renderer in the window's final alpha mode - #378
chrispository wants to merge 1 commit into
Conversation
Pin GPUI to chrispository/gpui-omarchy perf/initial-window-background (c3a7c8c, based on the current pin 04965e8). The Wayland renderer now starts in the alpha mode of the window's initial background and decorations, so opening a window builds its pipelines once instead of three times. Interleaved launches (RTX 4090, Hyprland): window map median 210.7 -> 189.4 ms. No visual change in Omarchy's opaque, transparent or glassy modes, either at open or when switching while open. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
Superseded by #381, which combines #378 and #379 with the parallel-pipelines change, now pinned to thisisgm/gpui-omarchy#7. |
This will need to wait until after these are merged, then repoint this to the main flea repo.
thisisgm/gpui-omarchy#4
thisisgm/gpui-omarchy#5
Summary
Pins GPUI to a commit that starts the Wayland renderer in the window's final alpha mode, so opening a window builds its render pipelines once instead of three times. No Flea code changes. Flea already passes its glass background to
open_window.chrispository/gpui-omarchy@c3a7c8c(the current pin04965e8plus that PR). Repoint it tothisisgmonce perf(wayland): start the renderer in the window's final alpha mode gpui-omarchy#4 and perf(wgpu): let apps create the Vulkan instance ahead of the first window gpui-omarchy#5 merge.Numbers
RTX 4090, Hyprland 0.56.2, 10 interleaved rounds against the current
main:mainVisual check
Screenshots against
mainin all three Omarchy window modes (opaque,transparent,glassy). Each window was opened in every mode, then switched through the others while it stayed open.main: no differences apart from a hover highlight and a folder size still being counted.main.Diff
Cargo.toml(2 lines) andCargo.lock(only the GPUI package sources change).cargo check -p flea-gui --lockedpasses.🤖 Generated with Claude Code
Summary by CodeRabbit