[Mesa-dev] [RFC 04/12] squash! egl: add EGL_ANDROID_native_fence_sync

Chad Versace chadversary at chromium.org
Mon Oct 10 17:43:51 UTC 2016


Add EGL_KHR_debug tracing to eglDupNativeFenceFDANDROID, because all EGL
entrypoints support tracing now.
---
 src/egl/main/eglapi.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/egl/main/eglapi.c b/src/egl/main/eglapi.c
index 3c0b017..449a2be 100644
--- a/src/egl/main/eglapi.c
+++ b/src/egl/main/eglapi.c
@@ -1813,6 +1813,8 @@ eglDupNativeFenceFDANDROID(EGLDisplay dpy, EGLSync sync)
    _EGLDriver *drv;
    EGLBoolean ret;
 
+   _EGL_FUNC_START(disp, EGL_OBJECT_SYNC_KHR, s, EGL_FALSE);
+
    /* the spec doesn't seem to specify what happens if the fence
     * type is not EGL_SYNC_NATIVE_FENCE_ANDROID, but this seems
     * sensible:
-- 
2.10.0



More information about the mesa-dev mailing list