Re: [Qemu-devel] [PATCH] spice: rework mirror allocation, add no-resize fast path

2014-11-10 Thread Gerd Hoffmann
> > > > To simplify the code a mit move mirror surface allocation to > > s/mit/bit/ ? Yes. Fixed. thanks, Gerd

Re: [Qemu-devel] [PATCH] spice: rework mirror allocation, add no-resize fast path

2014-11-10 Thread Eric Blake
On 11/10/2014 04:23 AM, Gerd Hoffmann wrote: > 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 creati

[Qemu-devel] [PATCH] spice: rework mirror allocation, add no-resize fast path

2014-11-10 Thread Gerd Hoffmann
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 mit m