Commit 7c3927ce authored by Marc-André Lureau's avatar Marc-André Lureau Committed by Dave Airlie

vtest: use VIRGL_RENDERER_THREAD_SYNC

Built-in EGL supports threaded contexts, so enable sync thread.
Signed-off-by: default avatarMarc-André Lureau <marcandre.lureau@gmail.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent a603f027
......@@ -96,7 +96,9 @@ int vtest_create_renderer(int fd, uint32_t length)
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);
if (!vtestname)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment