vhost-user-gpu: glFlush before notifying clients
commit0c27b9c5687fd276e26c3a95ca6d89f792fc7a1c
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Fri, 12 Mar 2021 10:00:43 +0000 (12 14:00 +0400)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 26 Mar 2021 05:37:03 +0000 (26 06:37 +0100)
tree3c3af2f811e562795c1e09c0bed118729427fd8e
parentd2aea775d4ab1a3d8fb92587881dc6fa55819f62
vhost-user-gpu: glFlush before notifying clients

For similar reasons as commit 3af1671852 ("spice: flush on GL update
before notifying client"), vhost-user-gpu must ensure the GL state is
flushed before sharing its rendering result.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20210312100108.2706195-3-marcandre.lureau@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
contrib/vhost-user-gpu/meson.build
contrib/vhost-user-gpu/virgl.c