summaryrefslogtreecommitdiffstats
path: root/ui/vnc-enc-tight.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2014-11-08 08:56:34 +0100
committerGerd Hoffmann <kraxel@redhat.com>2014-12-16 14:15:29 +0100
commit555e72f2d02125766601db52c6380357b3820fcb (patch)
treeb07ee6eb2142513c1f69a5153015ea31120034ec /ui/vnc-enc-tight.c
parent3dcadce5076d4b42fa395c39662d65e050b77784 (diff)
downloadhqemu-555e72f2d02125766601db52c6380357b3820fcb.zip
hqemu-555e72f2d02125766601db52c6380357b3820fcb.tar.gz
spice: rework mirror allocation, add no-resize fast path
Add fast path to qemu_spice_display_switch in case old and new displaysurface have identical size (happens with display panning and page flipping). We just swap the backing store then and don't go through the whole process of deleting and creating the primary surface. To simplify the code a bit move mirror surface allocation to qemu_spice_display_switch(). Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ui/vnc-enc-tight.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud