X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fivi-compositor.h;h=857b81653f632a1dd49776827c234bc63f95f409;hb=e0a1dcc5480872fcb1ddafcd8664ef1b92f9446b;hp=6a72e2aa2d8a625b64539be9e19a2a1f15255e6f;hpb=c9d3edb4ee23a5630136ca4a67eaa3860f7651d1;p=src%2Fagl-compositor.git diff --git a/src/ivi-compositor.h b/src/ivi-compositor.h index 6a72e2a..857b816 100644 --- a/src/ivi-compositor.h +++ b/src/ivi-compositor.h @@ -104,6 +104,7 @@ struct ivi_compositor { struct wl_list desktop_clients; /* desktop_client::link */ struct wl_list outputs; /* ivi_output.link */ + struct wl_list saved_outputs; /* ivi_output.link */ struct wl_list surfaces; /* ivi_surface.link */ struct weston_desktop *desktop; @@ -125,6 +126,7 @@ struct ivi_compositor { struct weston_layer popup; struct weston_layer fullscreen; + bool need_ivi_output_relayout; struct wl_list child_process_list; }; @@ -179,7 +181,7 @@ struct ivi_output { size_t add_len; struct weston_head *add[8]; - char *app_id; + char *app_ids; enum ivi_output_type type; }; @@ -414,6 +416,8 @@ ivi_layout_activate_by_surf(struct ivi_output *output, struct ivi_surface *surf) void ivi_layout_desktop_committed(struct ivi_surface *surf); +void +ivi_layout_remote_committed(struct ivi_surface *surf); void ivi_layout_popup_committed(struct ivi_surface *surface); @@ -502,5 +506,20 @@ sigchld_handler(int signal_number, void *data); void shell_send_app_state(struct ivi_compositor *ivi, const char *app_id, enum agl_shell_app_state state); +void +ivi_layout_destroy_saved_outputs(struct ivi_compositor *ivi); + +struct weston_output * +get_default_output(struct weston_compositor *compositor); + +struct weston_output * +get_focused_output(struct weston_compositor *compositor); + +void +shell_send_app_on_output(struct ivi_compositor *ivi, const char *app_id, + const char *output_name); +bool +ivi_surface_count_one(struct ivi_output *ivi_output, + enum ivi_surface_role role); #endif