From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:35293) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TEDHF-000878-0w for qemu-devel@nongnu.org; Wed, 19 Sep 2012 01:56:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TEDHE-00088Y-69 for qemu-devel@nongnu.org; Wed, 19 Sep 2012 01:56:48 -0400 Received: from mx1.redhat.com ([209.132.183.28]:12129) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TEDHD-00088M-TQ for qemu-devel@nongnu.org; Wed, 19 Sep 2012 01:56:48 -0400 Message-ID: <50595E98.9060505@redhat.com> Date: Wed, 19 Sep 2012 07:56:40 +0200 From: Gerd Hoffmann MIME-Version: 1.0 References: <1347952634-12286-1-git-send-email-kraxel@redhat.com> <1347952634-12286-8-git-send-email-kraxel@redhat.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 7/9] fbdev: move to pixman List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?B?U8O4cmVuIFNhbmRtYW5u?= Cc: qemu-devel@nongnu.org On 09/18/12 22:30, S=C3=B8ren Sandmann wrote: > Gerd Hoffmann writes: >=20 >> +static pixman_image_t *pixman_from_displaystate(DisplayState *ds) >> +{ >> +static pixman_image_t *pixman_from_framebuffer(void) >> +{ > You may want to call pixman_format_supported_source/destination() here > to ensure that the format in question is supported by pixman. Ok. >> + pixman_region_fini(&dirty); >> + pixman_region_init(&dirty); >> } >=20 > The fini()/init() here could be done with pixman_region_clear() which > was introduced in 0.26.0. Saw that, but rhel6 ships 0.18.something which hasn't this function yet. cheers, Gerd