diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2016-02-03 12:23:48 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2016-02-03 12:23:48 +0000 |
commit | 87574621b18f86eab295a2c207e0b42c77b5dfa0 (patch) | |
tree | 35558b2401ed991ea6773d3f6dddc9a2ba972667 /ui | |
parent | ad9e1dab20253441716b769500d4c63bc39b0d51 (diff) | |
parent | 321c9adba5a64a1a9de2dd7db5433b62a5433439 (diff) | |
download | qemu-87574621b18f86eab295a2c207e0b42c77b5dfa0.zip |
Merge remote-tracking branch 'remotes/kraxel/tags/pull-vga-20160203-1' into staging
virtio-gpu: bugfixes and spice support preparation
# gpg: Signature made Wed 03 Feb 2016 09:47:13 GMT using RSA key ID D3E87138
# gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>"
# gpg: aka "Gerd Hoffmann <gerd@kraxel.org>"
# gpg: aka "Gerd Hoffmann (private) <kraxel@gmail.com>"
* remotes/kraxel/tags/pull-vga-20160203-1:
virtio-gpu: block any rendering until client (ui) is done
virtio-gpu: add support to enable/disable command processing
virtio-gpu: maintain command queue
virtio-gpu: fix memory leak in error path
console: block rendering until client is done
zap qemu_egl_has_ext in include/ui/egl-helpers.h
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/console.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ui/console.c b/ui/console.c index fe950c6026..791b4fcea2 100644 --- a/ui/console.c +++ b/ui/console.c @@ -261,6 +261,16 @@ void graphic_hw_update(QemuConsole *con) } } +void graphic_hw_gl_block(QemuConsole *con, bool block) +{ + if (!con) { + con = active_console; + } + if (con && con->hw_ops->gl_block) { + con->hw_ops->gl_block(con->hw, block); + } +} + void graphic_hw_invalidate(QemuConsole *con) { if (!con) { |