TEMPORARY FIX..... ambient skips the never_hwc flag...
authorSooChan Lim <sc1.lim@samsung.com>
Wed, 6 Mar 2019 10:48:04 +0000 (19:48 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Fri, 12 Apr 2019 10:00:22 +0000 (19:00 +0900)
Change-Id: I68d1d316d9a81d2d99973c81b2d4606bfe9f0138

src/bin/e_hwc_window.c

index 0d516aed2237a616943d3c08afd9599c4afe44a9..2d68081145337a62c9a6525df1b63eeb77410d86 100644 (file)
@@ -1388,12 +1388,32 @@ e_hwc_window_device_state_available_check(E_Hwc_Window *hwc_window)
         return EINA_FALSE;
      }
 
+   if (cdata->never_hwc)
+     {
+         if (ec->icccm.name)
+         {
+             if (0 == strncmp(ec->icccm.name, "/usr/apps/org.tizen.ambientapp/bin/AmbientApp.dll", MAX(strlen(ec->icccm.name),strlen("/usr/apps/org.tizen.ambientapp/bin/AmbientApp.dll"))))
+             {
+             EHWTRACE("   -- {%25s} Exception forced to set CL state ignored .(never_hwc)",
+                     hwc_window->ec, hwc_window, ec->icccm.title);
+             }
+         }
+         else
+         {
+
+             EHWTRACE("   -- {%25s} is forced to set CL state.(never_hwc)",
+                     hwc_window->ec, hwc_window, ec->icccm.title);
+             return EINA_FALSE;
+         }
+     }
+   #if 0
    if (cdata->never_hwc)
      {
         EHWTRACE("   -- {%25s} is forced to set CL state.(never_hwc)",
                   hwc_window->ec, hwc_window, ec->icccm.title);
         return EINA_FALSE;
      }
+     #endif
 
    if (e_client_transform_core_enable_get(ec))
      {