if (tdm_ttrace_module & TDM_TTRACE_CAPTURE) {
tbm_bo bo = tbm_surface_internal_get_bo(buffer, 0);
- TDM_TRACE_ASYNC_END((int)private_capture, "[CAPTURE] %d", tbm_bo_export(bo));
+ TDM_TRACE_ASYNC_END((intptr_t)private_capture, "[CAPTURE] %d", tbm_bo_export(bo));
}
if (!LIST_IS_EMPTY(&private_capture->buffer_list)) {
if (tdm_ttrace_module & TDM_TTRACE_CAPTURE) {
tbm_bo bo = tbm_surface_internal_get_bo(b->buffer, 0);
- TDM_TRACE_ASYNC_END((int)private_capture, "[CAPTURE] %d", tbm_bo_export(bo));
+ TDM_TRACE_ASYNC_END((intptr_t)private_capture, "[CAPTURE] %d", tbm_bo_export(bo));
}
tdm_buffer_unref_backend(b->buffer);
if (tdm_ttrace_module & TDM_TTRACE_CAPTURE) {
tbm_bo bo = tbm_surface_internal_get_bo(b->buffer, 0);
- TDM_TRACE_ASYNC_END((int)private_capture, "[CAPTURE] %d", tbm_bo_export(bo));
+ TDM_TRACE_ASYNC_END((intptr_t)private_capture, "[CAPTURE] %d", tbm_bo_export(bo));
}
tdm_buffer_unref_backend(b->buffer);
if (tdm_ttrace_module & TDM_TTRACE_CAPTURE) {
tbm_bo bo = tbm_surface_internal_get_bo(buffer, 0);
- TDM_TRACE_ASYNC_BEGIN((int)capture, "[CAPTURE] %d", tbm_bo_export(bo));
+ TDM_TRACE_ASYNC_BEGIN((intptr_t)capture, "[CAPTURE] %d", tbm_bo_export(bo));
}
_pthread_mutex_unlock(&private_display->lock);
if (tdm_ttrace_module & TDM_TTRACE_LAYER) {
tbm_bo bo = tbm_surface_internal_get_bo(private_layer->pending_buffer, 0);
- TDM_TRACE_ASYNC_END((int)private_layer, "[LAYER] %d", tbm_bo_export(bo));
+ TDM_TRACE_ASYNC_END((intptr_t)private_layer, "[LAYER] %d", tbm_bo_export(bo));
}
tbm_surface_internal_unref(private_layer->pending_buffer);
if (tdm_ttrace_module & TDM_TTRACE_LAYER) {
tbm_bo bo = tbm_surface_internal_get_bo(private_layer->pending_buffer, 0);
- TDM_TRACE_ASYNC_BEGIN((int)private_layer, "[LAYER] %d", tbm_bo_export(bo));
+ TDM_TRACE_ASYNC_BEGIN((intptr_t)private_layer, "[LAYER] %d", tbm_bo_export(bo));
}
_pthread_mutex_unlock(&private_display->lock);
if (private_layer->showing_buffer) {
if (tdm_ttrace_module & TDM_TTRACE_LAYER) {
tbm_bo bo = tbm_surface_internal_get_bo(private_layer->showing_buffer->buffer, 0);
- TDM_TRACE_ASYNC_END((int)private_layer, "[LAYER] %d", tbm_bo_export(bo));
+ TDM_TRACE_ASYNC_END((intptr_t)private_layer, "[LAYER] %d", tbm_bo_export(bo));
}
_tdm_layer_free_buffer(private_layer, private_layer->showing_buffer);
if (tdm_ttrace_module & TDM_TTRACE_PP) {
tbm_bo bo = tbm_surface_internal_get_bo(dst, 0);
- TDM_TRACE_ASYNC_END((int)private_pp, "[PP] %d", tbm_bo_export(bo));
+ TDM_TRACE_ASYNC_END((intptr_t)private_pp, "[PP] %d", tbm_bo_export(bo));
}
_pthread_mutex_unlock(&private_display->lock);
if (tdm_ttrace_module & TDM_TTRACE_PP) {
tbm_bo bo = tbm_surface_internal_get_bo(b->dst, 0);
- TDM_TRACE_ASYNC_END((int)private_pp, "[PP] %d", tbm_bo_export(bo));
+ TDM_TRACE_ASYNC_END((intptr_t)private_pp, "[PP] %d", tbm_bo_export(bo));
}
tdm_buffer_unref_backend(b->src);
if (tdm_ttrace_module & TDM_TTRACE_PP) {
tbm_bo bo = tbm_surface_internal_get_bo(b->dst, 0);
- TDM_TRACE_ASYNC_END((int)private_pp, "[PP] %d", tbm_bo_export(bo));
+ TDM_TRACE_ASYNC_END((intptr_t)private_pp, "[PP] %d", tbm_bo_export(bo));
}
tdm_buffer_unref_backend(b->src);
if (tdm_ttrace_module & TDM_TTRACE_PP) {
tbm_bo bo = tbm_surface_internal_get_bo(dst, 0);
- TDM_TRACE_ASYNC_BEGIN((int)pp, "[PP] %d", tbm_bo_export(bo));
+ TDM_TRACE_ASYNC_BEGIN((intptr_t)pp, "[PP] %d", tbm_bo_export(bo));
}
_pthread_mutex_unlock(&private_display->lock);