[Mesa-users] Mesa 17 Wayland EGL changes

Pekka Paalanen ppaalanen at gmail.com
Wed Feb 15 11:31:56 UTC 2017


On Wed, 15 Feb 2017 12:03:44 +0100
Cédric Legrand <legrand.cedric.01 at gmail.com> wrote:

> 2017-02-14 13:41 GMT+01:00 Cédric Legrand <legrand.cedric.01 at gmail.com>:
> 
> > 2017-02-14 13:13 GMT+01:00 Pekka Paalanen <ppaalanen at gmail.com>:
> >  
> >> On Tue, 14 Feb 2017 12:58:33 +0100
> >> Cédric Legrand <legrand.cedric.01 at gmail.com> wrote:
> >>  
> >> > 2017-02-13 15:40 GMT+01:00 Pekka Paalanen <ppaalanen at gmail.com>:
> >> >  
> >>  
> >> > I'm still unable to get hardware acceleration with the
> >> > EGL_WL_bind_wayland_display extension working (question 3). I'm pretty  
> >> sure  
> >> > I missed a little stupid detail, but I can't get what exactly. If  
> >> someone  
> >> > could at least point me to a typical workflow, this may help me.  
> >>
> >> Maybe follow what Weston does with it?

> 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:
>     glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
>     glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
> 
> I already tried it, but did not work because I did not bind the texture
> before running it. Shame on me.

Oh indeed, these textures do not have mipmaps defined, so using the
default filter that requires mipmaps will just produce black. Yay
OpenGL.

> Sorry to have taken some of your time for this stupid mistake, and thanks
> for all the help.

No prob. I believe *everyone* starting with OpenGL has been there.


Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/mesa-users/attachments/20170215/4e001ae9/attachment.sig>


More information about the mesa-users mailing list