diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2014-06-19 08:52:17 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2014-09-05 13:27:11 +0200 |
commit | 4c38762fb5cab19f50d2ba004736d7426abba3c0 (patch) | |
tree | af312e7274910789f57cb673cc623f7329f35570 /include/ui | |
parent | a77549b3ffcc24c32ee4e8b5ec32049186120360 (diff) | |
download | qemu-4c38762fb5cab19f50d2ba004736d7426abba3c0.zip qemu-4c38762fb5cab19f50d2ba004736d7426abba3c0.tar.gz qemu-4c38762fb5cab19f50d2ba004736d7426abba3c0.tar.bz2 |
console: add dpy_gfx_update_dirty
Calls dpy_gfx_update for all dirty scanlines. Works for
DisplaySurfaces backed by guest memory (i.e. the ones created
using qemu_create_displaysurface_guestmem).
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'include/ui')
-rw-r--r-- | include/ui/console.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/ui/console.h b/include/ui/console.h index 61901f7..58a7d4b 100644 --- a/include/ui/console.h +++ b/include/ui/console.h @@ -232,6 +232,10 @@ void dpy_text_resize(QemuConsole *con, int w, int h); void dpy_mouse_set(QemuConsole *con, int x, int y, int on); void dpy_cursor_define(QemuConsole *con, QEMUCursor *cursor); bool dpy_cursor_define_supported(QemuConsole *con); +void dpy_gfx_update_dirty(QemuConsole *con, + MemoryRegion *address_space, + uint64_t base, + bool invalidate); static inline int surface_stride(DisplaySurface *s) { |