From b6caa6a4846bbc8e39503e4a014be8b3b4a01ec4 Mon Sep 17 00:00:00 2001 From: Changyeon Lee Date: Wed, 12 Feb 2020 17:40:22 +0900 Subject: [PATCH] e_hwc_windows: not accept vaildation if norender is set if not accept validation, tdm_hwc_commit also isn't called. Change-Id: I45b345e47395866d22e23d404bb86c2d1a6f0c9f --- src/bin/e_hwc_windows.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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; -- 2.34.1