[Wayland-bugs] [Bug 729215] New: Please implement Wayland subsurfaces
gtk+ (bugzilla.gnome.org)
bugzilla at gnome.org
Tue Apr 29 11:43:57 PDT 2014
https://bugzilla.gnome.org/show_bug.cgi?id=729215
gtk+ | Backend: Wayland | 3.13.x
Summary: Please implement Wayland subsurfaces
Classification: Platform
Product: gtk+
Version: 3.13.x
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: Backend: Wayland
AssignedTo: gtk-bugs at gtk.org
ReportedBy: tarnyko at tarnyko.net
QAContact: gtk-bugs at gtk.org
CC: rob at robster.org.uk, wayland-bugs at lists.freedesktop.org
GNOME version: ---
Created an attachment (id=275441)
--> (https://bugzilla.gnome.org/attachment.cgi?id=275441)
gdkwayland-subsurfaces.diff
In order to provide the same level of functionalities with GDK-Wayland that we
have with GDK-X11/Win32, we need a way to draw in a GTK+ window using an
external backend (such as OpenGL, SDL...) and keep the drawing area consistent
in terms of location, size... as we move the GTK+ window around.
Real-world examples : GL application (GtkGLgears), media players, video games.
Wayland subsurfaces allow that. Please consider this patch, which implements
this workflow :
gdk_wayland_window_set_use_custom_subsurface (window, <x>, <y>);
struct wl_surface *surf = gdk_wayland_window_get_subsurface (window).
*and draw to the wl_surface
(PS : it has been said it would be possible to achieve that functionality by
other means ; that needs more details, though).
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the Wayland-bugs
mailing list