servo/ports/servoshell
Martin Robinson f2f5614ad6
compositor: Create a single cross-process compositor API (#33619)
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-03 14:42:04 +00:00
..
desktop compositor: Create a single cross-process compositor API (#33619) 2024-10-03 14:42:04 +00:00
egl compositor: Create a single cross-process compositor API (#33619) 2024-10-03 14:42:04 +00:00
platform minibrowser: implement HiDPI support (#30343) 2023-09-14 13:24:38 +00:00
backtrace.rs Add OpenHarmony support to servoshell (#32594) 2024-06-28 12:51:50 +00:00
build.rs Set the cfg properly for the production-stripped profile (#32991) 2024-08-09 09:16:51 +00:00
Cargo.toml android/ohos: Fix wrong production cfg (#33488) 2024-09-18 07:42:52 +00:00
crash_handler.rs testing: Trigger a crash more reliably when panicking and hard fail is active (#32947) 2024-08-06 17:43:06 +00:00
lib.rs Plumb selected tracing spans into hitrace (#33324) 2024-09-10 09:03:55 +00:00
main.rs Make tracing available on all platforms, with or without perfetto (#33301) 2024-09-04 12:56:29 +00:00
panic_hook.rs testing: Trigger a crash more reliably when panicking and hard fail is active (#32947) 2024-08-06 17:43:06 +00:00
parser.rs android: Use location_bar_input_to_url instead of re-implementing (#32586) 2024-06-24 15:25:07 +00:00
prefs.rs Allow prefs to be overridden from a file and set WPT-specific prefs from file (#33163) 2024-08-24 06:47:57 +00:00
resources.rs Basic tab strip for the minibrowser (#33100) 2024-08-27 20:17:33 +00:00
test.rs clippy: fix warnings on modules outside components (#31567) 2024-03-07 23:42:39 +00:00