e_hwc_windows: unset buffer of target_window before accept 94/222294/3
authorChangyeon Lee <cyeon.lee@samsung.com>
Mon, 13 Jan 2020 04:42:24 +0000 (13:42 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Tue, 14 Jan 2020 06:33:58 +0000 (06:33 +0000)
Change-Id: Ic0c731c402814c7c9d47881928999a345f5738f0

src/bin/e_hwc_windows.c

index c0185d6579307cd11ca3bb5c3738025e86572097..5e8fff73eb49ef2d13a420f1ba4d214454f3bbd4 100644 (file)
@@ -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;