mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-22 22:01:46 +00:00
[client] egl: increase texture processing timeout
On my machine (Intel UHD Graphics 770), texture processing occasionally (about 5% of the time) takes more than 20ms (the highest I have seen is around 32ms) when the host resolution is 2560x1440. This results in the frame being discarded and the client displays a stale image. Increase the timeout to 40ms.
This commit is contained in:
parent
a9b5302a51
commit
f635077a2c
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ EGL_TexStatus egl_texBufferStreamGet(EGL_Texture * texture, GLuint * tex)
|
|||
|
||||
if (this->sync)
|
||||
{
|
||||
switch(glClientWaitSync(this->sync, 0, 20000000)) // 20ms
|
||||
switch(glClientWaitSync(this->sync, 0, 40000000)) // 40ms
|
||||
{
|
||||
case GL_ALREADY_SIGNALED:
|
||||
case GL_CONDITION_SATISFIED:
|
||||
|
|
Loading…
Reference in a new issue