servo/components/shared/compositing
sagudev 4dded465a4
compositor: only UpdateImages that accepts SmallVec and add helpers for single image (#37730)
Before we only offered helper to add single image (no update or delete)
that got special IPC message, now we simplify this by offering all ops
helpers for dealing with single image (that happens most of the time),
that simply uses `update_images` under the hood. We also optimize for
this use case by using `SmallVec<[ImageUpdate; 1]>` to avoid alloc.

Testing: Just refactor, but code is covered by WPT tests

---------

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2025-06-26 14:57:15 +00:00
..
tests compositor: Do not allow script to scroll beyond node boundaries (#37412) 2025-06-12 17:32:50 +00:00
Cargo.toml compositor: only UpdateImages that accepts SmallVec and add helpers for single image (#37730) 2025-06-26 14:57:15 +00:00
display_list.rs script: Get scroll offsets from layout (#37509) 2025-06-20 09:39:12 +00:00
lib.rs compositor: only UpdateImages that accepts SmallVec and add helpers for single image (#37730) 2025-06-26 14:57:15 +00:00
rendering_context.rs compositing: Combine webrender_traits and compositing_traits (#36372) 2025-04-06 17:34:18 +00:00
viewport_description.rs Add support for parsing and applying viewport <meta> (#35901) 2025-06-06 15:13:51 +00:00