egl: add EGL_KHR_reusable_sync to egl_dri
[mesa.git] / src / egl / drivers / dri2 / egl_dri2.h
index 52ad92b182d300070bda41570fee97dd7bc9caee..ef799398474368f0ba73d8efb11e1e40cfebdd03 100644 (file)
@@ -307,6 +307,8 @@ struct dri2_egl_image
 
 struct dri2_egl_sync {
    _EGLSync base;
+   mtx_t mutex;
+   cnd_t cond;
    int refcount;
    void *fence;
 };