e_hwc_windows: skip hwc_window of ui under 24bit window in visible list 20/198120/2 submit/tizen/20190124.034806
authorChangyeon Lee <cyeon.lee@samsung.com>
Mon, 21 Jan 2019 02:43:04 +0000 (11:43 +0900)
committerchangyeon lee <cyeon.lee@samsung.com>
Wed, 23 Jan 2019 10:58:33 +0000 (10:58 +0000)
Change-Id: I850ceef12d9a8aeca98f02c1c6e4a60c50431236

src/bin/e_hwc_windows.c

index 5a23bd49a12203dbce311c1f7acf0a01fe6748af..fbde4361b89d4cef361c8cca72992ecf68991ef1 100644 (file)
@@ -1553,6 +1553,7 @@ _e_hwc_windows_visible_windows_list_get(E_Hwc *hwc)
    E_Client  *ec;
    Evas_Object *o;
    int scr_w, scr_h;
+   int ui_skip = EINA_FALSE;
 
    for (o = evas_object_top_get(e_comp->evas); o; o = evas_object_below_get(o))
      {
@@ -1612,6 +1613,10 @@ _e_hwc_windows_visible_windows_list_get(E_Hwc *hwc)
 
             e_hwc_window_state_set(hwc_window, E_HWC_WINDOW_STATE_VIDEO, EINA_TRUE);
           }
+        else
+          {
+             if (ui_skip) continue;
+          }
 
         if (ec->is_cursor)
           {
@@ -1619,6 +1624,9 @@ _e_hwc_windows_visible_windows_list_get(E_Hwc *hwc)
           }
 
         windows_list = eina_list_append(windows_list, hwc_window);
+
+        if (!ec->argb)
+          ui_skip = EINA_TRUE;
      }
 
    return windows_list;