Adds the pmacs-gpu binary crate to the workspace. wgpu 29.0 + winit 0.30 + glyphon 0.11 (cosmic-text 0.18 via re-export) + pollster + env_logger; pmacs-protocol in the dep graph but not consumed yet (session 3 wires the attach loop). The binary opens an 800x200 window titled 'pmacs-gpu hello-world', sets up wgpu against its surface, configures glyphon with the bundled JetBrains Mono Regular, and renders 'hello, pmacs' once per redraw. Close button or Escape exits. Resize re-configures the surface and glyphon viewport. Surface acquisition matches wgpu 29's CurrentSurfaceTexture enum (success/suboptimal render through; lost/ outdated re-configure; timeout/occluded skip the frame). Bundled assets: pmacs-gpu/fonts/JetBrainsMono-Regular.ttf (268 KB) and pmacs-gpu/fonts/OFL.txt. Font shipped as required by the SIL Open Font License 1.1. One finding surfaced during the move and absorbed under rule (iii) of the framing pass (small / no structural change): the design doc recorded JetBrains Mono as Apache 2.0; the actual license has been OFL since the family's open-source release. Doc corrected in docs/pmacs-gpu-design.md. Gates: cargo fmt + cargo clippy --all-targets -D warnings clean for the whole workspace; cargo test --lib still 1314 (pmacs main crate untouched); m4_acceptance 83; m11_5_semantic_acceptance --features crdt 2. Visual confirmation pending — agent environment is headless, so 'window opens, text renders' is user-side validation. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| mcp-for-package-authors.md | ||
| package-author-guide.md | ||
| packages.md | ||
| pmacs-gpu-design.md | ||
| project.md | ||
| semantic-frontend-protocol.md | ||