spice: flush on GL update before notifying client
commit3af167185229afae754f86e1b86d6dd9a5acfb70
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 16 Feb 2021 09:20:55 +0000 (16 13:20 +0400)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 19 Feb 2021 14:00:12 +0000 (19 15:00 +0100)
tree6caa6118f826b7fc85b67f78e1c688f0ef8b45f8
parentc79f01c9450bcf90c08a77f13fbf67bdba59a316
spice: flush on GL update before notifying client

Since the introduction of spice/virgl support in commit
474114b7 ("spice: add opengl/virgl/dmabuf support"), the drawing isn't
being flushed before notifying the client. This results in
outdated/sluggish drawing on client side, in particular when using the
Linux console.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20210216092056.2301293-1-marcandre.lureau@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
ui/spice-display.c