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

オープン
#249 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
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分
マージ済み PR(30日)
310

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

codeatlasdev/atlas のほかの issue

codeatlasdev/atlas の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。