X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fivi-compositor.h;h=11e7290d432c716acf3242756e1e4e17b2cb085d;hb=0acbca5d1a9ca5aad361dfc2807f3822223c739d;hp=5137d194364a1c655b6cf2572e60adeba2738f78;hpb=9cccfe829aab45fd2ab8475127d62ff22c5fedee;p=src%2Fagl-compositor.git diff --git a/src/ivi-compositor.h b/src/ivi-compositor.h index 5137d19..11e7290 100644 --- a/src/ivi-compositor.h +++ b/src/ivi-compositor.h @@ -46,6 +46,11 @@ struct desktop_client { struct wl_list link; /* ivi_compositor::desktop_clients */ }; +enum agl_shell_bound_status { + BOUND_OK, + BOUND_FAILED, +}; + struct ivi_compositor { struct weston_compositor *compositor; struct weston_config *config; @@ -81,6 +86,7 @@ struct ivi_compositor { struct wl_client *client; struct wl_resource *resource; bool ready; + enum agl_shell_bound_status status; } shell_client; struct wl_list desktop_clients; /* desktop_client::link */ @@ -98,6 +104,8 @@ struct ivi_compositor { struct wl_list split_pending_apps; struct wl_list remote_pending_apps; + struct wl_list pending_apps; /** pending_app::link */ + struct wl_listener destroy_listener; struct weston_layer hidden; @@ -169,6 +177,7 @@ enum ivi_surface_role { IVI_SURFACE_ROLE_SPLIT_V, IVI_SURFACE_ROLE_SPLIT_H, IVI_SURFACE_ROLE_REMOTE, + IVI_SURFACE_ROLE_TILE, }; struct ivi_bounding_box { @@ -176,6 +185,18 @@ struct ivi_bounding_box { int width; int height; }; +struct pending_app { + struct ivi_output *ioutput; + enum ivi_surface_role role; + char *app_id; + struct wl_list link; /** ivi_compositor::pending_apps */ +}; + +struct pending_app_tile { + struct pending_app base; + uint32_t orientation; +}; + struct pending_popup { struct ivi_output *ioutput; char *app_id; @@ -271,8 +292,11 @@ struct ivi_surface { NORMAL, RESIZING, FULLSCREEN, + HIDDEN, } state; + uint32_t orientation; + enum ivi_surface_role role; union { struct ivi_desktop_surface desktop;