This commit is contained in:
Rua 2024-10-18 20:02:45 +02:00 committed by GitHub
parent 5749fef53c
commit dc619148b0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -27,12 +27,10 @@ Changes to memory allocation:
Changes to command buffers: Changes to command buffers:
- Renamed `AutoCommandBufferBuilder` to `RecordingCommandBuffer` and `AutoCommandBufferBuilder::build` to `end`. - Renamed `AutoCommandBufferBuilder` to `RecordingCommandBuffer` and `AutoCommandBufferBuilder::build` to `end`.
- Merged `{Primary,Secondary}AutoCommandBuffer` into `CommandBuffer` and the corresponding `RecordingCommandBuffer::{primary,secondary}` into `new`.
- `RecordingCommandBuffer` no longer has a type parameter for the command buffer level.
- Renamed `UnsafeCommandBufferBuilder` to `RawRecordingCommandBuffer` and `UnsafeCommandBufferBuilder::build` to `end`. - Renamed `UnsafeCommandBufferBuilder` to `RawRecordingCommandBuffer` and `UnsafeCommandBufferBuilder::build` to `end`.
- Renamed `UnsafeCommandBuffer` to `RawCommandBuffer`. - Renamed `UnsafeCommandBuffer` to `RawCommandBuffer`.
- `RecordingCommandBuffer` and `RawRecordingCommandBuffer` now take an `Arc<dyn CommandBufferAllocator>` on construction. - `RecordingCommandBuffer` and `RawRecordingCommandBuffer` now take an `Arc<dyn CommandBufferAllocator>` on construction.
- `RecordingCommandBuffer`, `CommandBuffer`, `RawRecordingCommandBuffer` and `RawCommandBuffer` 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.
- The `PrimaryCommandBufferAbstract` and `SecondaryCommandBufferAbstract` traits were removed. - The `PrimaryCommandBufferAbstract` and `SecondaryCommandBufferAbstract` traits were removed.
- `RawRecordingCommandBuffer::execute_commands` now takes `&RawCommandBuffer`s as argument. - `RawRecordingCommandBuffer::execute_commands` now takes `&RawCommandBuffer`s as argument.