[Spice-devel] [PATCH v2 08/10] gtk: require gtk+ 3.16
Marc-André Lureau
mlureau at redhat.com
Tue Mar 15 13:32:51 UTC 2016
Hi
----- Original Message -----
> > gtkglarea and found out that it just worked. And since recent gtk+ is
> > required for wayland, depending on gtkglarea sounds like the best move
> > forward anyway. But anyone, feel free to fix gl support on wayland
> > with gtk 3.10.
>
> 3.10 + wayland isn't going to work well, sure. There is a reason why we
> got the glarea widget in 3.16 ;)
>
> I was thinking more along the lines of "if (gtk >= 3.16) { use glarea
> and support x11+wayland } else { use drawingarea and support x11
> only }".
Yes, that's what spice-gtk does (in fact, it always uses drawingarea on x11, because glarea uses glx on x11, and that's not working with eglCreateImageKHR... gtk+ would need to learn to setup an egl context instead on x11, or glx would need to learn to import dmabuf, or glx&egl would need some kind of compatibility to coexist and share resources...)
More information about the Spice-devel
mailing list