From: Changyeon Lee Date: Mon, 22 May 2023 06:37:38 +0000 (+0900) Subject: e_hwc_windows: add ttrace at e_hwc_windows_commit X-Git-Tag: accepted/tizen/unified/20230605.170338~102 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1308653d5de64ecaad05420d4d202a1d878069b5;p=platform%2Fupstream%2Fenlightenment.git e_hwc_windows: add ttrace at e_hwc_windows_commit Change-Id: I5f3c06dc84076e76dff07eae7754ae08a4b12444 --- diff --git a/src/bin/e_hwc_windows.c b/src/bin/e_hwc_windows.c index e533669..e6ec8f9 100644 --- a/src/bin/e_hwc_windows.c +++ b/src/bin/e_hwc_windows.c @@ -439,6 +439,7 @@ _e_hwc_windows_commit_handler(tdm_hwc *thwc, unsigned int sequence, EINA_SAFETY_ON_NULL_RETURN(hwc); EHWSTRACE("!!!!!!!! HWC Commit Handler !!!!!!!!", NULL, hwc); + TRACE_DS_MARK(_e_hwc_windows_commit_handler); /* 'wait_commit' is mechanism to make 'fetch and commit' no more than one time per a frame; * a 'page flip' happened so it's time to allow to make 'fetch and commit' for the e_output */ @@ -3458,6 +3459,8 @@ e_hwc_windows_commit(E_Hwc *hwc, E_Output_Display_Mode display_mode) return EINA_TRUE; } + TRACE_DS_BEGIN(e_hwc_windows_commit); + if (!_e_hwc_windows_changes_update(hwc)) goto update_done; @@ -3522,6 +3525,7 @@ e_hwc_windows_commit(E_Hwc *hwc, E_Output_Display_Mode display_mode) e_comp_wl_tizen_hwc_committed(); _e_hwc_windows_sync_callback_call(hwc); + TRACE_DS_END(); return EINA_TRUE; update_done: @@ -3531,9 +3535,11 @@ update_done: _e_hwc_windows_sync_callback_call(hwc); } + TRACE_DS_END(); return EINA_TRUE; re_evaluate: + TRACE_DS_END(); return EINA_TRUE; fail: @@ -3541,6 +3547,7 @@ fail: e_comp_wl_tizen_hwc_discarded(); _e_hwc_windows_wait_commit_set(hwc, EINA_FALSE); + TRACE_DS_END(); return EINA_FALSE; }