From: SooChan Lim Date: Fri, 5 Oct 2018 08:43:07 +0000 (+0900) Subject: e_hwc_windows: change the name of the static function X-Git-Tag: submit/tizen/20181030.101450~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F94%2F190794%2F7;p=platform%2Fupstream%2Fenlightenment.git e_hwc_windows: change the name of the static function Change-Id: Ie64793d2fa70dbc23653cf4582b0f9bcdc158e90 --- diff --git a/src/bin/e_hwc_windows.c b/src/bin/e_hwc_windows.c index e5e7fe4..4cef512 100644 --- a/src/bin/e_hwc_windows.c +++ b/src/bin/e_hwc_windows.c @@ -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) {