X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fivi-compositor.h;h=026df71d8564d420d392fb37acef5565d2338f41;hb=refs%2Fchanges%2F93%2F29793%2F1;hp=5250dba553c7df56fb2973ccffe28af3f7876d39;hpb=16d8d1af63ea1bbdaa9223cbf3e01cb6698f1eb0;p=src%2Fagl-compositor.git diff --git a/src/ivi-compositor.h b/src/ivi-compositor.h index 5250dba..026df71 100644 --- a/src/ivi-compositor.h +++ b/src/ivi-compositor.h @@ -32,7 +32,7 @@ #include #include #include -#include +#include #include "remote.h" @@ -51,11 +51,21 @@ enum agl_shell_bound_status { BOUND_FAILED, }; +struct ivi_output_config { + int width; + int height; + int32_t scale; + uint32_t transform; +}; + struct ivi_compositor { struct weston_compositor *compositor; + struct weston_backend *backend; struct weston_config *config; + struct ivi_output_config *parsed_options; struct wl_listener heads_changed; + int (*simple_output_configure)(struct weston_output *output); bool init_failed; bool disable_cursor; @@ -160,6 +170,7 @@ struct ivi_output { struct fullscreen_view { struct ivi_surface *fs; struct wl_listener fs_destroy; + struct weston_buffer_reference *buffer_ref; } fullscreen_view; struct wl_listener output_destroy; @@ -314,6 +325,7 @@ struct ivi_surface { } state; enum ivi_surface_role role; + enum ivi_surface_role prev_role; union { struct ivi_desktop_surface desktop; struct ivi_background_surface bg; @@ -548,5 +560,7 @@ void _ivi_set_shell_surface_split(struct ivi_surface *surface, struct ivi_output *output, uint32_t orientation, uint32_t width, int32_t sticky, bool to_activate); +struct ivi_output_config * +ivi_init_parsed_options(struct weston_compositor *compositor); #endif