[client] added support for LGMP

This commit is contained in:
Geoffrey McRae
2020-01-09 20:32:42 +11:00
parent 7a98a886b6
commit 2d755a45e0
5 changed files with 151 additions and 155 deletions

View File

@@ -26,6 +26,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA
#include "common/ivshmem.h"
#include "spice/spice.h"
#include <lgmp/client.h>
struct AppState
{
@@ -58,7 +59,9 @@ struct AppState
SDL_Window * window;
struct IVSHMEM shm;
struct KVMFRHeader * kvmfr;
PLGMPClient lgmp;
PLGMPCQueue frameQueue;
PLGMPCQueue pointerQueue;
uint64_t frameTime;
uint64_t lastFrameTime;