ssdfasd
b1829bcfc5
【关键节点】OpenGLCommandList实现RHIResourceView*方法完成统一资源绑定
OpenGL实现:
- TransitionBarrier: 调用glMemoryBarrier(GL_ALL_BARRIER_BITS)
- SetRenderTargets: 通过framebuffer绑定渲染目标
- SetVertexBuffer: 绑定GL_ARRAY_BUFFER并设置顶点属性
- SetIndexBuffer: 绑定GL_ELEMENT_ARRAY_BUFFER
- ClearRenderTarget: 临时切换framebuffer清除颜色缓冲
- ClearDepthStencil: 临时切换framebuffer清除深度 stencil缓冲
- CopyResource: 使用glCopyImageSubData复制纹理数据
新增单元测试:
- CommandList_TransitionBarrier_WithResourceView
- CommandList_SetRenderTargets_WithResourceView
- CommandList_SetVertexBuffer_WithResourceView
- CommandList_SetIndexBuffer_WithResourceView
- CommandList_ClearRenderTarget_WithResourceView
- CommandList_ClearDepthStencil_WithResourceView
- CommandList_CopyResource_WithResourceView
验证: 158个RHI单元测试全部通过, OpenGL集成测试全部通过
2026-03-24 05:23:42 +08:00
..
2026-03-23 00:43:02 +08:00
2026-03-23 00:43:02 +08:00
2026-03-23 00:43:02 +08:00
2026-03-23 17:11:01 +08:00
2026-03-13 18:43:14 +08:00
2026-03-23 00:43:02 +08:00
2026-03-23 00:43:02 +08:00
2026-03-23 00:43:02 +08:00
2026-03-16 18:25:58 +08:00
2026-03-23 00:43:02 +08:00
2026-03-24 05:23:42 +08:00
2026-03-23 00:43:02 +08:00
2026-03-23 00:43:02 +08:00
2026-03-23 00:43:02 +08:00
2026-03-23 20:32:33 +08:00