Skip to content

Optimize scroll export and gate short scroll selections#222

Merged
yvette-carlisle merged 1 commit into
mainfrom
xy/rsnap-perf-cleanups
May 12, 2026
Merged

Optimize scroll export and gate short scroll selections#222
yvette-carlisle merged 1 commit into
mainfrom
xy/rsnap-perf-cleanups

Conversation

@yvette-carlisle
Copy link
Copy Markdown
Member

Summary

  • keep scroll export/copy-save on direct RGBA paths and avoid cloning stitched RGBA just to read dimensions
  • reduce frozen overlay compositor work by delaying spotlight clones, restoring spotlights by rows, and bounding stroke coverage masks to dirty rects
  • disable Scroll Capture entry for selections under 120 px high, including the toolbar button and plain s shortcut

Validation

  • cargo make check
  • scripts/perf/local.sh (frozen_overlay_export_rgba_1440x900 77.384ms / 900ms)
  • ./scripts/build_and_run.sh --verify

…te short scroll selections","authority":"manual"}
@yvette-carlisle yvette-carlisle merged commit b25ba94 into main May 12, 2026
14 checks passed
@yvette-carlisle yvette-carlisle deleted the xy/rsnap-perf-cleanups branch May 12, 2026 05:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant