mirror of
https://github.com/storytold/lightcraft.git
synced 2026-10-31 05:28:25 -06:00
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:
co-authored by
Claude Opus 5.5
parent
c594c7fdc1
commit
ac07da423c
@@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user