mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
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> |
||
---|---|---|
.. | ||
background_hang_monitor | ||
base | ||
bluetooth | ||
canvas | ||
compositing | ||
devtools | ||
embedder | ||
fonts | ||
net | ||
profile | ||
script | ||
script_layout | ||
webrender |