mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-06 10:44:01 +00:00
[client] ds: waitFrame now returns a bool to force rendering if needed
X11 needs to calibrate to get the best possible latency, as such it needs the scene to render so that the render time of the scene can be accounted for in the delay calculation.
This commit is contained in:
@@ -154,8 +154,11 @@ struct LG_DisplayServerOps
|
||||
#endif
|
||||
|
||||
/* Waits for a good time to render the next frame in time for the next vblank.
|
||||
* This is optional and a display server may choose to not implement it. */
|
||||
void (*waitFrame)(void);
|
||||
* This is optional and a display server may choose to not implement it.
|
||||
*
|
||||
* return true to force the frame to be rendered, this is used by X11 for
|
||||
* calibration */
|
||||
bool (*waitFrame)(void);
|
||||
|
||||
/* This must be called when waitFrame returns, but no frame is actually rendered. */
|
||||
void (*skipFrame)(void);
|
||||
|
Reference in New Issue
Block a user