Skip to content

CpuImageFilterExecutor.MaxInputScale property

public double MaxInputScale { get; }

CPU Gaussian on a transform-upscaled buffer is the perf killer (1440×1440 σ=80 ≈ 5 s). Cap at 1.0 so the source layer rasterizes at 100% logical resolution; the backend’s hardware bilinear path stretches the small filter result up to the final display rect during DrawImage essentially for free, and the visual difference is negligible since blur output is low-frequency.