From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:56065) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHqre-0001oA-CB for qemu-devel@nongnu.org; Tue, 19 Mar 2013 03:21:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UHqrd-0006iW-Aq for qemu-devel@nongnu.org; Tue, 19 Mar 2013 03:21:42 -0400 Received: from mx1.redhat.com ([209.132.183.28]:15033) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHqrd-0006i6-36 for qemu-devel@nongnu.org; Tue, 19 Mar 2013 03:21:41 -0400 Message-ID: <514811FF.5070508@redhat.com> Date: Tue, 19 Mar 2013 08:21:35 +0100 From: Gerd Hoffmann MIME-Version: 1.0 References: <1363608582-26571-1-git-send-email-kraxel@redhat.com> <1363608582-26571-2-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 01/15] pixman: add qemu_pixman_color() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?B?U8O4cmVuIFNhbmRtYW5u?= Cc: Anthony Liguori , qemu-devel@nongnu.org On 03/18/13 22:13, S=C3=B8ren Sandmann wrote: > Gerd Hoffmann writes: >=20 >> Helper function to map qemu colors (32bit integer + matching PixelForm= at) >> into pixman_color_t. >=20 > Are qemu colors premultiplied? If not, this function should probably > premultiply before returning the color. The alpha channel is usually not used. Maybe I should just set alpha to 0 to make that clear ... cheers, Gerd