servo/components/webgpu
Samson 687f356db9
webgpu: Factor out swapchain to separate file (#33367)
* Move some stuff to swapchain.rs

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>

* Use typed WebGPUContextId instead of u64

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>

* Extract create_swapchain function and move more stuff in it

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>

* extract destroy_swapchain

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>

* extract swapchain_present

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>

* extract update_wr_image callback

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>

* fixup

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>

---------

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2024-09-09 13:29:04 +00:00
..
ipc_messages webgpu: Factor out swapchain to separate file (#33367) 2024-09-09 13:29:04 +00:00
Cargo.toml Use workspace definitions for all crates and update to the 2021 edition (#32544) 2024-06-18 09:22:08 +00:00
gpu_error.rs webgpu: Move errorscopes to WGPU thread (#32304) 2024-05-22 16:47:35 +00:00
identity.rs webgpu: Update wgpu and revamp RenderPass (#32665) 2024-07-04 12:16:42 +00:00
lib.rs webgpu: Factor out swapchain to separate file (#33367) 2024-09-09 13:29:04 +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
render_commands.rs Update wgpu (#33209) 2024-08-27 20:31:31 +00:00
swapchain.rs webgpu: Factor out swapchain to separate file (#33367) 2024-09-09 13:29:04 +00:00
wgpu_thread.rs webgpu: Factor out swapchain to separate file (#33367) 2024-09-09 13:29:04 +00:00