LR-VIEW-ZOOM: Show All Masks (new upstream overlay) keeps the whole-frame render

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Andrew Frahn
2026-10-14 08:17:58 +11:00
co-authored by Claude Opus 5.5
parent c594c7fdc1
commit ac07da423c
+3
View File
@@ -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,
}
}