static void _e_desk_smart_client_del(Evas_Object *obj, E_Client *ec);
static void _e_desk_object_zoom(Evas_Object *obj, double zoomx, double zoomy, Evas_Coord cx, Evas_Coord cy);
static void _e_desk_client_zoom(E_Client *ec, double zoomx, double zoomy, Evas_Coord cx, Evas_Coord cy);
-static void _e_desk_util_comp_hwc_disable_set(Eina_Bool enable);
static Eina_Bool _e_desk_desk_group_base_new(E_Desk *desk);
// Zoom enable done
sd->zoom.enabled = EINA_TRUE;
}
- else
- {
- // Zoom disable done
- _e_desk_util_comp_hwc_disable_set(EINA_FALSE);
- }
sd->zoom.animating_type = E_DESK_ZOOM_ANIMATING_TYPE_NONE;
sd->zoom.animator = NULL;
* EINA_LIST_FOREACH(sd->clients, l, ec)
* evas_object_map_enable_set(ec->frame, EINA_TRUE);
*/
-
- /* FIXME TEMP disable hwc */
- _e_desk_util_comp_hwc_disable_set(EINA_TRUE);
}
}
sd->zoom.cord_x, sd->zoom.cord_y);
//evas_object_map_enable_set(ec->frame, EINA_FALSE);
}
-
- /* FIXME TEMP enable hwc */
- _e_desk_util_comp_hwc_disable_set(EINA_FALSE);
}
}
}
static void
-_e_desk_util_comp_hwc_disable_set(Eina_Bool disable)
-{
- if (disable)
- e_comp_hwc_end("in runtime by e_desk");
-
- e_comp_hwc_deactive_set(disable);
-}
-
-static void
_e_desk_object_zoom(Evas_Object *obj, double zoomx, double zoomy, Evas_Coord cx, Evas_Coord cy)
{
E_Map *map;
E_HWC_WINDOW_RESTRICTION_DESK_GEOMETRY,
E_HWC_WINDOW_RESTRICTION_EFFECT_RUNNING,
E_HWC_WINDOW_RESTRICTION_RENDER_UPDATE_LOCK,
+ E_HWC_WINDOW_RESTRICTION_DESK_ZOOM,
} E_Hwc_Window_Restriction;
static Eina_Bool ehw_trace = EINA_FALSE;
goto finish;
}
+ if (e_client_desk_zoom_enable_get(ec))
+ {
+ restriction = E_HWC_WINDOW_RESTRICTION_DESK_ZOOM;
+ available = EINA_FALSE;
+ goto finish;
+ }
+
+
finish:
hwc_window->restriction = restriction;
return "effect running";
case E_HWC_WINDOW_RESTRICTION_RENDER_UPDATE_LOCK:
return "render update lock";
+ case E_HWC_WINDOW_RESTRICTION_DESK_ZOOM:
+ return "desk zoom";
default:
return "UNKNOWN";
}