X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fivi-compositor.h;h=cdea45554e86ebbf649afcba223b934429cc061f;hb=10d2c1d637e9ef8759e1756ef626ab24aed7c668;hp=ff8e20d8746fb1b90255b17910c597da92238fbd;hpb=36d2a12f8176ef1feb54405b777e81d6b15af35c;p=src%2Fagl-compositor.git diff --git a/src/ivi-compositor.h b/src/ivi-compositor.h index ff8e20d..cdea455 100644 --- a/src/ivi-compositor.h +++ b/src/ivi-compositor.h @@ -54,6 +54,7 @@ struct ivi_compositor { bool init_failed; bool hide_cursor; + bool activate_by_default; /* * Options parsed from command line arugments. @@ -239,6 +240,14 @@ enum ivi_surface_flags { IVI_SURFACE_PROP_POSITION = (1 << 1), }; +/* the waltham surface is a pointer type as well and + * in order to avoid adding ifdef for waltham use a + * generic pointer, which will be only be valid when the + * surface is a remote out on a waltham type of output */ +struct ivi_surface_waltham { + void *transmitter_surface; +}; + struct ivi_surface { struct ivi_compositor *ivi; struct weston_desktop_surface *dsurface; @@ -254,6 +263,7 @@ struct ivi_surface { } pending; bool activated_by_default; bool advertised_on_launch; + bool checked_pending; enum ivi_surface_role role; union { @@ -266,6 +276,7 @@ struct ivi_surface { struct ivi_remote_surface remote; }; + struct ivi_surface_waltham waltham_surface; struct wl_listener listener_advertise_app; struct wl_signal signal_advertise_app; }; @@ -406,4 +417,10 @@ ivi_seat_reset_caps_sent(struct ivi_compositor *ivi); void agl_shell_desktop_advertise_application_id(struct ivi_compositor *ivi, struct ivi_surface *surface); +void +ivi_destroy_waltham_destroy(struct ivi_surface *surface); + +bool +ivi_check_pending_surface(struct ivi_surface *surface); + #endif