}
if (surf_source->vk_sub_thread) {
- TPL_DEBUG("vk_sub_thread(%d) exit.", surf_source->vk_sub_thread);
+ TPL_DEBUG("vk_sub_thread(%p) exit.", surf_source->vk_sub_thread);
g_mutex_lock(&surf_source->sub_thread_mutex);
g_main_loop_quit(surf_source->vk_sub_loop);
if (!surf_source->is_destroying)
_twe_thread_wl_surface_commit(surf_source, tbm_surface);
else
- TPL_WARN("surf_source(%p) native window is already destroyed.");
+ TPL_WARN("surf_source(%p) native window is already destroyed.",
+ surf_source);
TPL_OBJECT_UNLOCK(&surf_source->obj);
}
surface->frontbuffer,
tbm_bo_export(tbm_surface_internal_get_bo(
surface->frontbuffer, 0)));
- TRACE_ASYNC_BEGIN(surface->frontbuffer,
+ TRACE_ASYNC_BEGIN((int)surface->frontbuffer,
"[DEQ]~[ENQ] BO_NAME:%d",
tbm_bo_export(tbm_surface_internal_get_bo(
surface->frontbuffer, 0)));
lock_ret = twe_display_lock(wayland_vk_wsi_display->twe_display);
if (res == TPL_ERROR_TIME_OUT) {
- TPL_ERR("Failed to get buffer during timeout_ns(%u)", timeout_ns);
+ TPL_ERR("Failed to get buffer during timeout_ns(%" PRIu64 ")",
+ timeout_ns);
if (lock_ret == TPL_ERROR_NONE)
twe_display_unlock(wayland_vk_wsi_display->twe_display);
return NULL;
} else if (res != TPL_ERROR_NONE) {
- TPL_ERR("Invalid parameter. twe_surface(%p) timeout_ns(%u)",
+ TPL_ERR("Invalid parameter. twe_surface(%p) timeout_ns(%" PRIu64 ")",
wayland_vk_wsi_surface->twe_surface, timeout_ns);
if (lock_ret == TPL_ERROR_NONE)
twe_display_unlock(wayland_vk_wsi_display->twe_display);