wayray/docs/ai/adr
Till Wegmueller f702cbf4e7
Add ADR-016: GPU pipeline future-proofing for cloud gaming
Ensure today's CPU-first design doesn't block a future zero-copy
GPU encoding path (DMA-BUF → VAAPI/NVENC, sub-5ms encode latency).

Key design constraints:
- FrameSource enum: Cpu and DmaBuf variants (build Cpu now, DmaBuf later)
- FrameEncoder trait: accepts both, encoder picks preferred source
- Pipelined render→encode→send (no synchronous blocking)
- Adaptive frame cadence: OnDamage (desktop) vs Fixed (gaming)
- Damage tracking forks: pixel diff for CPU, Wayland hints for GPU

No GPU code built now -- just trait interfaces that preserve the path.
2026-03-29 13:29:32 +02:00
..
001-compositor-framework.md Add project documentation, architecture decisions, and usage book 2026-03-28 20:47:16 +01:00
002-network-transport.md Add project documentation, architecture decisions, and usage book 2026-03-28 20:47:16 +01:00
003-frame-encoding-strategy.md Add project documentation, architecture decisions, and usage book 2026-03-28 20:47:16 +01:00
004-session-management.md Add project documentation, architecture decisions, and usage book 2026-03-28 20:47:16 +01:00
005-rendering-strategy.md Add project documentation, architecture decisions, and usage book 2026-03-28 20:47:16 +01:00
006-audio-forwarding.md Add project documentation, architecture decisions, and usage book 2026-03-28 20:47:16 +01:00
007-project-structure.md Rename binaries to illumos-style short names 2026-03-29 00:34:19 +01:00
008-illumos-support.md Add project documentation, architecture decisions, and usage book 2026-03-28 20:47:16 +01:00
009-pluggable-window-management.md Add project documentation, architecture decisions, and usage book 2026-03-28 20:47:16 +01:00
010-greeter-session-launch.md Rename binaries to illumos-style short names 2026-03-29 00:34:19 +01:00
011-local-display-mode.md Rename binaries to illumos-style short names 2026-03-29 00:34:19 +01:00
012-cloud-auth-greeter.md Rename binaries to illumos-style short names 2026-03-29 00:34:19 +01:00
013-smartphone-proximity-token.md Add direct remote access scenario and token-based server routing 2026-03-29 00:08:34 +01:00
014-federation-and-foreign-surfaces.md Rename binaries to illumos-style short names 2026-03-29 00:34:19 +01:00
015-virtual-desktops-rdp-gateway.md Rename binaries to illumos-style short names 2026-03-29 00:34:19 +01:00
016-gpu-pipeline-future-proofing.md Add ADR-016: GPU pipeline future-proofing for cloud gaming 2026-03-29 13:29:32 +02:00