Commit 7ff01bb1 by Jeff Vigil Committed by Commit Bot

EGL: Add missing sync entry points

Update libEGL.cpp with KHR version of sync entry points Update libEGL.def with sync KHR entry point names Bug: angleproject:4383 Change-Id: Ibda23a9e2ba6c873384238d492f0895b370fd6af Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2212892Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Commit-Queue: Mohan Maiya <m.maiya@samsung.com>
parent 31fbf981
......@@ -728,4 +728,38 @@ EGLBoolean EGLAPIENTRY eglSwapBuffersWithFrameTokenANGLE(EGLDisplay dpy,
EnsureEGLLoaded();
return EGL_SwapBuffersWithFrameTokenANGLE(dpy, surface, frametoken);
}
EGLSync EGLAPIENTRY eglCreateSyncKHR(EGLDisplay dpy, EGLenum type, const EGLint *attrib_list)
{
EnsureEGLLoaded();
return EGL_CreateSyncKHR(dpy, type, attrib_list);
}
EGLBoolean EGLAPIENTRY eglDestroySyncKHR(EGLDisplay dpy, EGLSync sync)
{
EnsureEGLLoaded();
return EGL_DestroySyncKHR(dpy, sync);
}
EGLint EGLAPIENTRY eglClientWaitSyncKHR(EGLDisplay dpy, EGLSync sync, EGLint flags, EGLTime timeout)
{
EnsureEGLLoaded();
return EGL_ClientWaitSyncKHR(dpy, sync, flags, timeout);
}
EGLBoolean EGLAPIENTRY eglGetSyncAttribKHR(EGLDisplay dpy,
EGLSync sync,
EGLint attribute,
EGLint *value)
{
EnsureEGLLoaded();
return EGL_GetSyncAttribKHR(dpy, sync, attribute, value);
}
EGLint EGLAPIENTRY eglWaitSyncKHR(EGLDisplay dpy, EGLSync sync, EGLint flags)
{
EnsureEGLLoaded();
return EGL_WaitSyncKHR(dpy, sync, flags);
}
} // extern "C"
......@@ -75,6 +75,11 @@ EXPORTS
eglGetNativeClientBufferANDROID @81
eglDupNativeFenceFDANDROID @82
eglGetMscRateANGLE @83
eglCreateSyncKHR @84
eglDestroySyncKHR @85
eglClientWaitSyncKHR @86
eglGetSyncAttribKHR @87
eglWaitSyncKHR @88
; 1.5 entry points
eglCreateSync @38
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment