6379c025c88ee20f6770bd57b4bd5e2c90efc41c
Mirror export pass 5b in the onFrame worklet: extract the highlights with the same 2.5x-1.5 contrast curve, blur that selection, Screen it back at 0.15..0.5 alpha. The selection must be built as an image filter so the highlight curve runs before the blur (a paint color filter would run after, smearing the matrix into the selection). Kept the tone/cinema path intact: the base draw now records the shader it used and the glow pass reuses it (drawRect) or falls back to the plain drawImage, so the glow always sits on the same processed pixels. Measured on the Xiaomi 2203121C: 5 interleaved 0/10 pairs, the HDF=10 mean luma is +0.70..0.84 above HDF=0 every time (AE metering does not track the software pass, so the toggle is the only variable), and frame counts are unchanged (488/489 vs 492/488 frames per 15s; GPU busy rises ~30%, still inside the 3 ms median GPU frame). No fps loss, so the pass stays.
The file is empty.
Description
Languages
TypeScript
92.9%
Kotlin
5.7%
JavaScript
1.3%