Commit 2ebb8bd
committed
feat(vulkan): implement secondary command buffer system for improved rendering
- Introduced a new secondary command buffer system to enhance parallel command recording, allowing for more efficient rendering of draw surfaces.
- Implemented functions for initializing, shutting down, and managing secondary command buffers, improving the Vulkan renderer's performance.
- Updated command buffer management to utilize per-frame fences, ensuring better synchronization and resource handling during rendering.
- Enhanced error handling for device loss scenarios in secondary buffer operations, contributing to improved stability and recovery.
- Added comprehensive documentation and comments to clarify the functionality and usage of the secondary command buffer system.
This commit significantly enhances the Vulkan renderer's capability to handle complex rendering tasks, leading to better performance and maintainability.1 parent 6db0603 commit 2ebb8bd
5 files changed
Lines changed: 609 additions & 69 deletions
File tree
- src/renderers/vulkan
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1547 | 1547 | | |
1548 | 1548 | | |
1549 | 1549 | | |
| 1550 | + | |
1550 | 1551 | | |
1551 | 1552 | | |
1552 | 1553 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| 113 | + | |
113 | 114 | | |
114 | 115 | | |
115 | 116 | | |
| |||
569 | 570 | | |
570 | 571 | | |
571 | 572 | | |
| 573 | + | |
572 | 574 | | |
573 | 575 | | |
574 | 576 | | |
| |||
3749 | 3751 | | |
3750 | 3752 | | |
3751 | 3753 | | |
| 3754 | + | |
3752 | 3755 | | |
3753 | 3756 | | |
3754 | 3757 | | |
| |||
4326 | 4329 | | |
4327 | 4330 | | |
4328 | 4331 | | |
| 4332 | + | |
4329 | 4333 | | |
4330 | 4334 | | |
4331 | 4335 | | |
| |||
4742 | 4746 | | |
4743 | 4747 | | |
4744 | 4748 | | |
| 4749 | + | |
| 4750 | + | |
| 4751 | + | |
4745 | 4752 | | |
4746 | 4753 | | |
4747 | 4754 | | |
| |||
9793 | 9800 | | |
9794 | 9801 | | |
9795 | 9802 | | |
| 9803 | + | |
| 9804 | + | |
| 9805 | + | |
9796 | 9806 | | |
9797 | 9807 | | |
9798 | 9808 | | |
| |||
0 commit comments