vtest: use VIRGL_RENDERER_THREAD_SYNC

Built-in EGL supports threaded contexts, so enable sync thread.

Signed-off-by: Marc-André Lureau <marcandre.lureau@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
macos/master
Marc-André Lureau 9 years ago committed by Dave Airlie
parent a603f027aa
commit 7c3927ce08
  1. 4
      vtest/vtest_renderer.c

@ -96,7 +96,9 @@ int vtest_create_renderer(int fd, uint32_t length)
renderer.remote_fd = fd; renderer.remote_fd = fd;
virgl_renderer_init(&renderer, VIRGL_RENDERER_USE_EGL, &vtest_cbs); virgl_renderer_init(&renderer,
VIRGL_RENDERER_USE_EGL |
VIRGL_RENDERER_THREAD_SYNC, &vtest_cbs);
vtestname = malloc(length); vtestname = malloc(length);
if (!vtestname) if (!vtestname)

Loading…
Cancel
Save