servo/components/constellation
Martin Robinson 4c55104b36
compositor: Unify the cross process and in-process API (#36443)
Because there used to be two traits exposing messages to the compositor,
there were two kinds of messages that could be sent:

1. In-process messages from the `Constellation`
2. Cross-process messages from other parts of Servo

Now these two types of messages can be unified into one type. With that
done the compositor can simply keep a single `IpcReceiver` for all
messages, instead of having to set up a route for the cross-process
messsages. This decreases overhead of cross proceses messages a bit, but
more importantly solves an issue where Servo would rely on the
compositor's cross-process message route after the `Constellation` had
called `ROUTER.shutdown()`.

This is part of #36442.

Testing: This is covered by existing WPT tests.
Signed-off-by: Martin Robinson <mrobinson@igalia.com>

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2025-04-12 21:38:22 +00:00
..
browsingcontext.rs constellation: Stop assuming that the viewport is shared by all WebViews (#36312) 2025-04-04 17:06:34 +00:00
Cargo.toml compositing: Combine webrender_traits and compositing_traits (#36372) 2025-04-06 17:34:18 +00:00
constellation.rs compositing: Combine webrender_traits and compositing_traits (#36372) 2025-04-06 17:34:18 +00:00
event_loop.rs compositor: Remove the script channel from the compositor (#36089) 2025-03-23 11:19:27 +00:00
lib.rs constellation: Rename messages sent to the Constellation (#36341) 2025-04-04 19:39:38 +00:00
logging.rs Move ScriptToConstellationMsg to constellation_traits (#36364) 2025-04-05 22:13:29 +00:00
pipeline.rs compositor: Unify the cross process and in-process API (#36443) 2025-04-12 21:38:22 +00:00
process_manager.rs Make the memory reporting multi-process aware (#35863) 2025-04-05 05:42:12 +00:00
sandboxing.rs Prevent zombie processes in multi-process mode. (#36329) 2025-04-04 19:39:13 +00:00
serviceworker.rs Move ScriptToConstellationMsg to constellation_traits (#36364) 2025-04-05 22:13:29 +00:00
session_history.rs Move ScriptToConstellationMsg to constellation_traits (#36364) 2025-04-05 22:13:29 +00:00
tracing.rs Move ScriptToConstellationMsg to constellation_traits (#36364) 2025-04-05 22:13:29 +00:00
webview_manager.rs Separate WebviewManager from Webview in compositor and constellation (#36302) 2025-04-04 07:34:19 +00:00