Re: Mesa 17 Wayland EGL changes

Pekka Paalanen <[email protected]>
Newsgroups gmane.comp.video.mesa3d.user
Message-ID <20170215133156.125fb115@eldfell>
On Wed, 15 Feb 2017 12:03:44 +0100
Cédric Legrand <[email protected]> wrote:

> 2017-02-14 13:41 GMT+01:00 Cédric Legrand <[email protected]>:
> 
> > 2017-02-14 13:13 GMT+01:00 Pekka Paalanen <[email protected]>:
> >  
> >> On Tue, 14 Feb 2017 12:58:33 +0100
> >> Cédric Legrand <[email protected]> wrote:
> >>  
> >> > 2017-02-13 15:40 GMT+01:00 Pekka Paalanen <[email protected]>:
> >> >  
> >>  
> >> > 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

_______________________________________________
mesa-users mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-users
signature.asc (application/pgp-signature, 801 B)
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCAAGBQJYpDwsAAoJECNf5bQRqqqn1yAQAKpzskK6k5nYL91VnmRKGvKH
Z9IOK4mSCR27UOCkekZM3RbEhnq7rMg4q7u7A7mytnh6nVFcGsgba9fRUSUDH2og
/6UHFK9w+/xpT3hkWzQ+opR/ce74n6P1ev6Wi8Yt/3l0u22kdXGzVB33rwzNMQFC
X22R5M3xNknfScoq6EUuJ1v7e0OmqG0C9CDtHtyORbszXj/llSSrrWh6U+caFuKH
ecz25/1oWmlbHyqKO3O8Rckx8Ytl7cz2jSUW5sraydTh6JpB0/KLcpY0md5js/gX
qEdkIdAhOMiwL5CqgwIaSplhaSfV2W4SHaFG95s+OagZNO7zAD6nfwbBJpoX7zRx
isoWr8r7eBoMkJEc1Pvyp1QbsQ92LxXa4gSwdLrtohreGrdebUDSwzfTWOkUUCVs
1lSGgnhcuHFT3UmFRBqQUuKzmhmq64fEPLye6t/JO0fQWEpVLzhibX5/qQfIt+HV
WQ+jAniVd6g36JRpaMu7+lrTowHbxIfWcCkndPr4wL48hoSml8ondWb9WxnxsoOT
hoGZYsegPHH/dvp52jtxIxcmpZtfFSVV81n8/7UyHXH1KX+uWLC/Lt9/9eCuZsUs
6ka/NEwYiFf1fpHvXxqiEPV75EY3opsPHAkxCgYS8uA7dDLQkZwisQ2mr+mOIzrn
NY23Ph5LIBPEQXxbhDfL
=S03i
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.