X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fivi-compositor.h;h=a2f2745558841e280caa8121e4d78a859446b427;hb=9aa06a04b36d5d962f3b1cc8b6a541f8e73f6278;hp=671ceac93274bc88222f1f1e476693397a7761e2;hpb=d95b25c6a9dfa6ef7b8d6dfa05c8a2594c045e52;p=src%2Fagl-compositor.git diff --git a/src/ivi-compositor.h b/src/ivi-compositor.h index 671ceac..a2f2745 100644 --- a/src/ivi-compositor.h +++ b/src/ivi-compositor.h @@ -34,6 +34,8 @@ #include #include +#include "remote.h" + #include "agl-shell-server-protocol.h" struct ivi_compositor; @@ -66,12 +68,10 @@ struct ivi_compositor { } cmdline; const struct weston_windowed_output_api *window_api; const struct weston_drm_output_api *drm_api; + const struct weston_remoting_api *remoting_api; struct wl_global *agl_shell; struct wl_global *agl_shell_desktop; - struct { - bool activate_apps_by_default; /* switches once xdg top level has been 'created' */ - } quirks; struct { struct wl_client *client; @@ -139,6 +139,8 @@ struct ivi_output { /* Temporary: only used during configuration */ size_t add_len; struct weston_head *add[8]; + + char *app_id; }; enum ivi_surface_role { @@ -328,9 +330,6 @@ ivi_layout_activate(struct ivi_output *output, const char *app_id); void ivi_layout_desktop_committed(struct ivi_surface *surf); -void -ivi_layout_panel_committed(struct ivi_surface *surface); - void ivi_layout_popup_committed(struct ivi_surface *surface); @@ -350,4 +349,20 @@ ivi_layout_desktop_resize(struct ivi_surface *surface, struct ivi_output * ivi_layout_get_output_from_surface(struct ivi_surface *surf); +void +insert_black_surface(struct ivi_output *output); + +void +remove_black_surface(struct ivi_output *output); + +const char * +ivi_layout_get_surface_role_name(struct ivi_surface *surf); + +void +ivi_set_pending_desktop_surface_remote(struct ivi_output *ioutput, + const char *app_id); + +struct ivi_output * +ivi_layout_find_app_id(const char *app_id, struct ivi_compositor *ivi); + #endif