<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">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.<br>
<br>
Also, resizes with wayland subsurfaces are somewhat tricky to keep
synchronised and require extra API.<br>
<br>
Cheers<br>
-Matt<br>
<br>
On 12/9/19 10:16 am, HalleyZhao wrote:<br>
</div>
<blockquote type="cite"
cite="mid:20190912001625.BBF782D0009B@webmail.sinamail.sina.com.cn">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div>thanks Matthew。</div>
<div><br>
</div>
<div>I know little about totem/gtk3, just wonder why not use
waylandsink to render video directly to a
wl_surface/wl_sub_surface. </div>
<div>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.</div>
<div><br>
</div>
<div>for a dedicated video player app, texture video is just the
favor of developer, not the interest of end-user.</div>
<br>
<br>
<div id="">--------------------------------<br>
</div>
<div id=""><br>
</div>
<br>
<div id="origbody">
<div style="background: #f2f2f2;">----- 原始邮件 -----<br>
发件人:Matthew Waters <a class="moz-txt-link-rfc2396E" href="mailto:ystreet00@gmail.com"><ystreet00@gmail.com></a><br>
收件人:<a class="moz-txt-link-abbreviated" href="mailto:halleyzhao@sina.com">halleyzhao@sina.com</a>, Discussion of the development of and
with GStreamer <a class="moz-txt-link-rfc2396E" href="mailto:gstreamer-devel@lists.freedesktop.org"><gstreamer-devel@lists.freedesktop.org></a><br>
主题:Re: if we plan to remove TEXTURE_UPLOAD, what will be used
instead?<br>
日期:2019年09月11日 17点10分<br>
</div>
<br>
<div class="">Hi,<br>
<br>
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.<br>
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).<br>
<br>
Cheers<br>
-Matt<br>
<br>
On 11/9/19 6:24 pm, HalleyZhao wrote:<br>
</div>
<blockquote type="cite"
cite="mid:20190911082449.8BF7D2D0009E@webmail.sinamail.sina.com.cn">
<div>Hi experts:</div>
<div>from the following thread, I notice that community plans
to remove TEXTURE_UPLOAD/GstGLUploadTextureMeta.</div>
<div>then what will be used instead?</div>
<div>take totem as example, it is problemtic to use
clutter-sink with hardware accerelated decoder.</div>
<div>then what's the decent way to render video in totem?</div>
<div><br>
</div>
<div><br>
</div>
<div><a target="_blank"
href="https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/issues/137"
moz-do-not-send="true">https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/issues/137</a></div>
<div class="" style="box-sizing: border-box; display: flex;
justify-content: space-between; color: rgb(46, 46, 46);
font-family: -apple-system, BlinkMacSystemFont, "Segoe
UI", Roboto, "Noto Sans", Ubuntu, Cantarell,
"Helvetica Neue", sans-serif, "Apple Color
Emoji", "Segoe UI Emoji", "Segoe UI
Symbol", "Noto Color Emoji"; font-size:
14px;">
<div class="" discussion-id="" style="box-sizing:
border-box; align-self: flex-start; flex-shrink: 0;
display: inline-flex; align-items: center; margin-left:
10px; color: rgb(145, 145, 145);"><span class=""
style="box-sizing: border-box; display: inline-block;
color: rgb(112, 112, 112); font-size: 12px; line-height:
20px; padding: 0px 7px; border: 1px solid rgb(229, 229,
229); border-radius: 100px; margin: 0px 3px;">Maintainer</span></div>
</div>
<div class="" style="box-sizing: border-box; color: rgb(46,
46, 46); font-family: -apple-system, BlinkMacSystemFont,
"Segoe UI", Roboto, "Noto Sans", Ubuntu,
Cantarell, "Helvetica Neue", sans-serif,
"Apple Color Emoji", "Segoe UI Emoji",
"Segoe UI Symbol", "Noto Color Emoji";
font-size: 14px;">
<div class="" style="box-sizing: border-box; overflow: auto
hidden;">
<div class="" style="box-sizing: border-box;
overflow-wrap: break-word;">
<blockquote data-sourcepos="1:1-1:48" dir="auto"
style="box-sizing: border-box; margin: 0px 0px 16px;
color: rgb(127, 143, 164); font-size: inherit;
padding: 8px 24px; border-left: 3px solid rgb(234,
234, 234); text-align: initial;">
<p data-sourcepos="1:3-1:48" style="box-sizing:
border-box; margin-right: 0px; margin-left: 0px;
font-size: inherit; line-height: 1.5;">TEXTURE_UPLOAD
as deprecated for next gst 1.18</p>
</blockquote>
<p data-sourcepos="3:1-3:47" dir="auto"
style="box-sizing: border-box; margin-right: 0px;
margin-bottom: 16px; margin-left: 0px; text-align:
initial;">TEXTURE_UPLOAD is planned to be removed for
2.0</p>
<p data-sourcepos="5:1-5:252" dir="auto"
style="box-sizing: border-box; margin-right: 0px;
margin-bottom: 16px; margin-left: 0px; text-align:
initial;">I removed TEXTURE_UPLOAD support in Wayland
from gstreamer-vaapi for release 1.14, if I recall
correctly, but for Canonical it was a regression, and
Daniel van Vught devoted a lot of time to make it
work, but as we confirm now, only for Intel's driver.</p>
<div style="box-sizing: border-box; margin-right: 0px;
margin-left: 0px; text-align: initial;">We are
devoting a lot of time supporting a deprecated
transfer mechanism because people demand it. Every
time I think about it, I realized that I have said
"no" when Daniel pushed for it.</div>
<div style="box-sizing: border-box; margin-right: 0px;
margin-left: 0px; text-align: initial;"><br>
</div>
</div>
</div>
</div>
<div id="">--------------------------------<br>
</div>
<div id=""><br>
</div>
<br>
<fieldset class=""></fieldset>
<pre class="" wrap="">_______________________________________________
gstreamer-devel mailing list
<a target="_blank" class="" href="mailto:gstreamer-devel@lists.freedesktop.org" moz-do-not-send="true">gstreamer-devel@lists.freedesktop.org</a>
<a target="_blank" class="" href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" moz-do-not-send="true">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></pre>
</blockquote>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a class="moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></pre>
</blockquote>
<p><br>
</p>
</body>
</html>