return TPL_ERROR_INVALID_PARAMETER;
}
- TRACE_ASYNC_END((int)tbm_surface, "[DEQ]~[ENQ] BO(%d)", tbm_bo_export(tbm_surface_internal_get_bo(tbm_surface, 0)));
+ TRACE_ASYNC_END((intptr_t)tbm_surface, "[DEQ]~[ENQ] BO(%d)", tbm_bo_export(tbm_surface_internal_get_bo(tbm_surface, 0)));
tbm_surface_internal_unref(tbm_surface);
surface, tpl_tbm_surface->tbm_queue, tbm_surface,
tbm_bo_export(tbm_surface_internal_get_bo(tbm_surface, 0)));
- TRACE_ASYNC_BEGIN((int)tbm_surface, "[DEQ]~[ENQ] BO(%d)",
+ TRACE_ASYNC_BEGIN((intptr_t)tbm_surface, "[DEQ]~[ENQ] BO(%d)",
tbm_bo_export(tbm_surface_internal_get_bo(tbm_surface, 0)));
return tbm_surface;
tbm_surface_queue_error_e tsq_err;
tbm_surface_h tbm_surface =
__tpl_list_pop_front(wayland_egl_surface->attached_buffers, NULL);
- TRACE_ASYNC_END((int)tbm_surface, "[COMMIT ~ RELEASE_CB] BO_NAME:%d",
+ TRACE_ASYNC_END((intptr_t)tbm_surface, "[COMMIT ~ RELEASE_CB] BO_NAME:%d",
tbm_bo_export(tbm_surface_internal_get_bo(
tbm_surface, 0)));
tbm_surface_internal_unref(tbm_surface);
if (tdm_lock_res == 0) pthread_mutex_unlock(&wayland_egl_display->tdm_mutex);
}
- TRACE_ASYNC_BEGIN((int)tbm_surface, "[COMMIT ~ RELEASE_CB] BO_NAME:%d",
+ TRACE_ASYNC_BEGIN((intptr_t)tbm_surface, "[COMMIT ~ RELEASE_CB] BO_NAME:%d",
tbm_bo_export(wayland_egl_buffer->bo));
}
TPL_LOG_B("WL_EGL",
"[ENQ_SKIP][F] Client already uses frontbuffer(%p)",
surface->frontbuffer);
- TRACE_ASYNC_END((int)wayland_egl_buffer, "[DEQ]~[ENQ] BO_NAME:%d",
+ TRACE_ASYNC_END((intptr_t)wayland_egl_buffer, "[DEQ]~[ENQ] BO_NAME:%d",
tbm_bo_export(wayland_egl_buffer->bo));
return TPL_ERROR_NONE;
}
return TPL_ERROR_INVALID_OPERATION;
}
- TRACE_ASYNC_END((int)wayland_egl_buffer, "[DEQ]~[ENQ] BO_NAME:%d",
+ TRACE_ASYNC_END((intptr_t)wayland_egl_buffer, "[DEQ]~[ENQ] BO_NAME:%d",
tbm_bo_export(wayland_egl_buffer->bo));
TRACE_BEGIN("[WAIT_VBLANK]");
__tpl_wayland_egl_get_wayland_buffer_from_tbm_surface(
surface->frontbuffer);
if (wayland_egl_buffer)
- TRACE_ASYNC_BEGIN((int)wayland_egl_buffer,
+ TRACE_ASYNC_BEGIN((intptr_t)wayland_egl_buffer,
"[DEQ]~[ENQ] BO_NAME:%d",
tbm_bo_export(wayland_egl_buffer->bo));
if (lock_res == 0) pthread_mutex_unlock(&wayland_egl_display->wl_event_mutex);
if ((wayland_egl_buffer =
__tpl_wayland_egl_get_wayland_buffer_from_tbm_surface(tbm_surface)) != NULL) {
TRACE_MARK("[DEQ][REUSED]BO_NAME:%d", tbm_bo_export(wayland_egl_buffer->bo));
- TRACE_ASYNC_BEGIN((int)wayland_egl_buffer, "[DEQ]~[ENQ] BO_NAME:%d",
+ TRACE_ASYNC_BEGIN((intptr_t)wayland_egl_buffer, "[DEQ]~[ENQ] BO_NAME:%d",
tbm_bo_export(wayland_egl_buffer->bo));
wayland_egl_buffer->dx = wl_egl_window->dx;
wayland_egl_buffer);
TRACE_MARK("[DEQ][NEW]BO_NAME:%d", tbm_bo_export(wayland_egl_buffer->bo));
- TRACE_ASYNC_BEGIN((int)wayland_egl_buffer, "[DEQ]~[ENQ] BO_NAME:%d",
+ TRACE_ASYNC_BEGIN((intptr_t)wayland_egl_buffer, "[DEQ]~[ENQ] BO_NAME:%d",
tbm_bo_export(wayland_egl_buffer->bo));
TPL_LOG_B("WL_EGL",
"[DEQ][N] tpl_wayland_egl_buffer_t(%p) wl_buffer(%p) tbm_surface(%p) bo(%d)",
tbm_surface = (tbm_surface_h) data;
- TRACE_ASYNC_END((int)tbm_surface, "[COMMIT ~ RELEASE_CB] BO_NAME:%d",
+ TRACE_ASYNC_END((intptr_t)tbm_surface, "[COMMIT ~ RELEASE_CB] BO_NAME:%d",
tbm_bo_export(tbm_surface_internal_get_bo(tbm_surface, 0)));
TPL_LOG_B("WL_EGL", "[RELEASE_CB] wl_buffer(%p) tbm_surface(%p) bo(%d)",
proxy, tbm_surface,
tpl_wayland_egl_buffer_t *wayland_egl_buffer =
__tpl_wayland_egl_get_wayland_buffer_from_tbm_surface(tbm_surface);
- TRACE_ASYNC_END((int)tbm_surface, "[COMMIT ~ RELEASE_CB] BO_NAME:%d",
+ TRACE_ASYNC_END((intptr_t)tbm_surface, "[COMMIT ~ RELEASE_CB] BO_NAME:%d",
tbm_bo_export(tbm_surface_internal_get_bo(
tbm_surface, 0)));
TPL_LOG_T("WL_EGL",
"[DEQ][F] surface->frontbuffer(%p) BO_NAME(%d)",
surface->frontbuffer, bo_name);
- TRACE_ASYNC_BEGIN((int)surface->frontbuffer,
+ TRACE_ASYNC_BEGIN((intptr_t)surface->frontbuffer,
"[DEQ]~[ENQ] BO_NAME:%d",
bo_name);
tpl_gmutex_unlock(&wl_egl_display->wl_event_mutex);
wl_egl_surface->reset = TPL_FALSE;
TRACE_MARK("[DEQ][NEW]BO_NAME:%d", wl_egl_buffer->bo_name);
- TRACE_ASYNC_BEGIN((int)tbm_surface, "[DEQ]~[ENQ] BO_NAME:%d",
+ TRACE_ASYNC_BEGIN((intptr_t)tbm_surface, "[DEQ]~[ENQ] BO_NAME:%d",
wl_egl_buffer->bo_name);
TPL_LOG_T("WL_EGL", "[DEQ] wl_egl_buffer(%p) tbm_surface(%p) bo(%d) fence(%d)",
wl_egl_buffer, tbm_surface, wl_egl_buffer->bo_name,
if (!tbm_surface_internal_is_valid(tbm_surface)) {
TPL_ERR("Failed to enqueue tbm_surface(%p) Invalid value.",
tbm_surface);
- TRACE_ASYNC_END((int)tbm_surface, "[DEQ]~[ENQ] BO_NAME:%d", bo_name);
+ TRACE_ASYNC_END((intptr_t)tbm_surface, "[DEQ]~[ENQ] BO_NAME:%d", bo_name);
return TPL_ERROR_INVALID_PARAMETER;
}
!wl_egl_buffer->need_to_commit) {
TPL_WARN("[ENQ_SKIP][Frontbuffer:%s] tbm_surface(%p) need not to enqueue",
((surface->frontbuffer == tbm_surface) ? "ON" : "OFF"), tbm_surface);
- TRACE_ASYNC_END((int)tbm_surface, "[DEQ]~[ENQ] BO_NAME:%d", bo_name);
+ TRACE_ASYNC_END((intptr_t)tbm_surface, "[DEQ]~[ENQ] BO_NAME:%d", bo_name);
tpl_gmutex_unlock(&wl_egl_buffer->mutex);
return TPL_ERROR_NONE;
}
tbm_surface_internal_unref(tbm_surface);
TPL_ERR("Failed to enqueue tbm_surface(%p). wl_egl_surface(%p) tsq_err=%d",
tbm_surface, wl_egl_surface, tsq_err);
- TRACE_ASYNC_END((int)tbm_surface, "[DEQ]~[ENQ] BO_NAME:%d", bo_name);
+ TRACE_ASYNC_END((intptr_t)tbm_surface, "[DEQ]~[ENQ] BO_NAME:%d", bo_name);
return TPL_ERROR_INVALID_OPERATION;
}
tbm_surface_internal_unref(tbm_surface);
- TRACE_ASYNC_END((int)tbm_surface, "[DEQ]~[ENQ] BO_NAME:%d", bo_name);
+ TRACE_ASYNC_END((intptr_t)tbm_surface, "[DEQ]~[ENQ] BO_NAME:%d", bo_name);
return TPL_ERROR_NONE;
}
tpl_wl_egl_surface_t *wl_egl_surface = (tpl_wl_egl_surface_t *)user_data;
tpl_wl_egl_buffer_t *wl_egl_buffer = NULL;
- TRACE_ASYNC_END((int)wl_egl_surface, "WAIT_VBLANK");
+ TRACE_ASYNC_END((intptr_t)wl_egl_surface, "WAIT_VBLANK");
TPL_DEBUG("[VBLANK] wl_egl_surface(%p)", wl_egl_surface);
if (error == TDM_ERROR_TIMEOUT)
TRACE_MARK("[FENCED_RELEASE] BO(%d) fence(%d)",
_get_tbm_surface_bo_name(tbm_surface),
fence);
- TRACE_ASYNC_END((int)tbm_surface, "[COMMIT ~ RELEASE] BO(%d)",
+ TRACE_ASYNC_END((intptr_t)tbm_surface, "[COMMIT ~ RELEASE] BO(%d)",
_get_tbm_surface_bo_name(tbm_surface));
TPL_LOG_T("WL_EGL",
TRACE_MARK("[IMMEDIATE_RELEASE] BO(%d)",
_get_tbm_surface_bo_name(tbm_surface));
- TRACE_ASYNC_END((int)tbm_surface, "[COMMIT ~ RELEASE] BO(%d)",
+ TRACE_ASYNC_END((intptr_t)tbm_surface, "[COMMIT ~ RELEASE] BO(%d)",
_get_tbm_surface_bo_name(tbm_surface));
TPL_LOG_T("WL_EGL",
wl_egl_buffer->status = RELEASED;
TRACE_MARK("[RELEASE] BO(%d)", _get_tbm_surface_bo_name(tbm_surface));
- TRACE_ASYNC_END((int)tbm_surface, "[COMMIT ~ RELEASE] BO(%d)",
+ TRACE_ASYNC_END((intptr_t)tbm_surface, "[COMMIT ~ RELEASE] BO(%d)",
_get_tbm_surface_bo_name(tbm_surface));
TPL_LOG_T("WL_EGL", "[REL] wl_buffer(%p) tbm_surface(%p) bo(%d)",
if (tdm_err == TDM_ERROR_NONE) {
wl_egl_surface->vblank_done = TPL_FALSE;
- TRACE_ASYNC_BEGIN((int)wl_egl_surface, "WAIT_VBLANK");
+ TRACE_ASYNC_BEGIN((intptr_t)wl_egl_surface, "WAIT_VBLANK");
} else {
TPL_ERR("Failed to tdm_client_vblank_wait. tdm_err(%d)", tdm_err);
return TPL_ERROR_INVALID_OPERATION;
wl_display_flush(wl_egl_display->wl_display);
- TRACE_ASYNC_BEGIN((int)wl_egl_buffer->tbm_surface, "[COMMIT ~ RELEASE] BO(%d)",
+ TRACE_ASYNC_BEGIN((intptr_t)wl_egl_buffer->tbm_surface, "[COMMIT ~ RELEASE] BO(%d)",
wl_egl_buffer->bo_name);
tpl_gmutex_lock(&wl_egl_buffer->mutex);
tpl_wl_vk_surface_t *wl_vk_surface = (tpl_wl_vk_surface_t *)user_data;
tpl_wl_vk_buffer_t *wl_vk_buffer = NULL;
- TRACE_ASYNC_END((int)wl_vk_surface, "WAIT_VBLANK");
+ TRACE_ASYNC_END((intptr_t)wl_vk_surface, "WAIT_VBLANK");
TPL_DEBUG("[VBLANK] wl_vk_surface(%p)", wl_vk_surface);
if (error == TDM_ERROR_TIMEOUT)
if (tdm_err == TDM_ERROR_NONE) {
wl_vk_surface->vblank_done = TPL_FALSE;
- TRACE_ASYNC_BEGIN((int)wl_vk_surface, "WAIT_VBLANK");
+ TRACE_ASYNC_BEGIN((intptr_t)wl_vk_surface, "WAIT_VBLANK");
} else {
TPL_ERR("Failed to tdm_client_vblank_wait. tdm_err(%d)", tdm_err);
return TPL_ERROR_INVALID_OPERATION;
return TPL_ERROR_INVALID_PARAMETER;
}
- TRACE_ASYNC_END((int)gbm_buffer, "[DEQ]~[ENQ] BO_NAME:%d",
+ TRACE_ASYNC_END((intptr_t)gbm_buffer, "[DEQ]~[ENQ] BO_NAME:%d",
tbm_bo_export(gbm_buffer->bo));
TPL_IMAGE_DUMP(tbm_surface, surface->width, surface->height);
gbm_buffer = __tpl_gbm_get_gbm_buffer_from_tbm_surface(tbm_surface);
if (gbm_buffer) {
TRACE_MARK("[DEQ][REUSED]BO_NAME:%d", tbm_bo_export(gbm_buffer->bo));
- TRACE_ASYNC_BEGIN((int)gbm_buffer, "[DEQ]~[ENQ] BO_NAME:%d",
+ TRACE_ASYNC_BEGIN((intptr_t)gbm_buffer, "[DEQ]~[ENQ] BO_NAME:%d",
tbm_bo_export(gbm_buffer->bo));
TPL_LOG_B("GBM", "[DEQ][R] tpl_gbm_surface_t(%p) tbm_surface(%p) bo(%d)",
gbm_surface, tbm_surface, tbm_bo_export(gbm_buffer->bo));
__tpl_gbm_set_gbm_buffer_to_tbm_surface(tbm_surface, gbm_buffer);
TRACE_MARK("[DEQ][NEW]BO_NAME:%d", tbm_bo_export(gbm_buffer->bo));
- TRACE_ASYNC_BEGIN((int)gbm_buffer, "[DEQ]~[ENQ] BO_NAME:%d",
+ TRACE_ASYNC_BEGIN((intptr_t)gbm_buffer, "[DEQ]~[ENQ] BO_NAME:%d",
tbm_bo_export(gbm_buffer->bo));
TPL_LOG_B("GBM", "[DEQ][N] tpl_gbm_surface_t(%p) tbm_surface(%p) bo(%d)",
gbm_surface, tbm_surface, tbm_bo_export(bo));
buf_info->need_to_release = TPL_FALSE;
TRACE_MARK("[RELEASE] BO(%d)", _get_tbm_surface_bo_name(tbm_surface));
- TRACE_ASYNC_END((int)tbm_surface, "[COMMIT ~ RELEASE] BO(%d)",
+ TRACE_ASYNC_END((intptr_t)tbm_surface, "[COMMIT ~ RELEASE] BO(%d)",
_get_tbm_surface_bo_name(tbm_surface));
TPL_LOG_T(BACKEND, "[REL] wl_buffer(%p) tbm_surface(%p) bo(%d)",
TRACE_MARK("[FENCED_RELEASE] BO(%d) fence(%d)",
_get_tbm_surface_bo_name(tbm_surface),
fence);
- TRACE_ASYNC_END((int)tbm_surface, "[COMMIT ~ RELEASE] BO(%d)",
+ TRACE_ASYNC_END((intptr_t)tbm_surface, "[COMMIT ~ RELEASE] BO(%d)",
_get_tbm_surface_bo_name(tbm_surface));
TPL_LOG_T(BACKEND,
TRACE_MARK("[IMMEDIATE_RELEASE] BO(%d)",
_get_tbm_surface_bo_name(tbm_surface));
- TRACE_ASYNC_END((int)tbm_surface, "[COMMIT ~ RELEASE] BO(%d)",
+ TRACE_ASYNC_END((intptr_t)tbm_surface, "[COMMIT ~ RELEASE] BO(%d)",
_get_tbm_surface_bo_name(tbm_surface));
TPL_LOG_T(BACKEND,
return;
}
- TRACE_ASYNC_END((int)surf_source, "WAIT_VBLANK");
+ TRACE_ASYNC_END((intptr_t)surf_source, "WAIT_VBLANK");
if (error == TDM_ERROR_TIMEOUT)
TPL_WARN("[TDM_ERROR_TIMEOUT] It will keep going. surf_source(%p)",
if (tdm_err == TDM_ERROR_NONE) {
surf_source->vblank_done = TPL_FALSE;
- TRACE_ASYNC_BEGIN((int)surf_source, "WAIT_VBLANK");
+ TRACE_ASYNC_BEGIN((intptr_t)surf_source, "WAIT_VBLANK");
} else {
TPL_ERR("Failed to tdm_client_vblank_wait. tdm_err(%d)", tdm_err);
return TPL_ERROR_INVALID_OPERATION;
wl_display_flush(surf_source->disp_source->disp);
TRACE_MARK("[COMMIT] BO(%d)", _get_tbm_surface_bo_name(tbm_surface));
- TRACE_ASYNC_BEGIN((int)tbm_surface, "[COMMIT ~ RELEASE] BO(%d)",
+ TRACE_ASYNC_BEGIN((intptr_t)tbm_surface, "[COMMIT ~ RELEASE] BO(%d)",
_get_tbm_surface_bo_name(tbm_surface));
buf_info->sync_timestamp++;
wl_display_flush(surf_source->disp_source->disp);
- TRACE_ASYNC_BEGIN((int)tbm_surface, "[COMMIT ~ RELEASE] BO(%d)",
+ TRACE_ASYNC_BEGIN((intptr_t)tbm_surface, "[COMMIT ~ RELEASE] BO(%d)",
_get_tbm_surface_bo_name(tbm_surface));
buf_info->need_to_commit = TPL_FALSE;
__tpl_list_pop_front(surf_source->committed_buffers,
(tpl_free_func_t)__cb_buffer_remove_from_list);
- TRACE_ASYNC_END((int)tbm_surface, "[COMMIT ~ RELEASE] BO(%d)",
+ TRACE_ASYNC_END((intptr_t)tbm_surface, "[COMMIT ~ RELEASE] BO(%d)",
_get_tbm_surface_bo_name(tbm_surface));
tsq_err = tbm_surface_queue_release(surf_source->tbm_queue, tbm_surface);
if (tsq_err != TBM_SURFACE_QUEUE_ERROR_NONE)
__tpl_list_pop_front(surf_source->committed_buffers,
(tpl_free_func_t)__cb_buffer_remove_from_list);
- TRACE_ASYNC_END((int)tbm_surface, "[COMMIT ~ RELEASE] BO(%d)",
+ TRACE_ASYNC_END((intptr_t)tbm_surface, "[COMMIT ~ RELEASE] BO(%d)",
_get_tbm_surface_bo_name(tbm_surface));
tsq_err = tbm_surface_queue_release(surf_source->tbm_queue, tbm_surface);
if (tsq_err != TBM_SURFACE_QUEUE_ERROR_NONE)
surf_source->render_done_cnt++;
- TRACE_ASYNC_END((int)wait_source, "FENCE WAIT fd(%d)", wait_source->fence_fd);
+ TRACE_ASYNC_END((intptr_t)wait_source, "FENCE WAIT fd(%d)", wait_source->fence_fd);
g_mutex_lock(&surf_source->surf_mutex);
/* Since this source is going to be removed, acquire_and_commit must be
return TPL_ERROR_OUT_OF_MEMORY;
}
- TRACE_ASYNC_BEGIN((int)wait_source, "FENCE WAIT fd(%d)", sync_fd);
+ TRACE_ASYNC_BEGIN((intptr_t)wait_source, "FENCE WAIT fd(%d)", sync_fd);
tbm_surface_internal_ref(tbm_surface);
tbm_surface_h tbm_surface =
__tpl_list_pop_front(surf_source->committed_buffers,
(tpl_free_func_t)__cb_buffer_remove_from_list);
- TRACE_ASYNC_END((int)tbm_surface, "[COMMIT ~ RELEASE] BO(%d)",
+ TRACE_ASYNC_END((intptr_t)tbm_surface, "[COMMIT ~ RELEASE] BO(%d)",
_get_tbm_surface_bo_name(tbm_surface));
tsq_err = tbm_surface_queue_release(surf_source->tbm_queue, tbm_surface);
if (tsq_err != TBM_SURFACE_QUEUE_ERROR_NONE)
if (!wayland_egl_surface) {
TPL_ERR("Invalid parameter. surface(%p) wayland_egl_surface(%p)",
surface, wayland_egl_surface);
- TRACE_ASYNC_END((int)tbm_surface, "[DEQ]~[ENQ] BO_NAME:%d", bo_name);
+ TRACE_ASYNC_END((intptr_t)tbm_surface, "[DEQ]~[ENQ] BO_NAME:%d", bo_name);
TPL_OBJECT_UNLOCK(wayland_egl_surface);
return TPL_ERROR_INVALID_PARAMETER;
}
if (!tbm_surface_internal_is_valid(tbm_surface)) {
TPL_ERR("Failed to enqueue tbm_surface(%p) Invalid value.",
tbm_surface);
- TRACE_ASYNC_END((int)tbm_surface, "[DEQ]~[ENQ] BO_NAME:%d", bo_name);
+ TRACE_ASYNC_END((intptr_t)tbm_surface, "[DEQ]~[ENQ] BO_NAME:%d", bo_name);
TPL_OBJECT_UNLOCK(wayland_egl_surface);
return TPL_ERROR_INVALID_PARAMETER;
}
TPL_LOG_T("WL_EGL",
"[ENQ_SKIP][Frontbuffer:%s] tbm_surface(%p) need not to enqueue",
((surface->frontbuffer == tbm_surface) ? "ON" : "OFF"), tbm_surface);
- TRACE_ASYNC_END((int)tbm_surface, "[DEQ]~[ENQ] BO_NAME:%d", bo_name);
+ TRACE_ASYNC_END((intptr_t)tbm_surface, "[DEQ]~[ENQ] BO_NAME:%d", bo_name);
TPL_OBJECT_UNLOCK(wayland_egl_surface);
return TPL_ERROR_NONE;
}
tbm_surface_internal_unref(tbm_surface);
TPL_ERR("Failed to enqueue tbm_surface(%p). tpl_surface(%p) tsq_err=%d",
tbm_surface, surface, tsq_err);
- TRACE_ASYNC_END((int)tbm_surface, "[DEQ]~[ENQ] BO_NAME:%d", bo_name);
+ TRACE_ASYNC_END((intptr_t)tbm_surface, "[DEQ]~[ENQ] BO_NAME:%d", bo_name);
TPL_OBJECT_UNLOCK(wayland_egl_surface);
return TPL_ERROR_INVALID_OPERATION;
}
tbm_surface_internal_unref(tbm_surface);
- TRACE_ASYNC_END((int)tbm_surface, "[DEQ]~[ENQ] BO_NAME:%d", bo_name);
+ TRACE_ASYNC_END((intptr_t)tbm_surface, "[DEQ]~[ENQ] BO_NAME:%d", bo_name);
TPL_OBJECT_UNLOCK(wayland_egl_surface);
return TPL_ERROR_NONE;
surface->frontbuffer,
tbm_bo_export(tbm_surface_internal_get_bo(
surface->frontbuffer, 0)));
- TRACE_ASYNC_BEGIN((int)surface->frontbuffer,
+ TRACE_ASYNC_BEGIN((intptr_t)surface->frontbuffer,
"[DEQ]~[ENQ] BO_NAME:%d",
tbm_bo_export(tbm_surface_internal_get_bo(
surface->frontbuffer, 0)));
wayland_egl_surface->reset = TPL_FALSE;
TRACE_MARK("[DEQ][NEW]BO_NAME:%d", bo_name);
- TRACE_ASYNC_BEGIN((int)tbm_surface, "[DEQ]~[ENQ] BO_NAME:%d", bo_name);
+ TRACE_ASYNC_BEGIN((intptr_t)tbm_surface, "[DEQ]~[ENQ] BO_NAME:%d", bo_name);
TPL_LOG_T("WL_EGL", "[DEQ][N] tbm_surface(%p) bo(%d) fence(%d)",
tbm_surface, bo_name, sync_fence ? *sync_fence : -1);