servo/components/fonts
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
..
platform fonts: Fix a couple warnings introduced by recent changes (#33547) 2024-09-25 20:53:07 +00:00
tests compositor: Create a single cross-process compositor API (#33619) 2024-10-03 14:42:04 +00:00
Cargo.toml Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
font.rs fonts: Make FontKey and FontInstanceKey generation asynchronous (#33600) 2024-10-01 15:31:26 +00:00
font_context.rs compositor: Create a single cross-process compositor API (#33619) 2024-10-03 14:42:04 +00:00
font_store.rs fonts: Make FontKey and FontInstanceKey generation asynchronous (#33600) 2024-10-01 15:31:26 +00:00
font_template.rs fonts: Simplify FontContext in two ways that affect the unit test (#33541) 2024-09-25 20:15:47 +00:00
glyph.rs fix many clippy warnings (#33510) 2024-09-21 13:58:31 +00:00
lib.rs fonts: Use IpcSharedMemory to send font data (#33530) 2024-09-25 07:31:55 +00:00
shaper.rs shaping: Don't assume there's a space glyph when rendering tabs (#32979) 2024-08-23 11:17:44 +00:00
system_font_service.rs compositor: Create a single cross-process compositor API (#33619) 2024-10-03 14:42:04 +00:00