servo/components/webgpu
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 pixels: Move Snapshot and related data structures to pixels (#37590) 2025-06-20 14:47:06 +00:00
lib.rs webgpu: Use compositor_api instead of webrender_api (#37713) 2025-06-26 10:12:29 +00:00
poll_thread.rs tidy: Fix rustdoc warnings and add a tidy check for a common URL issue (#33366) 2024-09-08 15:04:19 +00:00
swapchain.rs compositor: only UpdateImages that accepts SmallVec and add helpers for single image (#37730) 2025-06-26 14:57:15 +00:00
wgpu_thread.rs webgpu: Use compositor_api instead of webrender_api (#37713) 2025-06-26 10:12:29 +00:00