From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33202) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYYm3-0004py-NJ for qemu-devel@nongnu.org; Wed, 24 Feb 2016 07:42:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYYm0-00025M-UN for qemu-devel@nongnu.org; Wed, 24 Feb 2016 07:42:35 -0500 Received: from mx1.redhat.com ([209.132.183.28]:50126) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYYm0-00025C-Pf for qemu-devel@nongnu.org; Wed, 24 Feb 2016 07:42:32 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id 3BF498C7 for ; Wed, 24 Feb 2016 12:42:31 +0000 (UTC) From: Michal Privoznik Date: Wed, 24 Feb 2016 13:42:18 +0100 Message-Id: <1a724e97cb587624d6f6009c15395496bccfa32b.1456317738.git.mprivozn@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH] spice/gl: Enable dmabuf only for spice >= 0.13.1 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: marcandre.lureau@redhat.com, kraxel@redhat.com After 474114b7 the dmabuf feature is enabled whenever spice greater than or equal to spice 0.13.0 is found. This is because two new functions are required: spice_qxl_gl_scanout and spice_qxl_gl_draw_async. These were, however, introduce in 0.13.1 release. Well, technically they haven't been released yet, but for sure they are not going to be part of 0.13.0 release (for the ABI stability sake). Signed-off-by: Michal Privoznik --- include/ui/spice-display.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ui/spice-display.h b/include/ui/spice-display.h index 69a222b..30ccfe3 100644 --- a/include/ui/spice-display.h +++ b/include/ui/spice-display.h @@ -25,7 +25,7 @@ #include "sysemu/sysemu.h" =20 #if defined(CONFIG_OPENGL_DMABUF) -# if SPICE_SERVER_VERSION >=3D 0x000d00 /* release 0.13.0 */ +# if SPICE_SERVER_VERSION >=3D 0x000d01 /* release 0.13.1 */ # define HAVE_SPICE_GL 1 # include "ui/egl-helpers.h" # include "ui/egl-context.h" --=20 2.4.10