Re: [Qemu-devel] [PATCH 2/4] console: add opengl rendering helper functions

2015-01-16 Thread Max Reitz
On 2015-01-16 at 04:21, Gerd Hoffmann wrote: Hi, +bool console_gl_check_format(DisplayChangeListener *dcl, + pixman_format_code_t format) +{ +switch (format) { +case PIXMAN_x8r8g8b8: +case PIXMAN_a8r8g8b8: +case PIXMAN_r5g6b5: +return true;

Re: [Qemu-devel] [PATCH 2/4] console: add opengl rendering helper functions

2015-01-16 Thread Gerd Hoffmann
Hi, > > +bool console_gl_check_format(DisplayChangeListener *dcl, > > + pixman_format_code_t format) > > +{ > > +switch (format) { > > +case PIXMAN_x8r8g8b8: > > +case PIXMAN_a8r8g8b8: > > +case PIXMAN_r5g6b5: > > +return true; > > +default

Re: [Qemu-devel] [PATCH 2/4] console: add opengl rendering helper functions

2015-01-15 Thread Max Reitz
On 2015-01-12 at 07:35, Gerd Hoffmann wrote: Signed-off-by: Gerd Hoffmann --- include/ui/console.h | 23 ++ ui/Makefile.objs | 5 ++ ui/console-gl.c | 127 +++ 3 files changed, 155 insertions(+) create mode 100644 ui/cons

Re: [Qemu-devel] [PATCH 2/4] console: add opengl rendering helper functions

2015-01-12 Thread Gerd Hoffmann
On Mo, 2015-01-12 at 14:04 +0100, Paolo Bonzini wrote: > > On 12/01/2015 13:35, Gerd Hoffmann wrote: > > +/* > > + * QEMU graphical console -- opengl helper bits > > + * > > + * Copyright (c) 2004 Fabrice Bellard > > + * > > Copyright Red Hat / Author you? Ahem, yes. Just carelessly moved over

Re: [Qemu-devel] [PATCH 2/4] console: add opengl rendering helper functions

2015-01-12 Thread Paolo Bonzini
On 12/01/2015 13:35, Gerd Hoffmann wrote: > +/* > + * QEMU graphical console -- opengl helper bits > + * > + * Copyright (c) 2004 Fabrice Bellard > + * Copyright Red Hat / Author you? Paolo

[Qemu-devel] [PATCH 2/4] console: add opengl rendering helper functions

2015-01-12 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- include/ui/console.h | 23 ++ ui/Makefile.objs | 5 ++ ui/console-gl.c | 127 +++ 3 files changed, 155 insertions(+) create mode 100644 ui/console-gl.c diff --git a/include/ui/console.h b/includ