mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-14 18:01:20 +08:00
1f07070bb9
captureBeyondViewport:true (added in #1094) uses a different Chrome compositor code path that can skip WebGL/ANGLE canvas layer compositing under certain GPU configs (SwiftShader, some ANGLE backends), producing a black canvas in the rendered output. Add a 1×1 micro-screenshot (without captureBeyondViewport) before each real capture to force Chrome's standard viewport-bounded composite path, which reliably composites WebGL layers into the surface texture. This pattern already exists in the shader transitions pipeline. Closes #1260