From 52d4b329885615735716236701c498456ba9f1ff Mon Sep 17 00:00:00 2001 From: Austin Johnson Date: Thu, 20 Oct 2022 02:26:38 -0500 Subject: [PATCH] #2036 Changelog --- CHANGELOG.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 82094219..d0dffcec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,9 +17,11 @@ Changes to queue operations: - If `Queue` is dropped, it will call `wait_idle` to block the current thread until all operations on it have completed. - The `command_buffer::submit` module has been removed. The `SubmitAnyBuilder` enum is moved to the `sync` module, and no longer has a lifetime parameter. -Changes to swapchains and operations: -- The `W` parameter must now implement `Send + Sync`. -- `PresentInfo` as been renamed to `SwapchainPresentInfo` and has differently named members and constructor. +Changes to `Surface`, `Swapchain` and swapchain operations: +- `Surface`, `Swapchain`, `SwapchainImage` and `SwapchainAcquireFuture` and related functions no longer have a `W` type parameter. +- All constructors of `Surface` now take `Option>` instead of a generic `W`. The `window` function has been renamed to `object` and likewise returns `Option<&Arc>`. +- Vulkano-win: `create_surface_from_handle` takes an `Arc`, `create_surface_from_winit` takes an `Arc`. +- `PresentInfo` has been renamed to `SwapchainPresentInfo` and has differently named members and constructor. - `acquire_next_image` returns an `u32` index to match Vulkan. Changes to `GpuFuture`: