Re: [Qemu-devel] [PATCH v2 4/5] gtk: add opengl support, using egl

2015-05-26 Thread Gerd Hoffmann
On Di, 2015-05-26 at 16:06 +0200, Max Reitz wrote: > On 26.05.2015 14:56, Gerd Hoffmann wrote: > > On Di, 2015-05-26 at 08:35 +0200, Gerd Hoffmann wrote: > >>Hi, > >> > >>> only). That, or pass -Wno-deprecated-declarations for compiling > >>> ui/gtk.c, but that seems very ugly to me. > >> We ca

Re: [Qemu-devel] [PATCH v2 4/5] gtk: add opengl support, using egl

2015-05-26 Thread Max Reitz
On 26.05.2015 14:56, Gerd Hoffmann wrote: On Di, 2015-05-26 at 08:35 +0200, Gerd Hoffmann wrote: Hi, only). That, or pass -Wno-deprecated-declarations for compiling ui/gtk.c, but that seems very ugly to me. We can also try some #pragma warn dance, to limit the -Wno-deprecated-declarations

Re: [Qemu-devel] [PATCH v2 4/5] gtk: add opengl support, using egl

2015-05-26 Thread Gerd Hoffmann
On Di, 2015-05-26 at 08:35 +0200, Gerd Hoffmann wrote: > Hi, > > > only). That, or pass -Wno-deprecated-declarations for compiling > > ui/gtk.c, but that seems very ugly to me. > > We can also try some #pragma warn dance, to limit the > -Wno-deprecated-declarations to a small code block. > >

Re: [Qemu-devel] [PATCH v2 4/5] gtk: add opengl support, using egl

2015-05-25 Thread Gerd Hoffmann
Hi, > only). That, or pass -Wno-deprecated-declarations for compiling > ui/gtk.c, but that seems very ugly to me. We can also try some #pragma warn dance, to limit the -Wno-deprecated-declarations to a small code block. We have something simliar already for a bug in the gtk2 headers. cheers,

Re: [Qemu-devel] [PATCH v2 4/5] gtk: add opengl support, using egl

2015-05-23 Thread Max Reitz
On 20.05.2015 17:19, Gerd Hoffmann wrote: This adds opengl rendering support to the gtk ui, using egl. It's off by default for now, use 'qemu -display gtk,gl=on' to play with this. Note that gtk got native opengl support with release 3.16. There most likely will be a separate implementation for

[Qemu-devel] [PATCH v2 4/5] gtk: add opengl support, using egl

2015-05-20 Thread Gerd Hoffmann
This adds opengl rendering support to the gtk ui, using egl. It's off by default for now, use 'qemu -display gtk,gl=on' to play with this. Note that gtk got native opengl support with release 3.16. There most likely will be a separate implementation for 3.16+, using the native gtk opengl support.