[client] overlay: render splash fade from monotonic time

Move splash transitions onto the render thread and derive opacity from
elapsed monotonic time. Pace active animation at a display-compatible
minimum of 60 Hz while allowing incoming frames to satisfy that demand.

Reset the splash cleanly across reconnects and latch state changes with
the full-frame restoration decision.
This commit is contained in:
Geoffrey McRae
2026-08-05 11:58:32 +10:00
parent 12f6485e52
commit afb80e0ae4
3 changed files with 83 additions and 46 deletions

View File

@@ -41,7 +41,7 @@ struct LG_OverlayOps
/* final free */
void (*free)(void * udata);
/* return true if realtime rendering is required when in jitRender mode
/* return true if realtime rendering is required
* optional, if omitted assumes false */
bool (*needs_render)(void * udata, bool interactive);