From ac07da423cca82e39ba983999b8903bc3dcc4445 Mon Sep 17 00:00:00 2001 From: Andrew Frahn Date: Wed, 14 Oct 2026 08:17:58 +1100 Subject: [PATCH] LR-VIEW-ZOOM: Show All Masks (new upstream overlay) keeps the whole-frame render Co-Authored-By: Claude Opus 5.5 (1M context) --- crates/ui-egui/src/panels/detail.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/ui-egui/src/panels/detail.rs b/crates/ui-egui/src/panels/detail.rs index 36b302106..d4ce522c3 100644 --- a/crates/ui-egui/src/panels/detail.rs +++ b/crates/ui-egui/src/panels/detail.rs @@ -258,6 +258,9 @@ pub(crate) fn overlay_supports_window(overlay: lightcraft_pipeline::Overlay) -> use lightcraft_pipeline::Overlay as O; match overlay { O::None | O::Mask { .. } | O::PointColorRange(_) | O::HdrRange | O::Spots(_) => true, + // Show All Masks reads every mask's alpha in one GPU readback for the whole frame; not + // tested on a window yet, so it keeps the whole-frame render + O::AllMasks { .. } => false, } }