aboutsummaryrefslogtreecommitdiff
path: root/ui/spice-core.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/spice-core.c
parent3dcadce5076d4b42fa395c39662d65e050b77784 (diff)
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/spice-core.c')
0 files changed, 0 insertions, 0 deletions