mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-07 11:14:09 +00:00
[client] allow frame updates to be triggered by a timed event
This is a major change to how the LG client performs it's updates. In the past LG would operate a fixed FPS regardless of incoming update speed and/or frequency. This change allows LG to dynamically increase it's FPS in order to better sync with the guest as it's rate changes.
This commit is contained in:
@@ -421,7 +421,7 @@ enum EGL_TexStatus egl_texture_bind(EGL_Texture * texture)
|
||||
|
||||
if (texture->tex[s.s].sync != 0)
|
||||
{
|
||||
switch(glClientWaitSync(texture->tex[s.s].sync, 0, 0))
|
||||
switch(glClientWaitSync(texture->tex[s.s].sync, 0, 20000000))
|
||||
{
|
||||
case GL_ALREADY_SIGNALED:
|
||||
case GL_CONDITION_SATISFIED:
|
||||
|
Reference in New Issue
Block a user