Compositor disabled when fb target layer is assigned by a client surface
once fb target is occupied, hwc mode is fully hwc mode.
if hwc mode is ended and need composite again, than assign null on plane with
the E_EVENT_COMPOSITOR_ENABLE
Change-Id: I5d8d941767560b9d497adaa5884ed7ff831c5f1a
Signed-off-by: Juyeon Lee <juyeonne.lee@samsung.com>
Eina_Bool mode_set = EINA_FALSE;
E_Zone *zone;
Eina_List *l;
+ Eina_Bool fully_hwc = (e_comp->hwc_mode == E_HWC_MODE_FULL) ? EINA_TRUE : EINA_FALSE;
e_comp->nocomp_want = 0;
E_FREE_FUNC(e_comp->nocomp_delay_timer, ecore_timer_del);
e_comp->hwc_mode = E_HWC_MODE_NO;
- ecore_event_add(E_EVENT_COMPOSITOR_ENABLE, NULL, NULL, NULL);
+ if (fully_hwc)
+ ecore_event_add(E_EVENT_COMPOSITOR_ENABLE, NULL, NULL, NULL);
+
INF("HWC : End... at %s", location);
}
#endif // end of ENABLE_HWC_MULTI