From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:56165) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TOTgZ-00024r-D8 for qemu-devel@nongnu.org; Wed, 17 Oct 2012 09:29:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TOTgT-0006Mo-JC for qemu-devel@nongnu.org; Wed, 17 Oct 2012 09:29:23 -0400 Received: from mx1.redhat.com ([209.132.183.28]:11043) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TOTgT-0006MV-AV for qemu-devel@nongnu.org; Wed, 17 Oct 2012 09:29:17 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q9HDTGjh026879 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 17 Oct 2012 09:29:16 -0400 From: Gerd Hoffmann Date: Wed, 17 Oct 2012 15:29:00 +0200 Message-Id: <1350480554-23281-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 00/14] pixman patch series. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann Hi, First round of pixman patches for qemu, so we have something concrete to discuss. Applies on top of the "console cleanups" patch series posted a few days ago. The long-term goal is to stop reinventing the wheel over and over when it comes to pixel manipulation and to use pixman instead. This patch series is a start. It switches a central data structure (DisplaySurface) over to pixman, so the ui code can easily use pixman to manipulate pixel data. It also collects some low-hanging fruit to show pixman in action. Comments? cheers, Gerd Gerd Hoffmann (14): console: remove DisplayAllocator pixman: add submodule pixman: windup in configure & makefiles pixman: helper functions pixman: add pixman image to DisplaySurface console: make qemu_alloc_display static console: don't set PixelFormat alpha fields for 32bpp qxl: stop direct access to DisplaySurface fields. vga: stop direct access to DisplaySurface fields. pixman: switch screendump function. pixman/vnc: use pixman images in vnc. pixman/vnc: remove rgb_prepare_row* functions pixman/vnc: remove dead code. pixman: drop obsolete fields from DisplaySurface .gitmodules | 3 + Makefile | 9 ++ Makefile.objs | 1 + configure | 38 ++++++ console.c | 107 +++++++--------- console.h | 62 ++++------ hw/qxl-render.c | 2 +- hw/vga.c | 48 +++----- pixman | 1 + qemu-common.h | 1 - qemu-pixman.c | 60 +++++++++ qemu-pixman.h | 32 +++++ ui/sdl.c | 117 +---------------- ui/vnc-enc-hextile-template.h | 23 ++-- ui/vnc-enc-hextile.c | 53 ++------- ui/vnc-enc-tight.c | 280 +++++++++++++++-------------------------- ui/vnc-enc-zrle.c | 18 ++-- ui/vnc-jobs.c | 3 +- ui/vnc.c | 239 ++++++++++++++++++----------------- ui/vnc.h | 19 +++- 20 files changed, 508 insertions(+), 608 deletions(-) create mode 160000 pixman create mode 100644 qemu-pixman.c create mode 100644 qemu-pixman.h