Files
Miguel Ángel 1f07070bb9 fix(engine): flush compositor before screenshot to fix WebGL capture
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
2026-06-07 19:04:38 +00:00
..
2026-06-07 13:35:24 +00:00
2026-06-07 13:35:24 +00:00
2026-06-07 13:35:24 +00:00
2026-06-07 13:35:24 +00:00
2026-06-07 13:35:24 +00:00