servo/components/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
..
Cargo.toml chore: Simplify tracing with servo_tracing macro (#36661) (#37497) 2025-06-18 16:18:04 +00:00
compositor.rs compositor: only UpdateImages that accepts SmallVec and add helpers for single image (#37730) 2025-06-26 14:57:15 +00:00
lib.rs compositor: Add an initial RefreshDriver (#37169) 2025-05-29 10:43:49 +00:00
refresh_driver.rs script: Allow reflows that do not produce display lists (#37186) 2025-06-12 19:25:04 +00:00
touch.rs Allow OHOS servoshell to have a simple multiple tab implementation. (#36891) 2025-06-16 08:17:31 +00:00
tracing.rs compositor: only UpdateImages that accepts SmallVec and add helpers for single image (#37730) 2025-06-26 14:57:15 +00:00
webview_manager.rs Reduce indexing boilerplate for serializable/transferrable objects. (#36624) 2025-04-22 02:02:02 +00:00
webview_renderer.rs libservo: Remove TouchEventType argument from WebView::notify_scroll_event (#37588) 2025-06-20 13:59:01 +00:00