diff options
author | Joonbum Ko <joonbum.ko@samsung.com> | 2020-06-30 21:27:27 +0900 |
---|---|---|
committer | Joonbum Ko <joonbum.ko@samsung.com> | 2020-07-21 12:42:06 +0900 |
commit | 248cf486623b6e98d3f7cafc6dd1575bd4970792 (patch) | |
tree | 9a80ff1c9a8fd24c1556864e72981f99d4e6a9aa | |
parent | dd3f44f4e543e6afaed91fdd23cdc8a0645bdc30 (diff) | |
download | mesa-248cf486623b6e98d3f7cafc6dd1575bd4970792.tar.gz mesa-248cf486623b6e98d3f7cafc6dd1575bd4970792.tar.bz2 mesa-248cf486623b6e98d3f7cafc6dd1575bd4970792.zip |
Fixed missing server_wait_sync to be called.
- '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>
-rwxr-xr-x | src/egl/drivers/dri2/platform_tizen.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/egl/drivers/dri2/platform_tizen.c b/src/egl/drivers/dri2/platform_tizen.c index a3c2b8722c8..a48c916ac0a 100755 --- a/src/egl/drivers/dri2/platform_tizen.c +++ b/src/egl/drivers/dri2/platform_tizen.c @@ -211,6 +211,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, dri2_sync->fence); |