[Qemu-devel] [PATCH 07/23] console: switch color_table_rgb to pixman_color_t

2013-03-20 Thread Gerd Hoffmann
Now that all text console rendering uses pixman we can easily switch the color tables to use pixman_color_t directly. Signed-off-by: Gerd Hoffmann kra...@redhat.com --- ui/console.c | 24 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/ui/console.c

Re: [Qemu-devel] [PATCH 07/23] console: switch color_table_rgb to pixman_color_t

2013-03-20 Thread Igor Mitsyanko
On 03/20/2013 01:43 PM, Gerd Hoffmann wrote: Now that all text console rendering uses pixman we can easily switch the color tables to use pixman_color_t directly. Signed-off-by: Gerd Hoffmann kra...@redhat.com --- ui/console.c | 24 1 file changed, 8

Re: [Qemu-devel] [PATCH 07/23] console: switch color_table_rgb to pixman_color_t

2013-03-20 Thread Søren Sandmann
Gerd Hoffmann kra...@redhat.com writes: @@ -255,7 +250,10 @@ enum color_names { }; #endif -static const uint32_t color_table_rgb[2][8] = { +#define QEMU_RGB(r, g, b) \ +{ .red = r 8, .green = g 8, .blue = b 8, .alpha = 0 } Are you