wgpu/examples
bors[bot] 993293f709 Merge #127
127: Track async mapping properly r=grovesNL,swiftcoder a=kvark

Fixes #117, fixes #95, fixes #132 

The change can be logically split into 3 parts:
  1. when `ActiveSubmission` is retired, we now move the mapped buffers into the "ready to map" vector. This was the missing bit that caused mapping to not work previously.
  2. mapping callbacks in Rust wrapper are refactored and they `unmap()` automatically now on users behalf
  3. we wait for idle before destroying the device, which allows us to process all the pending callbacks. This fix gets rid of the dummy submission our compute example used to do.

Co-authored-by: Dzmitry Malyshau <dmalyshau@mozilla.com>
Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2019-04-25 13:36:59 +00:00
..
data Initial compute pipeline support 2019-02-11 19:02:18 -08:00
hello_compute_rust Wait for fences instead of device idle 2019-04-24 22:42:49 -04:00
hello_triangle_c Fix the triangle examples 2019-03-31 20:03:24 -04:00
hello_triangle_rust Fix winit event loop in the triangle example 2019-04-22 22:59:25 +02:00
Cargo.toml Separate object identity from storage 2019-02-14 14:28:55 -05:00
vk_layer_settings.txt Texture view creation in Rust and the example 2018-10-26 12:04:20 -04:00