[client] overlay: add new needs_render for realtime overlays

This commit is contained in:
Geoffrey McRae
2021-08-01 21:13:59 +10:00
parent 23c77e8508
commit e23144aecd
4 changed files with 28 additions and 2 deletions

View File

@@ -37,6 +37,10 @@ struct LG_OverlayOps
/* final free */
void (*free)(void * udata);
/* return true if realtime rendering is required when in jitRender mode
* optional, if omitted assumes false */
bool (*needs_render)(void * udata, bool interactive);
/* perform the actual drawing/rendering
*
* `interactive` is true if the application is currently in overlay interaction