servo/components/shared/net
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
..
fetch fix many clippy warnings (#33510) 2024-09-21 13:58:31 +00:00
tests script: Create a CrossProcessInstant to enable serializable monotonic time (#33282) 2024-09-05 18:50:09 +00:00
blob_url_store.rs Fix more clippy warnings in components/shared/net (#31548) 2024-03-10 17:47:38 +00:00
Cargo.toml Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
filemanager_thread.rs Stop using time@0.1 in Servo (#33394) 2024-09-11 07:09:56 +00:00
http_status.rs Create HttpStatus to safely deal with HTTP responses status. (#33581) 2024-09-29 18:23:48 +00:00
image_cache.rs compositor: Create a single cross-process compositor API (#33619) (#33660) 2024-10-09 17:30:24 +00:00
lib.rs Create HttpStatus to safely deal with HTTP responses status. (#33581) 2024-09-29 18:23:48 +00:00
pub_domains.rs fix many clippy warnings (#33510) 2024-09-21 13:58:31 +00:00
quality.rs Fixes for HTTP header compliance. (#32024) 2024-04-11 21:51:23 +00:00
request.rs Initial support for <link rel="prefetch"> (#33345) 2024-09-09 18:52:56 +00:00
response.rs Create HttpStatus to safely deal with HTTP responses status. (#33581) 2024-09-29 18:23:48 +00:00
storage_thread.rs