From: Eric Blake <eblake@redhat.com>
To: Gerd Hoffmann <kraxel@redhat.com>, qemu-devel@nongnu.org
Cc: Anthony Liguori <aliguori@amazon.com>
Subject: Re: [Qemu-devel] [PATCH] spice: rework mirror allocation, add no-resize fast path
Date: Mon, 10 Nov 2014 09:10:21 -0700 [thread overview]
Message-ID: <5460E36D.1060605@redhat.com> (raw)
In-Reply-To: <1415618587-22023-1-git-send-email-kraxel@redhat.com>
[-- Attachment #1: Type: text/plain, Size: 742 bytes --]
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 <kraxel@redhat.com>
> ---
> 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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 539 bytes --]
next prev parent reply other threads:[~2014-11-10 16:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-10 11:23 [Qemu-devel] [PATCH] spice: rework mirror allocation, add no-resize fast path Gerd Hoffmann
2014-11-10 16:10 ` Eric Blake [this message]
2014-11-11 7:33 ` Gerd Hoffmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5460E36D.1060605@redhat.com \
--to=eblake@redhat.com \
--cc=aliguori@amazon.com \
--cc=kraxel@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).