Repository navigation
Focus and Spotlight, and half the memory.
- Focus (
O): drag a rectangle and everything outside it is blurred, so one detail owns the shot. The frame is blurred once at a quarter of its size and the patch is cached by strength, so it costs about 40 ms even at 4K. - Spotlight (
V): the same idea with a 30–90 % dim. - Both take size levels with
[and], show the value and its unit in the bar and the hover popup, and the bar keeps its old footprint with 44 px buttons. - Memory: KWin's pixels stream one row at a time into the packed frame, the paint surface is built straight from a sub-rectangle, and the frame is dropped before save/copy. 4K shot 78 → 57 MB peak; workspace 233 → 131 MB.
- New
scripts/bench.pybenchmark loop and a real end-to-end test that finishes the overlay throughGLINT_AUTOCONFIRMand asserts the capture stage precedes the present stage.
Measured on the four-output rig, 15 runs per mode: capture 56 ms and PNG 161 ms for a 4K shot with the machine loaded; docs/benchmark.md carries the full table, the stage split and the back-to-back 0.2.2 comparison.