Files
Sergio d251eb32b6 chore: refresco desde el monorepo — vello 0.9 / wgpu 29, 120 miembros
El repo publico se habia quedado en julio: el README anunciaba vello 0.7 +
wgpu 27 (dos bumps atras) y faltaban los crates del ultimo mes.

- refresco con scripts/actualizar-standalone.py --llimphi (cargo check OK)
- llegan llimphi-cpu, llimphi-hybrid, llimphi-glifos y llimphi-wire-escena:
  los cuatro caminos a pixeles con un solo compositor
- MANUAL.md / SDD.md / LEEME.md sincronizados con el monorepo
- README: versiones al dia, install por crates.io (cargo add llimphi),
  seccion "beyond the 2D widget kit" y el indice de crates que apuntaba
  al propio README ahora apunta a MANUAL.md §19
2026-08-06 17:26:11 +00:00
..

llimphi-video-plane

A spike for "attach video in llimphi": video as a real wl_subsurface over winit's wl_surface, so mirada composites it (Phase 1) and eventually scans it out on an overlay plane, without going through vello's intermediate texture.

The wall it validates (Phase 0, already OK): winit does not expose subsurfaces, so a second wayland-client connection is mounted over the SAME foreign wl_display (Backend::from_foreign_display), winit's wl_surface is wrapped through ObjectId::from_ptr, and a child wl_subsurface is created on it. set_desync → the child commits on its own; position and ordering are latched on the parent's commit (which winit does on present; the subsurface tracks the parent when moved).

Two modes:

  • no arguments → a solid colour quad (validates the subsurface).
  • subsurface-spike <file> → real frames from that video (Phase 1a), decoded by foreign-av, uploaded to the subsurface through shm (3 round-robin buffers, RGBA→ARGB8888). The winit UI only clears the background.

Keys: B = subsurface below/above the parent · T = UI background transparent/opaque (the "hole" the plane peeks through) · ESC = quit.

Use

cargo run --release -p llimphi-video-plane --bin subsurface-spike

Part of llimphi — see llimphi.