Searched refs:dri2_sync (Results 1 – 1 of 1) sorted by relevance
2842 struct dri2_egl_sync *dri2_sync) in dri2_egl_unref_sync() argument2844 if (p_atomic_dec_zero(&dri2_sync->refcount)) { in dri2_egl_unref_sync()2845 switch (dri2_sync->base.Type) { in dri2_egl_unref_sync()2847 cnd_destroy(&dri2_sync->cond); in dri2_egl_unref_sync()2850 if (dri2_sync->base.SyncFd != EGL_NO_NATIVE_FENCE_FD_ANDROID) in dri2_egl_unref_sync()2851 close(dri2_sync->base.SyncFd); in dri2_egl_unref_sync()2857 if (dri2_sync->fence) in dri2_egl_unref_sync()2858 dri2_dpy->fence->destroy_fence(dri2_dpy->dri_screen, dri2_sync->fence); in dri2_egl_unref_sync()2860 free(dri2_sync); in dri2_egl_unref_sync()2871 struct dri2_egl_sync *dri2_sync; in dri2_create_sync() local[all …]