[Bug 705821] vaapi/wayland: add support for external wl_surface/wl_display
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu May 18 06:52:30 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=705821
--- Comment #60 from Hyunjun Ko <zzoon at igalia.com> ---
Created attachment 352068
--> https://bugzilla.gnome.org/attachment.cgi?id=352068&action=edit
libs: display/window: wayland: add 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 these new methods gst_vaapi_window_wayland_new_with_surface(),
gst_vaapi_window_wayland_get_surface() and
gst_vaapi_window_wayland_is_foreign_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