diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2014-11-08 08:56:34 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2014-12-16 14:15:29 +0100 |
commit | 555e72f2d02125766601db52c6380357b3820fcb (patch) | |
tree | b07ee6eb2142513c1f69a5153015ea31120034ec /ui/spice-core.c | |
parent | 3dcadce5076d4b42fa395c39662d65e050b77784 (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