Terminal Phase 2 [Windows]: D3D11 backend for atlas-term + term/win.rs
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 12/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- rust
Línea de trabajo
Start with discussion #237 and the completed HWND spike, then read render/gpu.rs and render/mod.rs to see which of the 67 + 54 wgpu call sites the proposed backend trait has to cover. Read term/mac.rs alongside term_stub.rs so the Windows term/win.rs matches the existing command surface, and check build.rs for where term.wgsl would be run through naga and FXC. Done means pwsh renders interactively on Windows, render/tests.rs passes on both backends, and bun run check including rust-windows is green.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Part of the native GPU terminal roadmap. Design and evidence: discussion #237. Depends on the HWND spike.
Decision (from #237)
Native D3D11 on Windows; wgpu stays on macOS (Metal) and Linux (Vulkan). Measured: wgpu DX12 costs +65 MB and ~2.5× device time vs raw D3D11/D3D12, unchanged with lower limits. D3D11 also runs in VMs and on WARP (RDP).
Change
- Extract a narrow GPU backend trait at the
render/gpu.rs/render/mod.rsboundary (wgpu today: 67 + 54 uses; VT, fonts, graphics: none). Grid, atlas, instance building stay shared. - D3D11 backend: instanced quads, atlas texture, images; DXGI adapter by
MINIMUM_POWER(iGPU); flip-model swapchain, frame-latency waitable object withSetMaximumFrameLatency(1),ALPHA_MODE_IGNOREwhen opaque; device-lost recreate; WARP whenSM_REMOTESESSIONor no hardware adapter. - One shader source:
term.wgsl→ naga HLSL → FXC SM 5.0 inbuild.rs. Spike: all 10 entry points compile once naga's DX12 sampler-heap lines are replaced bySamplerState atlas_smp : register(s0);; a build test fails if naga changes that output. crates/atlas-desktop/src/term/win.rsreplacesterm_stub.rson Windows, same commands asterm/mac.rs.
Done when
pwsh opens and renders with keys, mouse, selection, copy; pixel comparison against macOS on the same frames; render/tests.rs passes on both backends; bun run check green incl. rust-windows.
- Lenguaje dominante
- Rust
- Estrellas
- 3
- Forks
- 1
- Merge medio
- 9 h 51 min
- PR fusionados (30 d)
- 310
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de codeatlasdev/atlas
-
type: bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
codeatlasdev/atlas#597 ·
Los mantenedores suelen responder en 1 día
-
area: ci os: linux type: bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
codeatlasdev/atlas#496 ·
Los mantenedores suelen responder en 1 día
-
area: ci type: bug
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
codeatlasdev/atlas#596 ·
Los mantenedores suelen responder en 1 día
-
os: linux type: bug
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
codeatlasdev/atlas#591 ·
Los mantenedores suelen responder en 1 día
-
flaky: Windows scripts job hits test timeouts (check-dco, i18n runner/translate, check-changed)Abiertoarea: ci os: windows type: bug
Dificultad 3/5 1-2 días Aptitud para principiantes 56/100
codeatlasdev/atlas#550 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de codeatlasdev/atlas
Issues similares
-
marketing
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
kinqsradio/orbyn-engineering#729 ·
-
Plans page scenario races Shift+Tab against the plan list being drawn again in Firefox and WebKitAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
nledford/Ladderback#1091 ·
Los mantenedores suelen responder en 1 día
-
bug fix packaging ui user-sprint
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Vondor/KassenSturz#1197 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día