GNOME Bugzilla – Bug 729290
Please add initial Wayland support
Last modified: 2014-11-15 16:18:23 UTC
Hi, Please consider this patch, with adds initial support for Wayland rendering through GtkGLArea. It depends on these 2 WIP patches : * GTK+3 support for GtkGLArea https://bugzilla.gnome.org/show_bug.cgi?id=707723 * Wayland subsurfaces in GTK+3 : https://bugzilla.gnome.org/show_bug.cgi?id=729215 and does the following : If the "--with-gtk=3 --with-wayland-egl" are given at configure time, and GTK >= 3.8.0, Wayland, EGL and GLESv1 development files are present, it will build the new WAYLAND backend with a new "simple_wl" sample, which uses GLESv1 to render a white triangle on a blue background. Screenshot here : http://www.tarnyko.net/repo/gtkglarea-wayland.png (TODO : pointer integration, finer positioning).
Created attachment 275509 [details] [review] gtkglarea-wayland.patch
GTK+ 3.16 will have a GtkGLArea widget which will supersede the GtkGLArea library, and it already supports Wayland and EGL. I don't think it's worth adding Wayland support to GtkGLArea.