qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH] spice: rework mirror allocation, add no-resize fast path
Date: Mon, 10 Nov 2014 09:10:21 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0

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 creating the primary
> surface.
> 
> To simplify the code a mit move mirror surface allocation to

s/mit/bit/ ?

> qemu_spice_display_switch().
> 
> Signed-off-by: Gerd Hoffmann <address@hidden>
> ---
>  ui/spice-display.c | 33 ++++++++++++++++++++++++++-------
>  1 file changed, 26 insertions(+), 7 deletions(-)
> 

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]