e_hwc_windows: not accept vaildation if norender is set 85/224785/3
authorChangyeon Lee <cyeon.lee@samsung.com>
Wed, 12 Feb 2020 08:40:22 +0000 (17:40 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Mon, 17 Feb 2020 02:37:30 +0000 (02:37 +0000)
if not accept validation, tdm_hwc_commit also isn't called.

Change-Id: I45b345e47395866d22e23d404bb86c2d1a6f0c9f

src/bin/e_hwc_windows.c

index 628ccffd489e971ce431bed93684ac720e5b1514..3a549925a5f7c996db7a26e6b0fad82bb5bcbdb6 100644 (file)
@@ -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;