types of remoting outputs
This is required to further differentiate between remoting outputs as for
waltham we would need to use the transmitter_api to forward a surface
to the remoting output.
Bug-AGL: 3611
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I7c59fd448226afab0492fe674e8770d3b9a995aa
struct ivi_surface;
+enum ivi_output_type {
+ OUTPUT_LOCAL,
+ OUTPUT_REMOTE,
+ /* same as remote but we need to signal the transmitter plug-in
+ * for the surfaces to have to be forwarded to those remoted outputs */
+ OUTPUT_WALTHAM,
+};
+
struct ivi_output {
struct wl_list link; /* ivi_compositor.outputs */
struct ivi_compositor *ivi;
struct weston_head *add[8];
char *app_id;
+ enum ivi_output_type type;
};
enum ivi_surface_role {
ivi_output->ivi = ivi;
ivi_output->name = _name;
ivi_output->config = remote_section;
+ ivi_output->type = OUTPUT_REMOTE;
if (remote_output_init(ivi_output, ivi->compositor,
remote_section, ivi->remoting_api)) {