thanks Matthew。 I know little about totem/gtk3, just wonder why not use waylandsink to render video directly to a wl_surface/wl_sub_surface. it means to create a gtk widget which associates with a wl_sub_surface, it is a child of the main window but skip gl composition inside app. for a dedicated video player app, texture video is just the favor of developer, not the interest of end-user. -------------------------------- ----- 原始邮件 ----- 发件人:Matthew Waters <[hidden email]> 收件人:[hidden email], Discussion of the development of and with GStreamer <[hidden email]> 主题:Re: if we plan to remove TEXTURE_UPLOAD, what will be used instead? 日期:2019年09月11日 17点10分 Hi,
1. clutter is effectively unmaintained and is really the only major user of the gl upload meta so the first move is to remove the clutter dependency inside totem. There are replacement Gtk sink elements (gtkglsink and gtksink) for Gtk3 that can be used. For Gtk4, the equivalent elements would need to written. 2. The general case for OpenGL within a Gstreamer context is to use the libgstgl-1.0 library and the associated elements (glupload, glcolorconvert, etc). One can pass OpenGL textures between elements using GstGLMemory with much more information than was ever possible with the upload meta. Currently libgstgl does include a upload meta implementation however that implementation will only be used if nothing else is found (except for upload from system memory). Cheers -Matt On 11/9/19 6:24 pm, HalleyZhao wrote: _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
You can probably do that for
wayland-specific things however X11 is still used by people as
well as the cross-platform concerns for MacOS or windows that one
wouldn't want to preclude by relying specifically on wayland.
Also, resizes with wayland subsurfaces are somewhat tricky to keep synchronised and require extra API. Cheers -Matt On 12/9/19 10:16 am, HalleyZhao wrote:
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (499 bytes) Download Attachment |
Free forum by Nabble | Edit this page |