From: Changyeon Lee Date: Mon, 13 Jan 2020 04:42:24 +0000 (+0900) Subject: e_hwc_windows: unset buffer of target_window before accept X-Git-Tag: submit/tizen/20200114.081245~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6124f236fc4d68348650a392d3afd69df6c8a54e;p=platform%2Fupstream%2Fenlightenment.git e_hwc_windows: unset buffer of target_window before accept Change-Id: Ic0c731c402814c7c9d47881928999a345f5738f0 --- diff --git a/src/bin/e_hwc_windows.c b/src/bin/e_hwc_windows.c index c0185d6579..5e8fff73eb 100644 --- a/src/bin/e_hwc_windows.c +++ b/src/bin/e_hwc_windows.c @@ -2502,6 +2502,12 @@ _e_hwc_windows_evaluate(E_Hwc *hwc) goto re_evaluate; } + if (hwc_mode == E_HWC_MODE_FULL) + { + if (((E_Hwc_Window *)hwc->target_hwc_window)->buffer.tsurface) + _e_hwc_windows_target_buffer_fetch(hwc, !hwc->pp_set); + } + /* accept the result of the validation */ if (hwc->pp_set) ret = _e_hwc_windows_accept(hwc, EINA_FALSE); @@ -2513,12 +2519,6 @@ _e_hwc_windows_evaluate(E_Hwc *hwc) goto re_evaluate; } - if (hwc_mode == E_HWC_MODE_FULL) - { - if (((E_Hwc_Window *)hwc->target_hwc_window)->buffer.tsurface) - _e_hwc_windows_target_buffer_fetch(hwc, !hwc->pp_set); - } - hwc->transition = EINA_FALSE; return EINA_TRUE;