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

Daniel Stone daniel at fooishbar.org
Mon Sep 12 11:11:52 UTC 2016


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.

Cheers,
Daniel


More information about the wayland-devel mailing list