Roadmap: native GPU terminal on Windows and Linux (tracking)

未关闭
#249 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
8/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
活跃
技术栈
rust
领域
desktop-dev

调研方向

This is a tracking issue, not a work item: it maps the whole native GPU terminal programme and delegates each step to a child issue (#239-#248, plus shared-engine #252-#256). Start by reading docs/terminal.md#roadmap-windows-and-linux and discussion #237 for the design and measurements, then pick a single unchecked phase issue rather than this one. Done here means every phase issue is closed and the terminal is default on Windows; a newcomer should contribute to a phase instead.

由索引模型根据 Issue 内容生成。

描述

area: terminal priority: 1 high status: confirmed type: feature

Tracking issue for the native GPU terminal on Windows 10 1809+ / Windows 11 and Linux, at the macOS level. Design, research and measurements: discussion #237. Roadmap page: docs/terminal.md#roadmap-windows-and-linux.

Decisions

Layer Decision
Windows renderer native D3D11 (measured: wgpu DX12 +65 MB, ~2.5× device time); one shader source (term.wgsl → naga → HLSL SM 5.0)
macOS / Linux renderer wgpu (Metal / Vulkan)
No GPU, VM, RDP D3D11 WARP, then xterm.js
Windows PTY own ConPTY layer + pinned bundled conpty.dll/OpenConsole.exe, self-test, inbox fallback
Windows text DirectWrite into our atlas
Windows composition child HWND first, then DirectComposition + WebView2 visual hosting
Linux X11 child window; Wayland on xterm.js until wry GTK4

Phases

  • #239 Phase 0: benchmark harness + baselines (macOS reference, Windows, ConPTY, VMs/RDP) (absorbs #110; extends the macOS numbers already in docs/terminal.md "Performance")
  • #240 Phase 1: own ConPTY layer
  • #241 Spike: child HWND next to WebView2
  • #242 Phase 2: D3D11 backend + term/win.rs
  • #243 Phase 3: native data path, on-demand rendering
  • #244 Phase 4: DirectWrite, IME, UIA, DPI
  • #245 Phase 5: DirectComposition + WebView2 visual hosting
  • #246 Phase 6: default on Windows
  • #247 Phase 7: Linux X11
  • #248 Phase 8 (optional): WSL without ConPTY

Shared engine (all platforms)

  • #252 single pass over PTY bytes before the parser
  • #253 decouple PTY read from parse
  • #254 release GPU resources of hidden terminals
  • #255 spike: libghostty-vt as VT core
  • #256 idle compression of cold scrollback
flowchart LR
  P0[#239 Phase 0] --> P1[#240 ConPTY]
  P0 --> S[#241 HWND spike] --> P2[#242 D3D11]
  P1 --> P3[#243 data path]
  P2 --> P3 --> P4[#244 text/IME/UIA] --> P6[#246 default]
  P2 --> P5[#245 DComp] --> P6
  P2 --> P7[#247 Linux X11]
  P1 --> P8[#248 WSL]

Labels: every issue of this roadmap is area: terminal + milestone Roadmap: native GPU terminal (Windows & Linux).

主要语言
Rust
星标
3
派生
1
平均合并
9 小时 51 分钟
30 天内合并 PR
310

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

codeatlasdev/atlas 的其他 Issue

查看 codeatlasdev/atlas 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。