Skip to content

Paint independent regions while widgets under change are held back - #72

Merged
trissim merged 2 commits into
mainfrom
perf/independent-frame-publication-20261006
Oct 6, 2026
Merged

trissim merged 2 commits into
mainfrom
perf/independent-frame-publication-20261006

Conversation

@trissim

@trissim trissim commented Oct 6, 2026 •

Copy link
Copy Markdown

While some widget subtrees are being laid out, the compositor can now keep their last committed geometry and paint the rest of the frame. Screen asks for the widgets under change, the compositor records the held rectangles from the previous scene and skips cached geometry along their ancestor paths, and InlineUpdate.from_chops builds inline output from a chops update. The change is mostly in _compositor.py and screen.py, with smaller edits in message_pump.py and widget.py, and one test file.

@trissim
trissim marked this pull request as ready for review October 6, 2026 06:44
Copilot AI balanced review requested due to automatic review settings October 6, 2026 06:44

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@trissim
trissim merged commit 4e3a877 into main Oct 6, 2026
2 of 22 checks passed
@trissim trissim changed the title Publish independent frame damage while retaining held subtrees Paint independent regions while widgets under change are held back Oct 11, 2026
@trissim
trissim deleted the perf/independent-frame-publication-20261006 branch October 11, 2026 20:05
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.

2 participants