Re: [Spice-devel] [PATCH v2 10/10] gtk: add GtkGLArea

2016-03-14 Thread Fabiano Fidêncio
On Mon, Mar 14, 2016 at 11:31 AM, Marc-André Lureau wrote: > On Mon, Mar 14, 2016 at 9:22 AM, Fabiano Fidêncio wrote: >> On Fri, Mar 11, 2016 at 9:50 PM, Marc-André Lureau >> wrote: >>> GtkGLArea is the proper modern way to have opengl in an gtk+ >>> application. Unfortunately, it may use variou

Re: [Spice-devel] [PATCH v2 10/10] gtk: add GtkGLArea

2016-03-14 Thread Marc-André Lureau
On Mon, Mar 14, 2016 at 9:22 AM, Fabiano Fidêncio wrote: > On Fri, Mar 11, 2016 at 9:50 PM, Marc-André Lureau > wrote: >> GtkGLArea is the proper modern way to have opengl in an gtk+ >> application. Unfortunately, it may use various backends and interfaces >> to initialize it, but dmabuf image sh

Re: [Spice-devel] [PATCH v2 10/10] gtk: add GtkGLArea

2016-03-14 Thread Fabiano Fidêncio
On Fri, Mar 11, 2016 at 9:50 PM, Marc-André Lureau wrote: > GtkGLArea is the proper modern way to have opengl in an gtk+ > application. Unfortunately, it may use various backends and interfaces > to initialize it, but dmabuf image sharing requires egl atm. > > This patch keeps using our egl setup

[Spice-devel] [PATCH v2 10/10] gtk: add GtkGLArea

2016-03-11 Thread Marc-André Lureau
GtkGLArea is the proper modern way to have opengl in an gtk+ application. Unfortunately, it may use various backends and interfaces to initialize it, but dmabuf image sharing requires egl atm. This patch keeps using our egl setup on X11, while it uses gtkglarea on known gdk backend based on egl, s