Re: Mesa 17 Wayland EGL changes

Cédric Legrand <[email protected]>
Newsgroups gmane.comp.video.mesa3d.user
Message-ID <CAEPHVGkR+qRc3nGbN9UVHT6-_2TdO0v7P7Yae-RuvTybvnGViA@mail.gmail.com>
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?
>>
>> https://cgit.freedesktop.org/wayland/weston/tree/libweston/g
>> l-renderer.c?id=1.99.92#n1997
>>
>> gl_renderer_attach() -> gl_renderer_attach_egl()
>>
>> You do handle different wl_buffer types (wl_shm, EGL, ...) accordingly,
>> right?
>>
>>
>> Thanks,
>> pq
>>
>
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.

Sorry to have taken some of your time for this stupid mistake, and thanks
for all the help.
Cédric Legrand

_______________________________________________
mesa-users mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-users
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.