Commit Graph
9 Commits
Author SHA1 Message Date
Lachlan Sneff e5dc716a6f [rs] Split render pass docs into multiple sections, divided by feature 2020-07-09 11:06:09 -04:00
Lachlan Sneff 5216fd3285 [rs] Fix buffer mapping examples 2020-06-11 12:07:47 -04:00
Lachlan Sneff 785f26bab3 [rs] Add BufferView and BufferViewMut and fix safety issues with mapped range. 2020-06-09 20:03:28 -04:00
Lachlan Sneff 3d7bc8c528 [rs] Fix documentation based on vulkan docs 2020-04-12 10:56:15 -04:00
Lachlan Sneff 5f8ab36938 [rs] Specified expected structure for draw_indirect and draw_indexed_indirect 2020-04-11 23:33:31 -04:00
Lachlan Sneff d4b59f8e2e [rs] Rewrite GpuFuture to avoid blocking and to use less space
Remove odd patching matching

Replace std::sync::Mutex with spin::Mutex in GpuFuture

Reduce GpuFuture usage to one explicit allocation instead of two

Fix examples to poll the device in the background when using map_read or map_write

Remove device.poll from GpuFuture::poll and document future invariants

Massively simplify examples

Use Arc::clone(...) instead of arc.clone()

Switch println to log::info
2020-03-27 00:16:35 -04:00
Lachlan Sneff cc4e837792 [rs] Cleanup user-interface around async buffer mapping 2020-03-23 00:07:54 -04:00
Lachlan Sneff ac7809cdcb [rs] Note that get_next_texture will error if a previous output is still alive. 2020-03-20 14:34:17 -04:00
Lachlan Sneff af7a4282f2 [rs] Remove lifetime from SwapChainOutput 2020-03-19 11:43:38 -04:00