Fixed missing server_wait_sync to be called.
authorJoonbum Ko <joonbum.ko@samsung.com>
Tue, 30 Jun 2020 12:27:27 +0000 (21:27 +0900)
committerXuelian Bai <xuelian.bai@samsung.com>
Thu, 18 Jan 2024 01:31:55 +0000 (09:31 +0800)
 - 'server_wait_sync' should be called from
  'tizen_internal_wait_sync_for_release_fence' with release_fence fd
  received from dequeue, but the part was missing and fixed.

Change-Id: Ic505b2937ef472528a7dae2db486f66cf0cb3626
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
src/egl/drivers/dri2/platform_tizen.c

index a3a2b67..d15050e 100755 (executable)
@@ -210,6 +210,9 @@ tizen_internal_wait_sync_for_release_fence(struct dri2_egl_surface *dri2_surf,
       return EGL_FALSE;
    }
 
+   dri2_dpy->fence->server_wait_sync(dri2_ctx->dri_context,
+                                     dri2_sync->fence, 0);
+
    close(dri2_sync->base.SyncFd);
    if (dri2_sync->fence)
       dri2_dpy->fence->destroy_fence(dri2_dpy->dri_screen_render_gpu, dri2_sync->fence);