fix(d3d12): 修复 Surface 重复释放问题,完善容器文档

- 改用 utl::free_list 管理 surface,避免 vector 扩容导致的资源重复释放
- 为 d3d12_surface 添加移动语义,禁用拷贝构造
- 添加撕裂检测支持(DXGI_PRESENT_ALLOW_TEARING)
- 为 FreeList.h 和 Vector.h 添加完整的 Doxygen 中文注释
- 更新 D3D12 学习 Wiki,添加 free_list 章节
This commit is contained in:
SpecialX
2026-03-31 16:48:33 +08:00
parent 95d8893182
commit 80cb696a3c
16 changed files with 1141 additions and 228 deletions

View File

@@ -30,6 +30,7 @@
<ClInclude Include="Graphics\Direct3D12\D3D12Interface.h" />
<ClInclude Include="Graphics\GraphicsPlatformInterface.h" />
<ClInclude Include="Graphics\Direct3D12\D3D12Resources.h" />
<ClInclude Include="Graphics\Direct3D12\D3D12Surface.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="Components\Entity.cpp" />
@@ -46,6 +47,7 @@
<ClCompile Include="Graphics\Direct3D12\D3D12Core.cpp" />
<ClCompile Include="Graphics\Direct3D12\D3D12Interface.cpp" />
<ClCompile Include="Graphics\Direct3D12\D3D12Resource.cpp" />
<ClCompile Include="Graphics\Direct3D12\D3D12Surface.cpp" />
</ItemGroup>
<ItemGroup>
<None Include="Graphics\Direct3D12\D3D12Resources" />