diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2013-02-28 15:03:04 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2013-03-18 10:21:58 +0100 |
commit | c12aeb860c63ba83190f962e2f0a1c5fe18ad3a6 (patch) | |
tree | 4ff23dade55c45cee495d330ad2a2c0d305e760d /include/ui/spice-display.h | |
parent | da229ef3b3c5709b01d62e7a6e213b31bca33d16 (diff) | |
download | qemu-c12aeb860c63ba83190f962e2f0a1c5fe18ad3a6.tar.gz qemu-c12aeb860c63ba83190f962e2f0a1c5fe18ad3a6.tar.bz2 qemu-c12aeb860c63ba83190f962e2f0a1c5fe18ad3a6.zip |
console: rework DisplaySurface handling [dcl/ui side]
Replace the dpy_gfx_resize and dpy_gfx_setdata DisplayChangeListener
callbacks with a dpy_gfx_switch callback which notifies the ui code
when the framebuffer backing storage changes.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'include/ui/spice-display.h')
-rw-r--r-- | include/ui/spice-display.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/ui/spice-display.h b/include/ui/spice-display.h index f2752aa25a..82f8246650 100644 --- a/include/ui/spice-display.h +++ b/include/ui/spice-display.h @@ -117,7 +117,8 @@ void qemu_spice_display_init_common(SimpleSpiceDisplay *ssd, DisplayState *ds); void qemu_spice_display_update(SimpleSpiceDisplay *ssd, int x, int y, int w, int h); -void qemu_spice_display_resize(SimpleSpiceDisplay *ssd); +void qemu_spice_display_switch(SimpleSpiceDisplay *ssd, + DisplaySurface *surface); void qemu_spice_display_refresh(SimpleSpiceDisplay *ssd); void qemu_spice_cursor_refresh_unlocked(SimpleSpiceDisplay *ssd); |