mirror of
https://github.com/servo/servo.git
synced 2025-07-04 22:13:40 +01:00
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> |
||
---|---|---|
.. | ||
Cargo.toml | ||
lib.rs | ||
poll_thread.rs | ||
swapchain.rs | ||
wgpu_thread.rs |