e_hwc_windows: Erase unnecessary condition 45/259345/3 accepted/tizen/unified/20210607.124246 submit/tizen/20210607.053420
authorJunkyeong, Kim <jk0430.kim@samsung.com>
Fri, 4 Jun 2021 11:23:31 +0000 (20:23 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Mon, 7 Jun 2021 05:34:41 +0000 (05:34 +0000)
Change-Id: Ie6df3ceaf697dd73163ce5a333fde1716fd03f68
Signed-off-by: Junkyeong, Kim <jk0430.kim@samsung.com>
src/bin/e_hwc_windows.c

index 84990ad..2999c5a 100644 (file)
@@ -2691,16 +2691,11 @@ _e_hwc_windows_sw_copy(E_Hwc *hwc, tbm_surface_h src_tsurface, tbm_surface_h dst
 static Eina_Bool
 _e_hwc_windows_presentation_evaluation_check(E_Hwc *hwc)
 {
-   E_Hwc_Window_State state;
    E_Hwc_Window_Target *target_hwc_window;
    tbm_surface_h target_tsurface, src_tsurface;
    E_Hwc_Window_Queue *queue;
    E_Hwc_Window_Queue_Buffer *queue_buffer = NULL;
 
-   /* check if the window has the devcie type. */
-   state = e_hwc_window_state_get(hwc->presentation_hwc_window);
-   if (state == E_HWC_WINDOW_STATE_DEVICE) return EINA_TRUE;
-
    /* copy the presentation_hwc_window to the target_window. */
    target_hwc_window = hwc->target_hwc_window;
    EINA_SAFETY_ON_NULL_RETURN_VAL(target_hwc_window, EINA_FALSE);