Skip to content

Conversation

@mrobinson
Copy link
Member

In order to move all WebRender initialization closer to the renderer,
so that it can support multiple WebRender instances, move all external
image handler initialiazation into compositing.

This also modifies the order of initalization. Now the IOCompositor
(renderer) starts before the Constellation. This will be useful
when Servo construction can fail, so that we fail before starting a
Constellation thread.

Finally, replace all occurences of "Webrender" with "WebRender".

Testing: This should not change behavior so is covered by existing tests.

@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Oct 24, 2025
@mrobinson mrobinson force-pushed the initialize-image-handlers-in-compositor branch from 0cd66f8 to 461d880 Compare October 24, 2025 13:49
@mukilan mukilan force-pushed the initialize-image-handlers-in-compositor branch from 461d880 to aace048 Compare October 24, 2025 15:29
Copy link
Member

@mukilan mukilan left a comment

Choose a reason for hiding this comment

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

I've pushed a small fix to alphabetize the new dependencies in compositing/Cargo.toml.

@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Oct 24, 2025
@mrobinson mrobinson added this pull request to the merge queue Oct 24, 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 24, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 24, 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 24, 2025
@mukilan mukilan force-pushed the initialize-image-handlers-in-compositor branch from aace048 to 72366e1 Compare October 25, 2025 02:55
@servo-highfive servo-highfive added S-awaiting-review There is new code that needs to be reviewed. and removed S-tests-failed The changes caused existing tests to fail. labels Oct 25, 2025
@mukilan mukilan enabled auto-merge October 25, 2025 02:55
…sitor

In order to move all WebRender initialization closer to the renderer,
so that it can support multiple WebRender instances, move all external
image handler initialiazation into `compositing`.

This also modifies the order of initalization. Now the `IOCompositor`
(renderer) starts before the `Constellation`. This will be useful
when Servo construction can fail, so that we fail before starting a
`Constellation` thread.

Finally, replace all occurences of "Webrender" with "WebRender".

Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com>
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
@mukilan mukilan force-pushed the initialize-image-handlers-in-compositor branch from 72366e1 to 829af8c Compare October 25, 2025 04:05
@mukilan mukilan added this pull request to the merge queue Oct 25, 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 25, 2025
Merged via the queue into servo:main with commit 1c0648f Oct 25, 2025
30 checks passed
@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 25, 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