Re: [Qemu-devel] [PATCH 01/15] pixman: add qemu_pixman_color()

2013-03-19 Thread Gerd Hoffmann
On 03/18/13 22:13, Søren Sandmann wrote: Gerd Hoffmann kra...@redhat.com writes: Helper function to map qemu colors (32bit integer + matching PixelFormat) into pixman_color_t. Are qemu colors premultiplied? If not, this function should probably premultiply before returning the color. The

[Qemu-devel] [PATCH 01/15] pixman: add qemu_pixman_color()

2013-03-18 Thread Gerd Hoffmann
Helper function to map qemu colors (32bit integer + matching PixelFormat) into pixman_color_t. Signed-off-by: Gerd Hoffmann kra...@redhat.com --- include/ui/qemu-pixman.h |2 ++ ui/qemu-pixman.c | 11 +++ 2 files changed, 13 insertions(+) diff --git

Re: [Qemu-devel] [PATCH 01/15] pixman: add qemu_pixman_color()

2013-03-18 Thread Søren Sandmann
Gerd Hoffmann kra...@redhat.com writes: Helper function to map qemu colors (32bit integer + matching PixelFormat) into pixman_color_t. Are qemu colors premultiplied? If not, this function should probably premultiply before returning the color. Søren