Files
hyperframes/packages/native-renderer/tests
Miguel Ángel 2ef312b5a6 feat(native-renderer): pre-render text from Chrome as PNGs — 19dB → 44dB PSNR
Capture Chrome's pixel-perfect text rendering as transparent PNGs during
scene extraction. Text elements are converted to Image elements in the
scene JSON, so the Rust painter draws Chrome's actual glyphs instead of
re-rendering with Skia (which produces different anti-aliasing).

Also extends BakedElementState with per-frame bounds, colors, and
border-radius for higher fidelity on animated properties.

PSNR improvement on missing-host-comp-id fixture:
  Before: 19.1dB (visible differences)
  After:  44.2dB (near pixel-perfect)

30dB = imperceptible. 44dB = nearly identical.
2026-04-26 02:47:48 -04:00
..