When the deactive is set,
1. make the composite mode(E_OUTPUT_HWC_MODE_NO)
2. do not apply the hwc policy
Change-Id: Iae12aeaa4b298088470611b21ded11712b9903b3
output = e_comp_screen_primary_output_get(e_comp->e_comp_screen);
EINA_SAFETY_ON_NULL_RETURN(output);
- e_output_hwc_deactive_set(output->output_hwc, EINA_TRUE);
+ e_output_hwc_deactive_set(output->output_hwc, set);
}
/* get the deactive value to the only primary output */
if (onoff == 1)
e_comp_hwc_deactive_set(EINA_FALSE);
else if (onoff == 0)
- {
- e_comp_hwc_end("in runtime by e_info..");
- e_comp_hwc_deactive_set(EINA_TRUE);
- }
+ e_comp_hwc_deactive_set(EINA_TRUE);
return reply;
}
EINA_SAFETY_ON_NULL_RETURN(output_hwc);
EINA_SAFETY_ON_NULL_RETURN(output_hwc->output);
+ if (e_output_hwc_deactive_get(output_hwc))
+ {
+ if (output_hwc->hwc_mode != E_OUTPUT_HWC_MODE_NO)
+ e_output_hwc_end(output_hwc, "deactive set.");
+ return;
+ }
+
if (!_e_output_hwc_usable(output_hwc))
{
e_output_hwc_end(output_hwc, __FUNCTION__);