[Bug 705821] vaapi/wayland: add support for external wl_surface/wl_display

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Apr 18 14:55:41 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=705821

--- Comment #66 from Víctor Manuel Jáquez Leal <vjaquez at igalia.com> ---
Created attachment 371096
  --> https://bugzilla.gnome.org/attachment.cgi?id=371096&action=edit
libs: display,window: wayland: foreign wl_display/wl_surface support

wl_display can be set from application.

It is not fatal when wl_display doesn't support shell/output interface,
since shell_surface and opaque_region are not necessary for external
wayland surfaces.

Also, use wl_subcompositor and wl_subsurface.
See Appendix A. Wayland Protocol Specification as the following.

"""
The aim of sub-surfaces is to offload some of the compositing work
within a window from clients to the compositor. A prime example is
a video player with decorations and video in separate wl_surface
objects.

This should allow the compositor to pass YUV video buffer processing to
dedicated overlay hardware when possible.
"""

Added new method gst_vaapi_window_wayland_new_with_surface()

Original-Patch-By: Víctor Manuel Jáquez Leal <victorx.jaquez at intel.com>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list