servo/components/compositing
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
..
Cargo.toml compositing: Send CompositorDisplayListInfo as bytes to compositor (#36484) 2025-04-12 20:01:22 +00:00
compositor.rs compositor: Unify the cross process and in-process API (#36443) 2025-04-12 21:38:22 +00:00
lib.rs compositor: Unify the cross process and in-process API (#36443) 2025-04-12 21:38:22 +00:00
touch.rs Fixed the crash issue when the openharmony web component is adapted. (#36229) 2025-03-31 09:46:49 +00:00
tracing.rs compositor: Unify the cross process and in-process API (#36443) 2025-04-12 21:38:22 +00:00
webview.rs libservo: Move animation tracking from WindowMethods to delegates (#36400) 2025-04-09 19:41:53 +00:00
webview_manager.rs Separate WebviewManager from Webview in compositor and constellation (#36302) 2025-04-04 07:34:19 +00:00
windowing.rs libservo: Move animation tracking from WindowMethods to delegates (#36400) 2025-04-09 19:41:53 +00:00