servo/components
Jon Leighton dc683a1fc9 Linux: Don't hold onto bytes of system fonts
FontTemplateData gets passed over IPC during the communication between
FontContext and FontCacheThread. Serializing and deserializing these
bytes is expensive, so this change ensures that we only do that when the
bytes can't be read from disk. A similar strategy is already used on
macos and windows.

The performance problem was particularly noticeable after implenting
font fallback, where the content process would potentially work through
a list of fonts, trying to find one which contains a certain glyph. That
could result in lots of font bytes going over IPC.
2018-05-19 14:33:39 +10:00
..
allocator Upgrade to rustc 1.27.0-nightly (8a37c75a3 2018-05-02) 2018-05-04 11:38:45 +02:00
atoms Make session history aware of URLs 2018-04-24 15:13:11 -05:00
bluetooth refactor(bluetooth): uses embedderproxy directly 2018-04-18 11:39:33 -07:00
bluetooth_traits delegate resource reading to embedder 2018-04-27 15:34:52 +08:00
canvas Update to gleam 0.5 2018-05-05 13:08:36 +02:00
canvas_traits Update to gleam 0.5 2018-05-05 13:08:36 +02:00
compositing Update to gleam 0.5 2018-05-05 13:08:36 +02:00
config delegate resource reading to embedder 2018-04-27 15:34:52 +08:00
constellation Auto merge of #20743 - paulrouget:rmFwdEvent, r=emilio 2018-05-03 05:30:12 -04:00
debugger Bump env_logger to 0.5 and log to 0.4 in every servo crate 2018-03-28 19:50:58 +02:00
deny_public_fields Update Webrender 2018-04-25 10:25:21 +02:00
devtools Bump env_logger to 0.5 and log to 0.4 in every servo crate 2018-03-28 19:50:58 +02:00
devtools_traits Bump ipc-channel and bincode 2018-03-21 13:05:47 +01:00
dom_struct Upgrade to rustc 1.27.0-nightly (8a37c75a3 2018-05-02) 2018-05-04 11:38:45 +02:00
domobject_derive Update Webrender 2018-04-25 10:25:21 +02:00
embedder_traits delegate resource reading to embedder 2018-04-27 15:34:52 +08:00
fallible Update smallvec to 0.6 2017-12-05 12:03:20 +01:00
geometry alias some euclid types 2018-03-16 14:34:29 +08:00
gfx Linux: Don't hold onto bytes of system fonts 2018-05-19 14:33:39 +10:00
gfx_traits Update WebRender 2018-02-06 15:10:35 +01:00
hashglobe Bump ipc-channel and bincode 2018-03-21 13:05:47 +01:00
jstraceable_derive Update Webrender 2018-04-25 10:25:21 +02:00
layout Don't perform font matching for control characters 2018-05-19 14:33:38 +10:00
layout_thread Auto merge of #20420 - pyfisch:corner-clipping, r=emilio 2018-04-29 02:30:16 -04:00
layout_traits Bump ipc-channel and bincode 2018-03-21 13:05:47 +01:00
malloc_size_of Update to gleam 0.5 2018-05-05 13:08:36 +02:00
malloc_size_of_derive Update Webrender 2018-04-25 10:25:21 +02:00
metrics added spec comments 2018-04-11 21:29:03 +01:00
msg Notify the embedder when it should display or hide an IME 2018-04-21 19:46:42 -07:00
net Fix a Cargo warning 2018-05-04 11:38:45 +02:00
net_traits delegate resource reading to embedder 2018-04-27 15:34:52 +08:00
nonzero Use new std::num::NonZero* types instead of deprecated core::nonzero::NonZero 2018-04-09 21:43:26 +02:00
profile Bump env_logger to 0.5 and log to 0.4 in every servo crate 2018-03-28 19:50:58 +02:00
profile_traits Measure cache memory usage (#19251): 2018-04-01 13:30:57 -04:00
rand Bump env_logger to 0.5 and log to 0.4 in every servo crate 2018-03-28 19:50:58 +02:00
range Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
remutex Use new std::num::NonZero* types instead of deprecated core::nonzero::NonZero 2018-04-09 21:43:26 +02:00
script Update to gleam 0.5 2018-05-05 13:08:36 +02:00
script_layout_interface Add unique canvas IDs to all canvas operations. 2018-04-02 22:02:22 -04:00
script_plugins Upgrade to rustc 1.27.0-nightly (8a37c75a3 2018-05-02) 2018-05-04 11:38:45 +02:00
script_traits Auto merge of #20743 - paulrouget:rmFwdEvent, r=emilio 2018-05-03 05:30:12 -04:00
selectors style: Allow 16% false positives in test bloom::create_and_insert_some_stuff. 2018-05-05 16:22:47 +02:00
servo Update to gleam 0.5 2018-05-05 13:08:36 +02:00
servo_arc style: Fix tidy issues and Servo build. 2018-04-29 05:09:43 +02:00
size_of_test
style Implement font fallback 2018-05-19 14:33:36 +10:00
style_derive style: Remove values::Verbatim. 2018-05-05 16:20:38 +02:00
style_traits style: Remove values::Verbatim. 2018-05-05 16:20:38 +02:00
url Fix building servo_url by itself 2018-04-19 17:01:14 +02:00
webdriver_server Bump env_logger to 0.5 and log to 0.4 in every servo crate 2018-03-28 19:50:58 +02:00
webvr Bump env_logger to 0.5 and log to 0.4 in every servo crate 2018-03-28 19:50:58 +02:00
webvr_traits Bump ipc-channel and bincode 2018-03-21 13:05:47 +01:00