servo/ports/servoshell/desktop
Martin Robinson 9195344b75
compositor: Create a single cross-process compositor API (#33619) (#33660)
Instead of exposing many different kinds of messages to the compositor
that are routed through the constellation, expose a single message type
which can be sent across IPC channels. In addition, this IPC channel and
the route to the crossbeam channel with the compositor is created along
with the `CompositorProxy`, simplifying what needs to be passed around
during pipeline initialization.

Previously, some image updates (from video) were sent over IPC with a
special serialization routine and some were sent via crossbeam channels
(canvas). Now all updates go over the IPC channel `IpcSharedMemory` is
used to avoid serialization penalties. This should improve performance
and reduce copies for video, but add a memory copy overhead for canvas.
This will improve in the future when canvas renders directly into a
texture.

All-in-all this is a simplification which opens the path toward having a
standard compositor API and reduces the number of duplicate messages and
proxying that had to happen in libservo.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2024-10-09 17:30:24 +00:00
..
protocols Create HttpStatus to safely deal with HTTP responses status. (#33581) 2024-09-29 18:23:48 +00:00
app.rs Drop support for '--no-minibrowser' mode (#33677) 2024-10-07 08:00:32 +00:00
cli.rs Make tracing available on all platforms, with or without perfetto (#33301) 2024-09-04 12:56:29 +00:00
egui_glue.rs Split servoshell into Desktop and common part (#32457) 2024-06-14 06:26:35 +00:00
embedder.rs Fix typo on protocol handlers (#33565) 2024-09-27 07:16:27 +00:00
events_loop.rs clippy: fix some warnings in desktop and some components (#32583) 2024-06-25 07:04:23 +00:00
geometry.rs Split servoshell into Desktop and common part (#32457) 2024-06-14 06:26:35 +00:00
headed_window.rs compositor: Create a single cross-process compositor API (#33619) (#33660) 2024-10-09 17:30:24 +00:00
headless_window.rs compositor: Create a single cross-process compositor API (#33619) (#33660) 2024-10-09 17:30:24 +00:00
keyutils.rs servoshell: Clean up keyboard event conversion a little (#32564) 2024-06-19 19:38:56 +00:00
minibrowser.rs servoshell: fix issues related to HiDPI (#33529) 2024-09-24 12:12:23 +00:00
mod.rs make protocol handlers registrable (#33104) 2024-08-22 04:11:16 +00:00
tracing.rs Gamepad: Implement GamepadHapticActuator (#32046) 2024-07-20 06:29:27 +00:00
webview.rs Drop support for '--no-minibrowser' mode (#33677) 2024-10-07 08:00:32 +00:00
window_trait.rs Split servoshell into Desktop and common part (#32457) 2024-06-14 06:26:35 +00:00