Improve handling of window resize
未关闭
- 主要语言
- C
- 星标
- 0
- 派生
- 0
- PR 合并指标
- 30 天内没有已合并 PR
描述
> It is possible to create a new swap chain while drawing commands on an image from the old swap chain are still in-flight. You need to pass the previous swap chain to the oldSwapChain field in the VkSwapchainCreateInfoKHR struct and destroy the old swap chain as soon as you've finished using it.
贡献指南
这个仓库没有索引到贡献指南
调研方向
首先定位窗口调整大小的处理逻辑,以及创建 VkSwapchainCreateInfoKHR 的代码。跟踪之前的交换链如何通过 oldSwapChain 传递,以及旧交换链何时被释放。完成的标准是:调整窗口大小时能够安全处理正在执行的命令,而不会过早销毁旧交换链。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- c
- 领域
- computer-graphics
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 38/100