e_hwc_windows: don't call evas_norender if wait commit is set 41/213741/4
authorChangyeon Lee <cyeon.lee@samsung.com>
Wed, 11 Sep 2019 02:30:40 +0000 (11:30 +0900)
committerJunkyeong Kim <jk0430.kim@samsung.com>
Tue, 17 Sep 2019 04:59:31 +0000 (04:59 +0000)
if wait commit is set, hwc mode ins't changed.
call evas_norender after hwc mode is determined

Change-Id: I511b6684f948f211254329202c4781d9ddc01057

src/bin/e_hwc_windows.c

index fa58992bb7a2d98d1c53d5d7e432bd306e41eca9..87ef1dd358d753d54926b775a2e88a73ea7495ac 100644 (file)
@@ -3085,7 +3085,9 @@ e_hwc_windows_render(E_Hwc *hwc)
 
    if (e_hwc_window_state_get(target_window) == E_HWC_WINDOW_STATE_NONE)
      {
-        evas_norender(target_hwc_window->evas);
+        if (!hwc->wait_commit)
+          evas_norender(target_hwc_window->evas);
+
         return EINA_TRUE;
      }