vtest: enable protocol v3 support

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Reviewed-by: Ryan Neph <ryanneph@google.com>
Reviewed-by: Gert Wollny <gert.wollny@collabora.com>
macos/master
Chia-I Wu 4 years ago
parent 37830779eb
commit 67b1962928
  1. 5
      vtest/vtest_protocol.h

@ -26,7 +26,12 @@
#define VTEST_PROTOCOL #define VTEST_PROTOCOL
#define VTEST_DEFAULT_SOCKET_NAME "/tmp/.virgl_test" #define VTEST_DEFAULT_SOCKET_NAME "/tmp/.virgl_test"
#ifdef VIRGL_RENDERER_UNSTABLE_APIS
#define VTEST_PROTOCOL_VERSION 3
#else
#define VTEST_PROTOCOL_VERSION 2 #define VTEST_PROTOCOL_VERSION 2
#endif
/* 32-bit length field */ /* 32-bit length field */
/* 32-bit cmd field */ /* 32-bit cmd field */

Loading…
Cancel
Save