From: Changyeon Lee Date: Wed, 12 Feb 2020 08:40:22 +0000 (+0900) Subject: e_hwc_windows: not accept vaildation if norender is set X-Git-Tag: submit/tizen/20200220.070651~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b6caa6a4846bbc8e39503e4a014be8b3b4a01ec4;p=platform%2Fupstream%2Fenlightenment.git e_hwc_windows: not accept vaildation if norender is set if not accept validation, tdm_hwc_commit also isn't called. Change-Id: I45b345e47395866d22e23d404bb86c2d1a6f0c9f --- diff --git a/src/bin/e_hwc_windows.c b/src/bin/e_hwc_windows.c index 628ccffd48..3a549925a5 100644 --- a/src/bin/e_hwc_windows.c +++ b/src/bin/e_hwc_windows.c @@ -2551,6 +2551,12 @@ _e_hwc_windows_evaluate(E_Hwc *hwc) goto re_evaluate; } + if (e_hwc_norender_get(hwc) > 0) + { + EHWSTRACE(" Not accpet validation NoRender get.", NULL, hwc); + goto re_evaluate; + } + if (hwc_mode == E_HWC_MODE_FULL) { if (((E_Hwc_Window *)hwc->target_hwc_window)->buffer.tsurface) @@ -3351,12 +3357,6 @@ e_hwc_windows_commit(E_Hwc *hwc, E_Output_Display_Mode display_mode) } } - if (e_hwc_norender_get(hwc) > 0) - { - EHWSTRACE(" Block Display... NoRender get.", NULL, hwc); - return EINA_TRUE; - } - if (hwc->hwc_mode != E_HWC_MODE_FULL) { if (!_e_hwc_windows_target_buffer_prepared(hwc)) return EINA_TRUE;