e_hwc_windows: do not check hwc transition if output mode is mirror 28/271328/1
authorChangyeon Lee <cyeon.lee@samsung.com>
Fri, 11 Feb 2022 07:22:31 +0000 (16:22 +0900)
committerChangyeon Lee <cyeon.lee@samsung.com>
Fri, 18 Feb 2022 02:16:09 +0000 (11:16 +0900)
if output mode is mirror, source output buffer will be displayed
so we does not need to check hwc transtion.

Change-Id: I6f9c923744cb05b7eb46f3690460013c34e08a25

src/bin/e_hwc_windows.c

index c38be390a840652f54d414a2ecfdf32296f5dc49..23c10a5b0257594fde14a591db7de3a99ee71d7f 100644 (file)
@@ -2944,7 +2944,9 @@ _e_hwc_windows_evaluate(E_Hwc *hwc, E_Output_Display_Mode display_mode)
      }
 
    /* skip the target_buffer when the window is on trainsition of the composition */
-   if ((hwc_mode != E_HWC_MODE_FULL) && (_e_hwc_windows_transition_check(hwc)) && (!hwc->pp_set))
+   if ((hwc_mode != E_HWC_MODE_FULL) &&
+       (!hwc->pp_set) && (display_mode != E_OUTPUT_DISPLAY_MODE_MIRROR) &&
+       (_e_hwc_windows_transition_check(hwc)))
      {
         _e_hwc_windows_target_window_buffer_skip(hwc);