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: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
                CC: [email protected], [email protected]
     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.
_______________________________________________
Wayland-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to