e_object_ref(E_OBJECT(ec));
}
+EINTERN Eina_List *
+e_comp_client_render_list_get(void)
+{
+ EINA_SAFETY_ON_NULL_RETURN_VAL(e_comp, NULL);
+
+ return e_comp->render_list;
+}
+
E_API E_Comp_Config *
e_comp_config_get(void)
{
}
EINTERN void
+e_comp_launchscrn_ec_add(E_Client *ec)
+{
+ e_comp->launchscrns = eina_list_append(e_comp->launchscrns, ec);
+}
+
+EINTERN void
e_comp_launchscrn_ec_remove(E_Client *ec)
{
e_comp->launchscrns = eina_list_remove(e_comp->launchscrns, ec);
return EINA_TRUE;
}
+/* get the hwc is configured */
+EINTERN Eina_Bool
+e_comp_hwc_is_configured(void)
+{
+ EINA_SAFETY_ON_NULL_RETURN_VAL(e_comp, EINA_FALSE);
+
+ return e_comp->hwc;
+}
+
+/* get the hwc_send_redraw_request value */
+EINTERN Eina_Bool
+e_comp_hwc_send_redraw_request(void)
+{
+ EINA_SAFETY_ON_NULL_RETURN_VAL(e_comp, EINA_FALSE);
+
+ return e_comp->hwc_send_redraw_request;
+}
+
+/* get the hwc_prefer_gbm value */
+EINTERN Eina_Bool
+e_comp_hwc_is_prefer_gbm(void)
+{
+ EINA_SAFETY_ON_NULL_RETURN_VAL(e_comp, EINA_FALSE);
+
+ return e_comp->hwc_prefer_gbm;
+}
+
+/* get the hwc_ignore_primary value */
+EINTERN Eina_Bool
+e_comp_hwc_ignore_primary(void)
+{
+ EINA_SAFETY_ON_NULL_RETURN_VAL(e_comp, EINA_FALSE);
+
+ return e_comp->hwc_ignore_primary;
+}
+
+/* get the hwc_use_detach value */
+EINTERN Eina_Bool
+e_comp_hwc_use_detach(void)
+{
+ EINA_SAFETY_ON_NULL_RETURN_VAL(e_comp, EINA_FALSE);
+
+ return e_comp->hwc_use_detach;
+}
+
+/* get the hwc_reuse_cursor_buffer value */
+EINTERN Eina_Bool
+e_comp_hwc_reuse_cursor_buffer(void)
+{
+ EINA_SAFETY_ON_NULL_RETURN_VAL(e_comp, EINA_FALSE);
+
+ return e_comp->hwc_reuse_cursor_buffer;
+}
+
+/* get the hwc_sync_mode_change value */
+EINTERN Eina_Bool
+e_comp_hwc_sync_mode_change(void)
+{
+ EINA_SAFETY_ON_NULL_RETURN_VAL(e_comp, EINA_FALSE);
+
+ return e_comp->hwc_sync_mode_change;
+}
+
/* set the deactive value to the only primary output */
EINTERN void
e_comp_hwc_deactive_set(Eina_Bool set)
EINTERN Eina_Bool e_comp_util_mouse_grabbed(void);
EINTERN void e_comp_client_render_list_add(E_Client *ec);
+EINTERN Eina_List *e_comp_client_render_list_get(void);
EINTERN void e_comp_post_update_add(E_Client *ec);
EINTERN void e_comp_post_update_purge(E_Client *ec);
EINTERN Eina_Bool e_comp_socket_init(const char *name);
+EINTERN Eina_Bool e_comp_hwc_is_configured(void);
+EINTERN Eina_Bool e_comp_hwc_send_redraw_request(void);
+EINTERN Eina_Bool e_comp_hwc_is_prefer_gbm(void);
+EINTERN Eina_Bool e_comp_hwc_ignore_primary(void);
+EINTERN Eina_Bool e_comp_hwc_use_detach(void);
+EINTERN Eina_Bool e_comp_hwc_reuse_cursor_buffer(void);
+EINTERN Eina_Bool e_comp_hwc_sync_mode_change(void);
+
EINTERN void e_comp_hwc_deactive_set(Eina_Bool set);
EINTERN Eina_Bool e_comp_hwc_deactive_get(void);
EINTERN void e_comp_hwc_multi_plane_set(Eina_Bool set);
EINTERN E_Client *e_comp_launchscrn_ec_find_by_pid(pid_t pid);
EINTERN void e_comp_launchscrn_ec_remove(E_Client *ec);
+EINTERN void e_comp_launchscrn_ec_add(E_Client *ec);
#endif