mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-07-21 14:52:04 +00:00
[client] egl: restore effects for PQ frames
PQ sources excluded every external filter from the post-process chain. Decode PQ/BT.2020 into FP16 linear scRGB before active effects and pass the resulting transfer state to the desktop shader. Keep the raw PQ path when no effect is active. This avoids adding a conversion pass or per-frame latency to the common case.
This commit is contained in:
@@ -49,5 +49,6 @@ bool egl_postProcessRun(EGL_PostProcess * this, EGL_Texture * tex,
|
||||
EGL_DesktopRects * rects, int desktopWidth, int desktopHeight,
|
||||
unsigned int targetX, unsigned int targetY, bool useDMA, bool hdrPQ);
|
||||
|
||||
/* Return the current output texture and whether it remains PQ encoded. */
|
||||
EGL_Texture * egl_postProcessGetOutput(EGL_PostProcess * this,
|
||||
unsigned int * outputX, unsigned int * outputY);
|
||||
unsigned int * outputX, unsigned int * outputY, bool * hdrPQ);
|
||||
|
||||
Reference in New Issue
Block a user