After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 729290 - Please add initial Wayland support
Please add initial Wayland support
Status: RESOLVED WONTFIX
Product: gtkglarea
Classification: Other
Component: general
2.1.x
Other Linux
: Normal normal
: ---
Assigned To: C.J. Collier
Xavier Ordoquy
Depends on: 707723 729215
Blocks:
 
 
Reported: 2014-04-30 20:59 UTC by tarnyko
Modified: 2014-11-15 16:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gtkglarea-wayland.patch (19.69 KB, patch)
2014-04-30 21:05 UTC, tarnyko
none Details | Review

Description tarnyko 2014-04-30 20:59:41 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).
Comment 1 tarnyko 2014-04-30 21:05:45 UTC
Created attachment 275509 [details] [review]
gtkglarea-wayland.patch
Comment 2 Emmanuele Bassi (:ebassi) 2014-11-15 16:18:23 UTC
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.