e_comp: update clients even though hwc mode is HWC_FULL_MODE 71/111171/2
authorChangyeon Lee <cyeon.lee@samsung.com>
Fri, 20 Jan 2017 01:29:49 +0000 (10:29 +0900)
committerChangyeon Lee <cyeon.lee@samsung.com>
Fri, 20 Jan 2017 01:41:47 +0000 (10:41 +0900)
if hwc_mode is HWC_FULL_MODE and the not viewable client use double buffer
,enlightenment can renference all buffer of client
therefore client enter deadlock.

Change-Id: Ib71a0cb8d35abb0c9320d9f10c9f55b39ea01890

src/bin/e_comp.c

index 663dd42..8e9659d 100644 (file)
@@ -975,7 +975,6 @@ _e_comp_cb_update(void)
      ecore_animator_freeze(e_comp->render_animator);
 
    DBG("UPDATE ALL");
-   if (e_comp->hwc_mode == E_HWC_MODE_FULL) goto setup_hwcompose;
 
    if (conf->grab && (!e_comp->grabbed))
      {
@@ -991,6 +990,8 @@ _e_comp_cb_update(void)
         _e_comp_client_update(ec);
      }
 
+   if (e_comp->hwc_mode == E_HWC_MODE_FULL) goto setup_hwcompose;
+
 #ifndef ENABLE_HWC_MULTI
    if (conf->fps_show || e_comp->calc_fps)
      {