mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-22 06:45:23 +00:00
#2030 Changelog
This commit is contained in:
parent
df26f8105e
commit
5ea2f3feba
@ -29,9 +29,7 @@ Changes to `GpuFuture`:
|
||||
Changes to command buffers and command pools:
|
||||
- Renamed `CommandPool` to `CommandBufferAllocator`, `StandardCommandPool` to `StandardCommandBufferAllocator`, and `UnsafeCommandPool` to `CommandPool` to better reflect their action.
|
||||
- Removed `Device::with_standard_command_pool`.
|
||||
- Command buffer allocators must now be managed manually.
|
||||
- `AutoCommandBufferBuilder::{primary, secondary}` now take an implementation of `CommandBufferAllocator` instead of the `Device`.
|
||||
- `DeviceLocalBuffer::{from_buffer, from_data, from_iter}` and `ImmutableImage::{from_iter, from_buffer}` now take an implementation of `CommandBufferAllocator`.
|
||||
- `AutoCommandBufferBuilder::{primary, secondary}` now take an implementation of `CommandBufferAllocator` instead of the `Device`.
|
||||
|
||||
Changes to descriptor sets and descriptor pools:
|
||||
- Renamed `DescriptorPool` to `DescriptorSetAllocator`, `StandardDescriptorPool` to `StandardDescriptorSetAllocator`, and `UnsafeDescriptorPool` to `DescriptorPool` to better reflect their action.
|
||||
@ -41,6 +39,9 @@ Changes to descriptor sets and descriptor pools:
|
||||
- Descriptor set allocators must now be managed manually.
|
||||
- `PersistentDescriptorSet::{new, new_variable}` now take an implementation of `DescriptorSetAllocator`, `PersistentDescriptorSet::new_with_pool` has been removed.
|
||||
|
||||
Changes to buffer and image uploads:
|
||||
- `DeviceLocalBuffer::{from_buffer, from_data, from_iter}` and `ImmutableImage::{from_iter, from_buffer}` now take a mutable reference to an `AutoCommandBufferBuilder` instead of a queue, and no longer return a future. The upload command will be recorded into the provided command buffer, which should be executed later.
|
||||
|
||||
### Additions
|
||||
- Added `bind_sparse_unchecked`, `present_unchecked` and `submit_unchecked` methods to `QueueGuard`.
|
||||
- Added the `device_coherent`, `device_uncached` and `rdma_capable` flags to `MemoryPropertyFlags`, and improved the documentation of all flags with additional usage advice.
|
||||
|
Loading…
Reference in New Issue
Block a user