e_hwc_windows: change the name of the static function 94/190794/7
authorSooChan Lim <sc1.lim@samsung.com>
Fri, 5 Oct 2018 08:43:07 +0000 (17:43 +0900)
committerSeunghun Lee <shiin.lee@samsung.com>
Tue, 30 Oct 2018 05:49:04 +0000 (05:49 +0000)
Change-Id: Ie64793d2fa70dbc23653cf4582b0f9bcdc158e90

src/bin/e_hwc_windows.c

index e5e7fe4..4cef512 100644 (file)
@@ -1412,12 +1412,10 @@ fail_evaluate:
 }
 
 static Eina_Bool
-_e_hwc_windows_target_prepare(E_Hwc *hwc)
+_e_hwc_windows_target_buffer_prepared(E_Hwc *hwc)
 {
    E_Hwc_Window *hwc_window = NULL;
 
-   if (hwc->hwc_mode == E_HWC_MODE_FULL) return EINA_TRUE;
-
    hwc_window = (E_Hwc_Window *)hwc->target_hwc_window;
    EINA_SAFETY_ON_NULL_RETURN_VAL(hwc->target_hwc_window, EINA_FALSE);
 
@@ -1480,8 +1478,10 @@ e_hwc_windows_commit(E_Hwc *hwc)
    if (!_e_hwc_windows_evaluate(hwc))
      return EINA_TRUE;
 
-   if (!_e_hwc_windows_target_prepare(hwc))
-     return EINA_TRUE;
+   if (hwc->hwc_mode != E_HWC_MODE_FULL) {
+     if (!_e_hwc_windows_target_buffer_prepared(hwc))
+       return EINA_TRUE;
+   }
 
    if (output->dpms == E_OUTPUT_DPMS_OFF)
      {