[with_wayland=yes])
AS_IF([test "${with_wayland}" = "yes" || test "${with_wayland}" = "1"],
- [PKG_CHECK_MODULES([TPL_WL], [libtdm-client wayland-tbm-client wayland-tbm-server tizen-surface-client glib-2.0 wayland-egl presentation-time-client wayland-egl-backend])
+ [PKG_CHECK_MODULES([TPL_WL],
+ [libtdm-client wayland-tbm-client wayland-tbm-server
+ tizen-surface-client glib-2.0 wayland-egl presentation-time-client wayland-egl-backend
+ linux-explicit-synchronization-unstable-v1-client])
TPL_CFLAGS+="$TPL_WL_CFLAGS"
TPL_CFLAGS+=" -DTPL_WINSYS_WL=1 "
TPL_LIBS+="$TPL_WL_LIBS"],
surf_source->surface_sync, sync_fd);
close(sync_fd);
} else {
- ret = _twe_thread_fence_wait_source_attach(surf_source, tbm_surface, sync_fd);
- if (ret != TPL_ERROR_NONE) {
+ res = _twe_thread_fence_wait_source_attach(surf_source, tbm_surface, sync_fd);
+ if (res != TPL_ERROR_NONE) {
TPL_ERR("Failed to attach source with fence_fd(%d) ret(%d)",
- sync_fd, ret);
+ sync_fd, res);
surf_source->use_sync_fence = TPL_FALSE;
- return ret;
+ return res;
}
surf_source->use_sync_fence = TPL_TRUE;