[PR #4854] Move dirty interface to N rectangles, not just one #25989

Open
opened 2026-01-31 09:13:08 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/4854

State: closed
Merged: Yes


Summary of the Pull Request

  • Changes the IRenderEngine interface to return a vector of values instead of just a single one. Engines that want to report one still can. Engines that want to report multiple smaller ones will be able to do so going forward.

PR Checklist

  • In support of differential rendering #778
  • I work here.
  • Manually tested it still works.
  • Am core contributor.

Detailed Description of the Pull Request / Additional comments

  • Some of my ideas for the DxEngine require the ability to specify multiple smaller rectangles instead of one giant one, specifically to mitigate the case where someone refreshes just one cell in two opposite corners of the display (which currently coalesces into refreshing the entire display.)
  • This is pulled out into an individual PR to make it easier to review that concept changing.

Validation Steps Performed

  • Ran the Terminal
**Original Pull Request:** https://github.com/microsoft/terminal/pull/4854 **State:** closed **Merged:** Yes --- ## Summary of the Pull Request - Changes the `IRenderEngine` interface to return a vector of values instead of just a single one. Engines that want to report one still can. Engines that want to report multiple smaller ones will be able to do so going forward. ## PR Checklist * [x] In support of differential rendering #778 * [x] I work here. * [x] Manually tested it still works. * [x] Am core contributor. ## Detailed Description of the Pull Request / Additional comments - Some of my ideas for the `DxEngine` require the ability to specify multiple smaller rectangles instead of one giant one, specifically to mitigate the case where someone refreshes just one cell in two opposite corners of the display (which currently coalesces into refreshing the entire display.) - This is pulled out into an individual PR to make it easier to review that concept changing. ## Validation Steps Performed - Ran the Terminal
claunia added the pull-request label 2026-01-31 09:13:08 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#25989