mirror of
				https://github.com/gnif/LookingGlass.git
				synced 2025-11-04 06:31:54 +00:00 
			
		
		
		
	[client] allow mouse movements to trigger render updates
Now EGL is lockless we can allow cursor updates to trigger frame updates directly.
This commit is contained in:
		@@ -350,6 +350,8 @@ static int cursorThread(void * unused)
 | 
				
			|||||||
      state.cursor.x,
 | 
					      state.cursor.x,
 | 
				
			||||||
      state.cursor.y
 | 
					      state.cursor.y
 | 
				
			||||||
    );
 | 
					    );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    lgSignalEvent(e_frame);
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  lgmpClientUnsubscribe(&queue);
 | 
					  lgmpClientUnsubscribe(&queue);
 | 
				
			||||||
@@ -458,6 +460,7 @@ static int frameThread(void * unused)
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
    lgmpClientMessageDone(queue);
 | 
					    lgmpClientMessageDone(queue);
 | 
				
			||||||
    ++state.frameCount;
 | 
					    ++state.frameCount;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    lgSignalEvent(e_frame);
 | 
					    lgSignalEvent(e_frame);
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user