Files
wgpu/wgpu-hal/src
Kevin Reid 7293a13a97 Extend the capabilities of the Noop backend.
This will allow using it in tests of wgpu resource management code
that does not actually require a backend.

* `enumerate_adapters()` returns an adapter instead of failing.
* `open()` returns a device instead of failing.
* `create_buffer()` allocates actual memory.
* `map_buffer()` actually provides access to that memory.
* `clear_buffer()` actually clears the buffer.
* `copy_buffer_to_buffer()` actually copies data.
* Fences actually work (trivially, because all operations are
  synchronous).

Future work could include implementing texture copies,
timestamp queries, and the clearing part of render passes.
2025-02-12 22:31:47 -05:00
..
2025-02-12 13:19:07 +00:00
2025-02-12 13:19:07 +00:00