X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fivi-compositor.h;h=1303e44a608a4405663801c5a586f1bf520a46ea;hb=d2510f1e79e501a8e6aecb8058746a7456d1367e;hp=693c6d139bc23a2f0e70c225e0f5d9b09ef5c821;hpb=a6ffcf30a926568e269b33b57f3740acfa7bb7f4;p=src%2Fagl-compositor.git diff --git a/src/ivi-compositor.h b/src/ivi-compositor.h index 693c6d1..1303e44 100644 --- a/src/ivi-compositor.h +++ b/src/ivi-compositor.h @@ -29,6 +29,7 @@ #include #include "config.h" +#include #include #include #include @@ -60,6 +61,7 @@ struct ivi_output_config { struct ivi_compositor { struct weston_compositor *compositor; + struct weston_backend *backend; struct weston_config *config; struct ivi_output_config *parsed_options; @@ -531,7 +533,10 @@ 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); +ivi_layout_restore(struct ivi_compositor *ivi, struct ivi_output *n_output); + +void +ivi_layout_save(struct ivi_compositor *ivi, struct ivi_output *output); struct weston_output * get_default_output(struct weston_compositor *compositor); @@ -562,4 +567,7 @@ _ivi_set_shell_surface_split(struct ivi_surface *surface, struct ivi_output *out struct ivi_output_config * ivi_init_parsed_options(struct weston_compositor *compositor); +void +ivi_process_destroy(struct wet_process *process, int status, bool call_cleanup); + #endif