servo/components/constellation
Martin Robinson ade902207f
fonts: Use IpcSharedMemory to send font data (#33530)
This changes modifes the way that font data is sent over IPC channels.
Instead of serializing the data or sending it via IPC byte senders, font
data is copied into shared memory and a copy of the handle is sent over
the channel.

There is also the idea of sending the file handle of the on disk data of
system fonts. This could be implemented as a further followup once there
is an abstraction in `ipc-channel` over file handles.

To accomplish this, a `FontData` abstraction is added, which also allows
caching an in-memory shared `Arc<Vec<u8>>` version of the data (neeeded
by some APIs). This could also be a place for caching font tables in the
future.

Finally, the `FontCacheThread` is renamed to the `SystemFontService`
while the proxy for this is now named `SystemFontServiceProxy`.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com>
2024-09-25 07:31:55 +00:00
..
browsingcontext.rs Trace more functions by adding perfetto tracing events (#33417) 2024-09-13 05:51:19 +00:00
Cargo.toml Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
constellation.rs fonts: Use IpcSharedMemory to send font data (#33530) 2024-09-25 07:31:55 +00:00
event_loop.rs clippy: Fix warnings in components/constellation (#31610) 2024-03-11 10:22:28 +00:00
lib.rs constellation: allow event tracing to be configured with RUST_LOG (#31659) 2024-03-14 12:28:36 +00:00
logging.rs Move non-gfx things out of gfx_traits and create a base crate (#32296) 2024-05-17 12:28:58 +00:00
network_listener.rs Initial support for <link rel="prefetch"> (#33345) 2024-09-09 18:52:56 +00:00
pipeline.rs fonts: Use IpcSharedMemory to send font data (#33530) 2024-09-25 07:31:55 +00:00
sandboxing.rs build: Fix build warnings on Windows (#32500) 2024-06-15 14:31:36 +00:00
serviceworker.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
session_history.rs Trace more functions by adding perfetto tracing events (#33417) 2024-09-13 05:51:19 +00:00
timer_scheduler.rs script: Stop using time in DOM timers (#33262) 2024-08-30 15:20:44 +00:00
tracing.rs Gamepad: Implement GamepadHapticActuator (#32046) 2024-07-20 06:29:27 +00:00
webview.rs Move non-gfx things out of gfx_traits and create a base crate (#32296) 2024-05-17 12:28:58 +00:00