Skip to content

compositor: Make new frame notifications per Painter#40309

Merged
mukilan merged 1 commit intoservo:mainfrom
mukilan:new-frame-notifications-per-painter
Oct 31, 2025
Merged

compositor: Make new frame notifications per Painter#40309
mukilan merged 1 commit intoservo:mainfrom
mukilan:new-frame-notifications-per-painter

Conversation

@mukilan
Copy link
Copy Markdown
Member

@mukilan mukilan commented Oct 31, 2025

Track the PainterId in the RenderNotifier and use it to ensure needs_repaint is set independently for each Painter. This allows us to post new frame notifications only to the painters that WebRender notified us about.

Testing: Should be covered by existing tests.

@servo-highfive servo-highfive added S-awaiting-review There is new code that needs to be reviewed. S-needs-rebase There are merge conflict errors. labels Oct 31, 2025
@mukilan mukilan force-pushed the new-frame-notifications-per-painter branch from 606064d to d388c7d Compare October 31, 2025 11:55
@servo-highfive servo-highfive removed the S-needs-rebase There are merge conflict errors. label Oct 31, 2025
@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Oct 31, 2025
Track the `PainterId` in the `RenderNotifier` and use it to ensure
needs_repaint is set independently for each `Painter`. This allows us to
post new frame notifications only to the painters that WebRender notified
us about.

Co-authored-by: Martin Robinson <[email protected]>
Signed-off-by: Mukilan Thiyagarajan <[email protected]>
@mukilan mukilan force-pushed the new-frame-notifications-per-painter branch from d388c7d to 6a8a455 Compare October 31, 2025 13:23
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Oct 31, 2025
@mukilan mukilan added this pull request to the merge queue Oct 31, 2025
@servo-highfive servo-highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Oct 31, 2025
github-merge-queue bot pushed a commit that referenced this pull request Oct 31, 2025
Track the `PainterId` in the `RenderNotifier` and use it to ensure
needs_repaint is set independently for each `Painter`. This allows us to
post new frame notifications only to the painters that WebRender
notified us about.

Testing: Should be covered by existing tests.

Signed-off-by: Mukilan Thiyagarajan <[email protected]>
Co-authored-by: Martin Robinson <[email protected]>
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 31, 2025
@servo-highfive servo-highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Oct 31, 2025
@mukilan mukilan added this pull request to the merge queue Oct 31, 2025
@servo-highfive servo-highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-tests-failed The changes caused existing tests to fail. labels Oct 31, 2025
Merged via the queue into servo:main with commit 0e7bdf7 Oct 31, 2025
41 checks passed
@mukilan mukilan deleted the new-frame-notifications-per-painter branch October 31, 2025 16:29
@servo-highfive servo-highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Oct 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-awaiting-review There is new code that needs to be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants