compositor: fix comments about weston_compositor::surface_list
authorPekka Paalanen <pekka.paalanen@collabora.co.uk>
Wed, 30 Mar 2016 11:08:24 +0000 (14:08 +0300)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Tue, 17 May 2016 10:31:33 +0000 (13:31 +0300)
commit20c7e559432c9a24fb03adbdd6ca8815246f36fe
treef939c9f18cef29c03c064cd4be3aca4345fe60c3
parent901ac32d9ab674a614ad53f2b5af21b0ffebe9b5
compositor: fix comments about weston_compositor::surface_list

a7af70436b7dccfacd736626d6719b3e751fd985 converted the surface list into
a view list. There is no weston_compositor::surface_list anymore.

It looks like weston_surface::output's comment about surface list does
not apply to view list. Still, many places assume weston_surface::output
is not NULL when processing "visible" surfaces, e.g. those reachable via
the view list.

The comment on weston_view::output is updated. It seems there is no
longer any requirement for it to be NULL if the view is not in
view_list.

weston_view::link is documented to be in weston_compositor::view_list,
and weston_compositor::view_list is documented to contain weston_views.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: Yong Bakos <ybakos@humanoriented.com>
Reviewed-by: Armin Krezović <krezovic.armin@gmail.com>
[Pekka: removed also the other "Must be NULL" comment.]
src/compositor.h