<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2017-02-14 13:41 GMT+01:00 Cédric Legrand <span dir="ltr"><<a href="mailto:legrand.cedric.01@gmail.com" target="_blank">legrand.cedric.01@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="gmail-">2017-02-14 13:13 GMT+01:00 Pekka Paalanen <span dir="ltr"><<a href="mailto:ppaalanen@gmail.com" target="_blank">ppaalanen@gmail.com</a>></span>:<br></span><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-"><span class="gmail-m_6059282573222397571gmail-">On Tue, 14 Feb 2017 12:58:33 +0100<br>
Cédric Legrand <<a href="mailto:legrand.cedric.01@gmail.com" target="_blank">legrand.cedric.01@gmail.com</a>> wrote:<br>
<br>
> 2017-02-13 15:40 GMT+01:00 Pekka Paalanen <<a href="mailto:ppaalanen@gmail.com" target="_blank">ppaalanen@gmail.com</a>>:<br>
><br>
</span></span><span class="gmail-"><span class="gmail-m_6059282573222397571gmail-"><br>
> I'm still unable to get hardware acceleration with the<br>
> EGL_WL_bind_wayland_display extension working (question 3). I'm pretty sure<br>
> I missed a little stupid detail, but I can't get what exactly. If someone<br>
> could at least point me to a typical workflow, this may help me.<br>
<br>
</span>Maybe follow what Weston does with it?<br>
<br>
<a href="https://cgit.freedesktop.org/wayland/weston/tree/libweston/gl-renderer.c?id=1.99.92#n1997" rel="noreferrer" target="_blank">https://cgit.freedesktop.org/w<wbr>ayland/weston/tree/libweston/g<wbr>l-renderer.c?id=1.99.92#n1997</a><br>
<br>
gl_renderer_attach() -> gl_renderer_attach_egl()<br>
<br>
You do handle different wl_buffer types (wl_shm, EGL, ...) accordingly,<br>
right?<br>
<br>
<br>
Thanks,<br>
pq<br></span></blockquote></div></div></div></blockquote><div><br></div><div>Finally got it, it had nothing to do with the extension per se, but with my lack of experience with OpenGL. As I though it was a very little detail:<br> glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);<br> glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);<br> <br></div><div>I already tried it, but did not work because I did not bind the texture before running it. Shame on me.<br><br></div><div>Sorry to have taken some of your time for this stupid mistake, and thanks for all the help.<br></div><div>Cédric Legrand<br></div></div></div></div>