On 12/05/15 22:54, Marek Olšák wrote:
> From: Marek Olšák <marek.ol...@amd.com>
> 
> Declare the functions without the suffix, so that the core names are exported.
> ---
>  src/egl/main/eglapi.c | 20 ++++++++++++--------
>  1 file changed, 12 insertions(+), 8 deletions(-)
> 
> diff --git a/src/egl/main/eglapi.c b/src/egl/main/eglapi.c
> index 9f09466..60df297 100644
> --- a/src/egl/main/eglapi.c
> +++ b/src/egl/main/eglapi.c
> @@ -1158,16 +1158,20 @@ eglGetProcAddress(const char *procname)
>        { "eglWaitClient", (_EGLProc) eglWaitClient },
>        { "eglWaitGL", (_EGLProc) eglWaitGL },
>        { "eglWaitNative", (_EGLProc) eglWaitNative },
> +      { "eglCreateSync", (_EGLProc) eglCreateSync },
> +      { "eglDestroySync", (_EGLProc) eglDestroySync },
> +      { "eglClientWaitSync", (_EGLProc) eglClientWaitSync },
> +      { "eglDestroyImage", (_EGLProc) eglDestroyImage },
>  #endif /* _EGL_GET_CORE_ADDRESSES */
>  #ifdef EGL_MESA_drm_display
>        { "eglGetDRMDisplayMESA", (_EGLProc) eglGetDRMDisplayMESA },
>  #endif
>        { "eglCreateImageKHR", (_EGLProc) eglCreateImageKHR },
> -      { "eglDestroyImageKHR", (_EGLProc) eglDestroyImageKHR },
> +      { "eglDestroyImageKHR", (_EGLProc) eglDestroyImage },
>        { "eglCreateSyncKHR", (_EGLProc) eglCreateSyncKHR },
> -      { "eglCreateSync64KHR", (_EGLProc) eglCreateSync64KHR },
> -      { "eglDestroySyncKHR", (_EGLProc) eglDestroySyncKHR },
> -      { "eglClientWaitSyncKHR", (_EGLProc) eglClientWaitSyncKHR },
> +      { "eglCreateSync64KHR", (_EGLProc) eglCreateSync },
> +      { "eglDestroySyncKHR", (_EGLProc) eglDestroySync },
> +      { "eglClientWaitSyncKHR", (_EGLProc) eglClientWaitSync },
Just a heads-up there will be some conflicts when rebasing this patch.
The _EGL_GET_CORE_ADDRESSES macro is gone, plus the four renamed
functions have a static notation.

-Emil
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to