diff options
author | 2020-10-14 13:21:16 +0300 | |
---|---|---|
committer | 2020-11-05 10:41:32 +0200 | |
commit | 36d2a12f8176ef1feb54405b777e81d6b15af35c (patch) | |
tree | 2a8e42e21d13b982bf1dd332c7976965534bec95 /src/ivi-compositor.h | |
parent | a30af04e6f81514149ef589ecfe71ec80c34e10a (diff) |
ivi-compositor: Add the ability to distinguish between different
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
Diffstat (limited to 'src/ivi-compositor.h')
-rw-r--r-- | src/ivi-compositor.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ivi-compositor.h b/src/ivi-compositor.h index 50e516b..ff8e20d 100644 --- a/src/ivi-compositor.h +++ b/src/ivi-compositor.h @@ -106,6 +106,14 @@ struct ivi_compositor { 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; @@ -144,6 +152,7 @@ struct ivi_output { struct weston_head *add[8]; char *app_id; + enum ivi_output_type type; }; enum ivi_surface_role { |