Evas_Object *eo;
Eina_Stringshare *file;
Eina_Rectangle geometry;
- Eina_Bool saved_hwc_deactive;
};
static int _e_output_hooks_delete = 0;
E_Output_Stream_Capture_Mask_Data *md;
Evas_Object *eo;
Evas_Load_Error err;
- Eina_Bool hwc_deactive;
md = eina_hash_find(_mask_data_hash, &output);
if (!md)
evas_object_show(eo);
md->eo = eo;
-
- /* Deactive HWC to display mask image on evas. it's saved for restoring.
- *
- * WARNING: Restoring deactive status won't work as expected if deactive
- * status of HWC changes after it. It may cause undefined behavior. */
- hwc_deactive = e_hwc_deactive_get(output->hwc);
- if (!hwc_deactive)
- e_hwc_deactive_set(output->hwc, EINA_TRUE);
-
- md->saved_hwc_deactive = hwc_deactive;
}
static void
}
E_FREE_FUNC(md->eo, evas_object_del);
-
- /* restore hwc deactive status. */
- if (!md->saved_hwc_deactive)
- e_hwc_deactive_set(output->hwc, EINA_FALSE);
}