diff options
author | Ucan, Emre (ADITG/SW1) <eucan@de.adit-jv.com> | 2016-07-01 09:34:50 +0000 |
---|---|---|
committer | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | 2016-11-09 16:00:36 +0200 |
commit | 7da3823ae34f2829be2ed2fc6b99423964df77b5 (patch) | |
tree | 401c97aee8b63ed3885e1ab298800470648b0aa4 /ivi-shell | |
parent | 606f59261db38b558bc37341a9ede3cc0b81eb29 (diff) |
ivi-shell: describe members of type wl_list
I wrote comments on which list they are used with
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
[Pekka: fix surface_list to layer_list, add ivi_layout_transition_set::transition_list]
Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Diffstat (limited to 'ivi-shell')
-rw-r--r-- | ivi-shell/ivi-layout-private.h | 16 | ||||
-rw-r--r-- | ivi-shell/ivi-layout-transition.c | 4 | ||||
-rw-r--r-- | ivi-shell/ivi-layout.c | 6 |
3 files changed, 15 insertions, 11 deletions
diff --git a/ivi-shell/ivi-layout-private.h b/ivi-shell/ivi-layout-private.h index 41695165..2b8bd472 100644 --- a/ivi-shell/ivi-layout-private.h +++ b/ivi-shell/ivi-layout-private.h @@ -45,7 +45,7 @@ struct ivi_layout_view { }; struct ivi_layout_surface { - struct wl_list link; + struct wl_list link; /* ivi_layout::surface_list */ struct wl_signal property_changed; int32_t update_count; uint32_t id_surface; @@ -63,7 +63,7 @@ struct ivi_layout_surface { }; struct ivi_layout_layer { - struct wl_list link; + struct wl_list link; /* ivi_layout::layer_list */ struct wl_signal property_changed; uint32_t id_layer; @@ -75,13 +75,13 @@ struct ivi_layout_layer { struct { struct ivi_layout_layer_properties prop; struct wl_list view_list; /* ivi_layout_view::pending_link */ - struct wl_list link; + struct wl_list link; /* ivi_layout_screen::pending.layer_list */ } pending; struct { int dirty; struct wl_list view_list; /* ivi_layout_view::order_link */ - struct wl_list link; + struct wl_list link; /* ivi_layout_screen::order.layer_list */ } order; int32_t ref_count; @@ -90,9 +90,9 @@ struct ivi_layout_layer { struct ivi_layout { struct weston_compositor *compositor; - struct wl_list surface_list; - struct wl_list layer_list; - struct wl_list screen_list; + struct wl_list surface_list; /* ivi_layout_surface::link */ + struct wl_list layer_list; /* ivi_layout_layer::link */ + struct wl_list screen_list; /* ivi_layout_screen::link */ struct wl_list view_list; /* ivi_layout_view::link */ struct { @@ -109,7 +109,7 @@ struct ivi_layout { struct weston_layer layout_layer; struct ivi_layout_transition_set *transitions; - struct wl_list pending_transition_list; + struct wl_list pending_transition_list; /* transition_node::link */ }; struct ivi_layout *get_instance(void); diff --git a/ivi-shell/ivi-layout-transition.c b/ivi-shell/ivi-layout-transition.c index bf0640ee..b887ff65 100644 --- a/ivi-shell/ivi-layout-transition.c +++ b/ivi-shell/ivi-layout-transition.c @@ -60,6 +60,10 @@ struct ivi_layout_transition { struct transition_node { struct ivi_layout_transition *transition; + + /* ivi_layout::pending_transition_list + * ivi_layout_transition_set::transition_list + */ struct wl_list link; }; diff --git a/ivi-shell/ivi-layout.c b/ivi-shell/ivi-layout.c index fee508d7..60d05c4f 100644 --- a/ivi-shell/ivi-layout.c +++ b/ivi-shell/ivi-layout.c @@ -76,18 +76,18 @@ struct ivi_layout; struct ivi_layout_screen { - struct wl_list link; + struct wl_list link; /* ivi_layout::screen_list */ struct ivi_layout *layout; struct weston_output *output; struct { - struct wl_list layer_list; + struct wl_list layer_list; /* ivi_layout_layer::pending.link */ } pending; struct { int dirty; - struct wl_list layer_list; + struct wl_list layer_list; /* ivi_layout_layer::order.link */ } order; }; |