Files
hyperframes/packages
Miguel Ángel 38cafc86c1 feat(native-renderer): phase 1 complete — Skia rendering pipeline + benchmark
Rust-based video composition renderer using Skia (Chrome's 2D engine):
- scene graph types with serde JSON parsing
- Skia raster surface with JPEG/PNG encoding
- element painter: backgrounds, border-radius, transforms, opacity, text
- static render pipeline: scene → Skia paint → FFmpeg pipe → MP4
- CDP scene extraction bridge (TypeScript)
- criterion benchmark: 1080p, 20 elements with text

Benchmark results (CPU raster, Apple Silicon):
  paint_1080p_20_elements:      29.8ms/frame
  paint_and_encode_jpeg_1080p:  35.7ms/frame

CPU raster is comparable to Chrome CDP (14-40ms). The GPU backend
(Metal/Vulkan, Phase 3) is where the 10-50x speedup materializes —
the infrastructure is proven, the bottleneck is CPU vs GPU painting.
2026-04-25 15:10:01 -04:00
..
2026-04-25 11:14:36 -04:00
2026-04-25 11:14:36 -04:00
2026-04-25 11:14:36 -04:00
2026-04-25 11:14:36 -04:00