mirror of
				https://github.com/gnif/LookingGlass.git
				synced 2025-11-04 06:31:54 +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:
		
				
					committed by
					
						
						Geoffrey McRae
					
				
			
			
				
	
			
			
			
						parent
						
							a9b5302a51
						
					
				
				
					commit
					f635077a2c
				
			@@ -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:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user