[PATCH] weston: Use libepoxy for GLESv2 functions.

Emil Velikov emil.l.velikov at gmail.com
Mon Sep 12 12:44:37 UTC 2016


On 12 September 2016 at 13:15, Pekka Paalanen <ppaalanen at gmail.com> wrote:
> On Mon, 12 Sep 2016 13:56:30 +0200
> Armin Krezović <krezovic.armin at gmail.com> wrote:
>
>> Khronos has decided to hide the GLESv2 function prototypes
>> in GLESv2 headers and the code has landed in latest mesa git.
>>
>> Without this change, weston is unusable when built with
>> headers from mesa git.
>>
>> Suggestion by Pekka to use libepoxy. Note that libepoxy
>> isn't maintained that much recently, and it pulls some
>> X11 dependencies.
>>
>> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97773
>> Signed-off-by: Armin Krezović <krezovic.armin at gmail.com>
>> ---
>>  Makefile.am             | 2 +-
>>  clients/simple-egl.c    | 2 +-
>>  clients/subsurfaces.c   | 2 +-
>>  configure.ac            | 3 ++-
>>  libweston/gl-renderer.c | 3 +--
>>  5 files changed, 6 insertions(+), 6 deletions(-)
>
> Hi,
>
> yeah, just repeating the irc commentary:
> if the situation with the headers remains, this is probably the
> preferred solution. However, I'm hesitant to introduce a dependency to
> libepoxy until it can be built without X11 components.
>
> Let's keep this patch in mind and see what happens.
>
As mentioned elsewhere:

Please report things and/or send patches if Khronos or mesa breaks
things. From our (mesa) side this is a serious no-go and is definitely
not something we want to do.
Mesa fix is on the mailing list [1].

Thanks
Emil

[1] https://lists.freedesktop.org/archives/mesa-dev/2016-September/128654.html


More information about the wayland-devel mailing list