From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60938) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnrXy-0003mk-3O for qemu-devel@nongnu.org; Mon, 10 Nov 2014 11:10:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XnrXs-0006sd-Mw for qemu-devel@nongnu.org; Mon, 10 Nov 2014 11:10:29 -0500 Received: from mx1.redhat.com ([209.132.183.28]:42124) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnrXs-0006sV-G4 for qemu-devel@nongnu.org; Mon, 10 Nov 2014 11:10:24 -0500 Message-ID: <5460E36D.1060605@redhat.com> Date: Mon, 10 Nov 2014 09:10:21 -0700 From: Eric Blake MIME-Version: 1.0 References: <1415618587-22023-1-git-send-email-kraxel@redhat.com> In-Reply-To: <1415618587-22023-1-git-send-email-kraxel@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="9bLWsnm2KVX1Vf3sFF6VUJ4Of0topr3W9" Subject: Re: [Qemu-devel] [PATCH] spice: rework mirror allocation, add no-resize fast path List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann , qemu-devel@nongnu.org Cc: Anthony Liguori This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --9bLWsnm2KVX1Vf3sFF6VUJ4Of0topr3W9 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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. >=20 > To simplify the code a mit move mirror surface allocation to s/mit/bit/ ? > qemu_spice_display_switch(). >=20 > Signed-off-by: Gerd Hoffmann > --- > ui/spice-display.c | 33 ++++++++++++++++++++++++++------- > 1 file changed, 26 insertions(+), 7 deletions(-) >=20 --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --9bLWsnm2KVX1Vf3sFF6VUJ4Of0topr3W9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg iQEcBAEBCAAGBQJUYONtAAoJEKeha0olJ0Nq3v8H/1hXzRaA0NyY8EbJ70sOKWmm 9m9JvzwtnoGWubvLNyR6fDIJxUMsQuWOAdM+iCIXV2QYA6KEUWVnUTrxtmDJYBAb D08G+fgnY9ymKD9CvBuG4jO/SVSZKNwINzOdw1duRrTfHfsK1u1GdokPlGaHAYG7 PriDjd9/ZFLUl3dfs4AJ9u6fuHlb4TaOlf614MW4qH3h6o1+xJwtrdZt7ztzDeXT 47w2UizBpNTqphEzaIDSrK9WzoBzaD9QgQqDG0oKfQeB7eMpSvE5ytye3MnmIhK0 HWkOchx1McRTXP0VjQAK2HPLLfoQBIZnBEsyPLzvF++QTYHmYznI5Un/lhOLfXY= =faja -----END PGP SIGNATURE----- --9bLWsnm2KVX1Vf3sFF6VUJ4Of0topr3W9--