Zed Blog· Nathan Sobo, Antonio Scandurra·· 2024-02-07AI 评分22
Zed 优化 Metal 渲染管线,在 GPUI 中维持 120 FPS
Optimizing the Metal pipeline to maintain 120 FPS in GPUI
AI 导读
Zed 0.121 通过优化 GPUI 的 Metal 渲染管线解决了 M2 MacBook 上的滚动卡顿问题。团队将 command buffer 的 wait_until_completed 改为 wait_until_scheduled,并引入多实例缓冲池消除竞态条件,从而在 direct mode 下维持 120 FPS。
来源:Zed Blog · zed.dev