virgl: add VIRGL_DEBUG_SYNC
authorChia-I Wu <olvaffe@gmail.com>
Mon, 24 Jun 2019 17:45:36 +0000 (10:45 -0700)
committerChia-I Wu <olvaffe@gmail.com>
Tue, 25 Jun 2019 19:01:43 +0000 (12:01 -0700)
commite93d918b65ecd30b6973dd38b04b5c4324fd53de
tree48f0a960cedc65f784809d360dfd20034f335c36
parent119b5701e1466450031a0acf627059ee4e643395
virgl: add VIRGL_DEBUG_SYNC

When set, wait after every each flush.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Reviewed-By: Gert Wollny <gert.wollny@collabora.com>
Reviewed-By: Alexandros Frantzis <alexandros.frantzis@collabora.com>
src/gallium/drivers/virgl/virgl_context.c
src/gallium/drivers/virgl/virgl_screen.c
src/gallium/drivers/virgl/virgl_screen.h