gecko-dev/gfx/wgpu/player
Dzmitry Malyshau 5668f013a9 Bug 1622846 - WebGPU new mapping API r=webidl,jgilbert,smaug
This PR updates wgpu to 64ae59072d
It has a number of things (API updates, correctness fixes, etc), but the biggest part is the new mapping API.

Differential Revision: https://phabricator.services.mozilla.com/D92636
2020-10-19 17:19:12 +00:00
..
src Bug 1622846 - WebGPU new mapping API r=webidl,jgilbert,smaug 2020-10-19 17:19:12 +00:00
Cargo.toml Bug 1664105 - Upgrade `ron` to 0.6.2. r=kvark 2020-09-11 06:22:37 +00:00
README.md

README.md

wgpu player

This is application that allows replaying the wgpu workloads recorded elsewhere.

Launch as:

player <trace-dir>

When built with "winit" feature, it's able to replay the workloads that operate on a swapchain. It renders each frame sequentially, then waits for the user to close the window. When built without "winit", it launches in console mode and can replay any trace that doesn't use swapchains.

Note: replaying is currently restricted to the same backend, as one used for recording a trace. It is straightforward, however, to just replace the backend in RON, since it's serialized as plain text. Valid values are: Vulkan, Metal, Dx12, and Dx11.