summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2014-06-19 08:52:17 +0200
committerGerd Hoffmann <kraxel@redhat.com>2014-09-05 13:27:11 +0200
commit4c38762fb5cab19f50d2ba004736d7426abba3c0 (patch)
treeaf312e7274910789f57cb673cc623f7329f35570 /include
parenta77549b3ffcc24c32ee4e8b5ec32049186120360 (diff)
downloadqemu-4c38762fb5cab19f50d2ba004736d7426abba3c0.tar.gz
qemu-4c38762fb5cab19f50d2ba004736d7426abba3c0.tar.bz2
qemu-4c38762fb5cab19f50d2ba004736d7426abba3c0.zip
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')
-rw-r--r--include/ui/console.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/ui/console.h b/include/ui/console.h
index 61901f7212..58a7d4b7f2 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)
{