<p>I mean, </p><p>in <span style="color: rgb(24, 54, 145); font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px; line-height: 16.7999992370605px; white-space: pre;">gst_droideglsink_bind_frame(), </span><span style="color: rgb(24, 54, 145); font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px; line-height: 16.7999992370605px; white-space: pre;">EGLImage is created from video frame.</span></p><p><span style="color: rgb(24, 54, 145); font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px; line-height: 16.7999992370605px; white-space: pre;">then I assume this video frame will finally drawn as texture in application.</span></p><p><br></p><p><span style="color: rgb(24, 54, 145); font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px; line-height: 16.7999992370605px; white-space: pre;">is there other option to send the video frame mem to compositor directly, then the compositor has one option to assign the video frame to overlay plane.</span></p><p><span style="color: rgb(24, 54, 145); font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px; line-height: 16.7999992370605px; white-space: pre;">something like SurfaceView in android, the compositor acts as buffer consumer directly.</span></p><p><span style="color: rgb(24, 54, 145); font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px; line-height: 16.7999992370605px; white-space: pre;"><br></span></p><p><span style="color: rgb(24, 54, 145); font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px; line-height: 16.7999992370605px; white-space: pre;">thanks.</span></p><div><span style="color: rgb(24, 54, 145); font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px; line-height: 16.7999992370605px; white-space: pre;"><br></span></div><table class="highlight tab-size-8 js-file-line-container" style="box-sizing: border-box; border-collapse: collapse; border-spacing: 0px; tab-size: 8; color: rgb(51, 51, 51); font-family: Helvetica, arial, nimbussansl, liberationsans, freesans, clean, sans-serif, 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 13px; line-height: 18.2000007629395px;"><tbody style="box-sizing: border-box;"><tr style="box-sizing: border-box;"><td id="LC635" class="blob-code blob-code-inner js-file-line" style="box-sizing: border-box; padding: 0px 10px; position: relative; vertical-align: top; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px; white-space: pre; overflow: visible; word-wrap: normal;"><span class="pl-s" style="box-sizing: border-box; color: rgb(24, 54, 145);">sink->image =</span></td></tr><tr style="box-sizing: border-box;"><td id="L636" class="blob-num js-line-number" data-line-number="636" style="box-sizing: border-box; padding: 0px 10px; width: 50px; min-width: 50px; white-space: nowrap; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px; line-height: 18px; color: rgba(0, 0, 0, 0.298039); vertical-align: top; text-align: right; border-style: solid; border-color: rgb(238, 238, 238); border-width: 0px 1px 0px 0px; cursor: pointer; -webkit-user-select: none;"></td><td id="LC636" class="blob-code blob-code-inner js-file-line" style="box-sizing: border-box; padding: 0px 10px; position: relative; vertical-align: top; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px; white-space: pre; overflow: visible; word-wrap: normal;"><span class="pl-s" style="box-sizing: border-box; color: rgb(24, 54, 145);">      sink->eglCreateImageKHR (sink->dpy, EGL_NO_CONTEXT,</span></td></tr><tr style="box-sizing: border-box;"><td id="L637" class="blob-num js-line-number" data-line-number="637" style="box-sizing: border-box; padding: 0px 10px; width: 50px; min-width: 50px; white-space: nowrap; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px; line-height: 18px; color: rgba(0, 0, 0, 0.298039); vertical-align: top; text-align: right; border-style: solid; border-color: rgb(238, 238, 238); border-width: 0px 1px 0px 0px; cursor: pointer; -webkit-user-select: none;"></td><td id="LC637" class="blob-code blob-code-inner js-file-line" style="box-sizing: border-box; padding: 0px 10px; position: relative; vertical-align: top; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px; white-space: pre; overflow: visible; word-wrap: normal;"><span class="pl-s" style="box-sizing: border-box; color: rgb(24, 54, 145);">      EGL_NATIVE_BUFFER_ANDROID,</span></td></tr><tr style="box-sizing: border-box;"><td id="L638" class="blob-num js-line-number" data-line-number="638" style="box-sizing: border-box; padding: 0px 10px; width: 50px; min-width: 50px; white-space: nowrap; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px; line-height: 18px; color: rgba(0, 0, 0, 0.298039); vertical-align: top; text-align: right; border-style: solid; border-color: rgb(238, 238, 238); border-width: 0px 1px 0px 0px; cursor: pointer; -webkit-user-select: none;"></td><td id="LC638" class="blob-code blob-code-inner js-file-line" style="box-sizing: border-box; padding: 0px 10px; position: relative; vertical-align: top; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px; white-space: pre; overflow: visible; word-wrap: normal;"><span class="pl-s" style="box-sizing: border-box; color: rgb(24, 54, 145);">      (EGLClientBuffer) gst_droid_media_buffer_memory_get_buffer (mem),</span></td></tr><tr style="box-sizing: border-box;"><td id="L639" class="blob-num js-line-number" data-line-number="639" style="box-sizing: border-box; padding: 0px 10px; width: 50px; min-width: 50px; white-space: nowrap; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px; line-height: 18px; color: rgba(0, 0, 0, 0.298039); vertical-align: top; text-align: right; border-style: solid; border-color: rgb(238, 238, 238); border-width: 0px 1px 0px 0px; cursor: pointer; -webkit-user-select: none;"></td><td id="LC639" class="blob-code blob-code-inner js-file-line" style="box-sizing: border-box; padding: 0px 10px; position: relative; vertical-align: top; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px; white-space: pre; overflow: visible; word-wrap: normal;"><span class="pl-s" style="box-sizing: border-box; color: rgb(24, 54, 145);">      eglImgAttrs);</span></td></tr></tbody></table><br><br><div id="">--------------------------------<br></div><div id=""><br></div><br><div id="origbody"><div style="background: #f2f2f2;">----- 原始邮件 -----<br>发件人:Mohammed Hassan <mohammed.hassan@jollamobile.com><br>收件人:Halley <halley_zhao@sina.com><br>抄送人:Sailfish OS Developers <devel@lists.sailfishos.org><br>主题:Re: could we support hw overlay from gst-droid?<br>日期:2015年04月29日 08点27分<br></div><br>On Sun, Apr 26, 2015 at 02:23:24PM +0800, Halley wrote:<br>>  Hi Mohammed:<br>> <br>>  in gst-droid, eglsink is created for texture video rendering.<br>> <br>>  is it possible that the video is rendered to overlay? independent from<br>>  egl/gles.<br>Hi,<br>What do you mean by "rendered to an overlay"? What exactly are you trying to do?<br>Also note that gst-droid is not yet part of Sailfish OS so you cannot yet use it.<br>Cheers,<br></div>