This commit is contained in:
Rua 2024-10-19 14:14:40 +02:00 committed by GitHub
parent ba8aa2a527
commit 0e9b73c4e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -26,13 +26,12 @@ Changes to memory allocation:
- `Suballocator` has new required items `Suballocations` and `suballocations` for iterating over suballocations. - `Suballocator` has new required items `Suballocations` and `suballocations` for iterating over suballocations.
Changes to command buffers: Changes to command buffers:
- Renamed `AutoCommandBufferBuilder` to `RecordingCommandBuffer` and `AutoCommandBufferBuilder::build` to `end`. - Renamed `UnsafeCommandBufferBuilder` to `RecordingCommandBuffer` and `UnsafeCommandBufferBuilder::build` to `end`.
- Renamed `UnsafeCommandBufferBuilder` to `RawRecordingCommandBuffer` and `UnsafeCommandBufferBuilder::build` to `end`. - Renamed `UnsafeCommandBuffer` to `CommandBuffer`.
- Renamed `UnsafeCommandBuffer` to `RawCommandBuffer`. - `RecordingCommandBuffer` and `CommandBuffer` were moved to the `command_buffer` module; the `command_buffer::sys` module was removed.
- `RecordingCommandBuffer` and `RawRecordingCommandBuffer` now take an `Arc<dyn CommandBufferAllocator>` on construction. - `AutoCommandBufferBuilder`, `PrimaryAutoCommandBuffer`, `SecondaryAutoCommandBuffer`, `RecordingCommandBuffer` and `CommandBuffer` no longer have a type parameter for the type of allocator.
- `RecordingCommandBuffer`, `PrimaryAutoCommandBuffer`, `SecondaryAutoCommandBuffer`, `RawRecordingCommandBuffer` and `RawCommandBuffer` no longer have a type parameter for the type of allocator. - `RecordingCommandBuffer::execute_commands` now takes `&CommandBuffer`s as argument.
- The `PrimaryCommandBufferAbstract` and `SecondaryCommandBufferAbstract` traits were removed. - The `PrimaryCommandBufferAbstract` and `SecondaryCommandBufferAbstract` traits were removed.
- `RawRecordingCommandBuffer::execute_commands` now takes `&RawCommandBuffer`s as argument.
Changes to command buffer allocation: Changes to command buffer allocation:
- `CommandBufferAllocator` no longer has any associated types in order to make the trait object-safe. - `CommandBufferAllocator` no longer has any associated types in order to make the trait object-safe.