[PATCH] RFC, weston: Use eglGetProcAddress to retrieve GLESv2 functions

Emil Velikov emil.l.velikov at gmail.com
Mon Sep 12 12:04:59 UTC 2016


On 12 September 2016 at 12:11, Daniel Stone <daniel at fooishbar.org> wrote:
> Hi Armin,
>
> On 10 September 2016 at 21:23, Armin Krezović <krezovic.armin at gmail.com> wrote:
>> It appears that in current Mesa git master, GLESv2 function
>> prototypes are hidden.
>>
>> Per Emil's suggestion on [1], use eglGetProcAdddress to get
>> the functions and update the code to use such functions.
>
> NAK, Mesa is broken. It's right to use eglGetProcAddress for extension
> functions, but using it for core functions makes code _less_ portable,
> by requiring EGL_KHR_get_all_proc_addresses support.
>
> The Mesa change is broken and should be reverted.
>
I'm fine with either approach really. Although we need to poke Khronos
who have broken this since 2015/06.

On the mesa front: please don't revert the whole commit, but instead
remove the spurious ifdef hunks

Thanks
Emil


More information about the wayland-devel mailing list