mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-01-25 12:58:10 +00:00
[client] ds: add skipFrame method to interface
If this exists, it should be called when waitFrame returns but we don't wish to render.
This commit is contained in:
parent
9d95154b85
commit
16aa04d539
1 changed files with 3 additions and 1 deletions
|
@ -150,10 +150,12 @@ struct LG_DisplayServerOps
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Waits for a good time to render the next frame in time for the next vblank.
|
/* Waits for a good time to render the next frame in time for the next vblank.
|
||||||
* Once this returns, a frame must be rendered.
|
|
||||||
* This is optional and a display server may choose to not implement it. */
|
* This is optional and a display server may choose to not implement it. */
|
||||||
void (*waitFrame)(void);
|
void (*waitFrame)(void);
|
||||||
|
|
||||||
|
/* This must be called when waitFrame returns, but no frame is actually rendered. */
|
||||||
|
void (*skipFrame)(void);
|
||||||
|
|
||||||
/* dm specific cursor implementations */
|
/* dm specific cursor implementations */
|
||||||
void (*guestPointerUpdated)(double x, double y, double localX, double localY);
|
void (*guestPointerUpdated)(double x, double y, double localX, double localY);
|
||||||
void (*setPointer)(LG_DSPointer pointer);
|
void (*setPointer)(LG_DSPointer pointer);
|
||||||
|
|
Loading…
Reference in a new issue