mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-10-10 01:18:10 +00:00
[client] overlay: rework the interface to avoid possible race conditions
This commit is contained in:
@@ -81,7 +81,16 @@ void app_glSwapBuffers(void);
|
||||
#endif
|
||||
|
||||
void app_registerOverlay(const struct LG_OverlayOps * ops, void * params);
|
||||
|
||||
/**
|
||||
* render the overlay
|
||||
* returns:
|
||||
* -1 for no overlay
|
||||
* 0 for full output damage
|
||||
* >0 number of rects written into rects
|
||||
*/
|
||||
int app_renderOverlay(struct Rect * rects, int maxRects);
|
||||
|
||||
void app_freeOverlays(void);
|
||||
|
||||
struct OverlayGraph;
|
||||
|
Reference in New Issue
Block a user