From 88dad3644900fb72ca356a0e91abfe13cc9e1a66 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Fri, 22 May 2020 18:00:18 +1000 Subject: [PATCH] [client] allow mouse movements to trigger render updates Now EGL is lockless we can allow cursor updates to trigger frame updates directly. --- VERSION | 2 +- client/src/main.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 53d9fdda..20b5e373 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -B2-rc1-0-gae2ffd0a28+1 \ No newline at end of file +B2-rc1-1-g075c82b32c+1 \ No newline at end of file diff --git a/client/src/main.c b/client/src/main.c index a28afe6d..1cb35712 100644 --- a/client/src/main.c +++ b/client/src/main.c @@ -350,6 +350,8 @@ static int cursorThread(void * unused) state.cursor.x, state.cursor.y ); + + lgSignalEvent(e_frame); } lgmpClientUnsubscribe(&queue); @@ -458,6 +460,7 @@ static int frameThread(void * unused) } lgmpClientMessageDone(queue); ++state.frameCount; + lgSignalEvent(e_frame); }