servo/components/shared/compositing
Martin Robinson 5f0f457ac3
compositing: Send CompositorDisplayListInfo as bytes to compositor (#36484)
`CompositorDisplayListInfo` is a large data structure that scales with
the size of the display list. Serializing it onto the Compositor's IPC
channel can cause deadlocks. This change serializes it with bincode and
sends it alongside the rest of the serialized display list information
on the IPC `bytes_channel`. This should prevent deadlocks when the
compositor API is unified.

Testing: This is covered by existing WPT tests.
Signed-off-by: Martin Robinson <mrobinson@igalia.com>

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2025-04-12 20:01:22 +00:00
..
tests compositing: Combine webrender_traits and compositing_traits (#36372) 2025-04-06 17:34:18 +00:00
Cargo.toml compositing: Send CompositorDisplayListInfo as bytes to compositor (#36484) 2025-04-12 20:01:22 +00:00
display_list.rs compositing: Combine webrender_traits and compositing_traits (#36372) 2025-04-06 17:34:18 +00:00
lib.rs compositing: Send CompositorDisplayListInfo as bytes to compositor (#36484) 2025-04-12 20:01:22 +00:00
rendering_context.rs compositing: Combine webrender_traits and compositing_traits (#36372) 2025-04-06 17:34:18 +00:00