return provs;
}
+/**
+ * Get a list of e_clients of tizen remote surface consumers which use given ec
+ * NB: caller must free returned Eina_List object after using it.
+ */
+E_API Eina_List *
+e_comp_wl_remote_surface_consumers_get(E_Client *ec)
+{
+ Eina_List *consumer_ec_l = NULL; /* result list */
+ E_Client *consumer_ec;
+ E_Comp_Wl_Remote_Surface *rs;
+ E_Comp_Wl_Remote_Provider *provider;
+ Eina_List *l;
+
+ provider = _remote_provider_find(ec);
+ if (!provider) return NULL;
+
+ EINA_LIST_FOREACH(provider->common.surfaces, l, rs)
+ {
+ consumer_ec = rs->ec;
+ if (!consumer_ec) consumer_ec = rs->bind_ec;
+ if (!consumer_ec) continue;
+ if (!consumer_ec->remote_surface.consumer) continue;
+
+ consumer_ec_l = eina_list_append(consumer_ec_l, consumer_ec);
+ }
+
+ return consumer_ec_l;
+}
+
#undef E_CLIENT_HOOK_APPEND
#define E_CLIENT_HOOK_APPEND(l, t, cb, d) \
do \
*/
E_API Eina_List *e_comp_wl_remote_surface_providers_get(E_Client *ec);
+/**
+ * Get a list of e_clients of tizen remote surface consumers which use given ec
+ * NB: caller must free returned Eina_List object after using it.
+ */
+E_API Eina_List *e_comp_wl_remote_surface_consumers_get(E_Client *ec);
+
E_API extern int E_EVENT_REMOTE_SURFACE_PROVIDER_VISIBILITY_CHANGE;
struct _E_Event_Remote_Surface_Provider