[client] overlay: add new needs_render for realtime overlays
This commit is contained in:
1 parent
23c77e8508
commit
e23144aecd
4 files changed
+28
-2
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user