tpl_wayland_egl_thread: Added log and trace mark 86/188586/2
authorJoonbum Ko <joonbum.ko@samsung.com>
Thu, 6 Sep 2018 05:16:31 +0000 (14:16 +0900)
committerJoonbum Ko <joonbum.ko@samsung.com>
Wed, 12 Sep 2018 01:16:16 +0000 (10:16 +0900)
Change-Id: I32a175d2c6e36c1ad9c068337c32a0db9e201f40
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
src/tpl_wayland_egl_thread.c

index 0e86b8c..37e222e 100644 (file)
@@ -1767,6 +1767,11 @@ _twe_thread_wl_vk_surface_commit(twe_wl_surf_source *surf_source,
 
        /* Presented buffer's sync operating dependent on tdm timeline fence. */
        if (buf_info->sync_fd != -1) {
+               TPL_LOG_T(BACKEND, "[RELEASE_IMMEDIATELY] tbm_surface(%p) bo(%d) sync_fd(%d)",
+                                 tbm_surface, tbm_bo_export(tbm_surface_internal_get_bo(tbm_surface, 0)),
+                                 buf_info->sync_fd);
+               TRACE_MARK("[RELEASE_IMMEDIATELY] BO(%d)",
+                                  tbm_bo_export(tbm_surface_internal_get_bo(tbm_surface, 0)));
                tsq_err = tbm_surface_queue_release(surf_source->tbm_queue, tbm_surface);
                if (tsq_err != TBM_SURFACE_QUEUE_ERROR_NONE)
                        TPL_ERR("Failed to release tbm_surface(%p) when vk_surface_commit.",