This commit is contained in:
Austin Johnson 2022-09-24 07:00:35 -05:00 committed by GitHub
parent ac3fa2ab11
commit 073dd77c0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,6 +15,10 @@ Changes to queue operations:
- `PresentInfo` as been renamed to `SwapchainPresentInfo` and has differently named members and constructor.
- `acquire_next_image` returns an `u32` index to match Vulkan.
- `SubmitAnyBuilder` and its wrapped types no longer have a lifetime parameter, as they own their data instead. Various methods of these types now take their arguments by value.
- `Queue` now implements `VulkanObject` instead of `SynchronizedVulkanObject`, which is removed.
- `Queue` now takes ownership of resources belonging to operations that you execute on it, to keep them from being destroyed while in use.
- `QueueGuard` now has a `cleanup_finished` method, which does the same thing as on futures. Calling this method on a future will automatically forward it to its queue.
- If `Queue` is dropped, it will call `wait_idle` to block the current thread until all operations on it have completed.
Changes to `Swapchain`:
- The `W` parameter must now implement `Send + Sync`.