servo/components/layout_2020
Martin Robinson 37695c8c8c
script: Do not set up an IPC route for every image load (#35041)
Instead of setting up a route for every image load in the DOM / Layout,
route all incoming image cache responses through the `ScriptThread`.
This avoids creating a set of file descriptor for every image that is
loaded.

This change requires having the `ImageCache` track the `PipelineId` of
the original the listener so that the `ScriptThread` can route it
properly to the correct `Window`.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2025-01-25 09:39:04 +00:00
..
display_list layout: simplify CollapsedBorderLine (#35125) 2025-01-23 12:38:24 +00:00
flexbox layout: Remove min and max container sizes from FlexContext (#35144) 2025-01-24 16:11:23 +00:00
flow layout: Proper check for BoxFragment generated by a table wrapper box (#35136) 2025-01-22 20:36:41 +00:00
fragment_tree Make naming of variables consistent with SpecificLayoutInfo (#35104) 2025-01-21 17:28:14 +00:00
table layout: Hide collapsed borders crossed by spanning cells (#35129) 2025-01-23 14:23:03 +00:00
taffy Make naming of variables consistent with SpecificLayoutInfo (#35104) 2025-01-21 17:28:14 +00:00
tests Update deprecated use of PanicInfo to PanicHookInfo (#34659) 2024-12-17 03:50:26 +00:00
Cargo.toml layout: Remove the obsolete layout tracing functionality (#35001) 2025-01-15 13:24:14 +00:00
cell.rs layout: Remove the obsolete layout tracing functionality (#35001) 2025-01-15 13:24:14 +00:00
construct_modern.rs Elide lifetimes where possible after rustup (#34824) 2025-01-03 18:54:44 +00:00
context.rs script: Do not set up an IPC route for every image load (#35041) 2025-01-25 09:39:04 +00:00
dom.rs layout: Clean up inline layout data types a bit (#34563) 2024-12-11 14:40:34 +00:00
dom_traversal.rs layout: Lay out Shadow DOM elements (#34701) 2024-12-19 19:24:42 +00:00
formatting_contexts.rs layout: Remove min and max container sizes from FlexContext (#35144) 2025-01-24 16:11:23 +00:00
geom.rs layout: Respect alignment when sizing replaced abspos (#35085) 2025-01-20 13:25:00 +00:00
layout_box_base.rs layout: Remove the obsolete layout tracing functionality (#35001) 2025-01-15 13:24:14 +00:00
lib.rs layout: Remove the obsolete layout tracing functionality (#35001) 2025-01-15 13:24:14 +00:00
lists.rs layout: Add LayoutBoxBase and use it for IndependentFormattingContext (#34507) 2024-12-07 19:12:25 +00:00
positioned.rs Make naming of variables consistent with SpecificLayoutInfo (#35104) 2025-01-21 17:28:14 +00:00
query.rs Make naming of variables consistent with SpecificLayoutInfo (#35104) 2025-01-21 17:28:14 +00:00
replaced.rs script: Do not set up an IPC route for every image load (#35041) 2025-01-25 09:39:04 +00:00
sizing.rs layout: Remove some unneeded is_table parameters (#35064) 2025-01-19 00:25:53 +00:00
style_ext.rs layout: Hide collapsed borders crossed by spanning cells (#35129) 2025-01-23 14:23:03 +00:00
traversal.rs Elide lifetimes where possible after rustup (#34824) 2025-01-03 18:54:44 +00:00