libweston: change windowed_output_api output_create to create_head
authorPekka Paalanen <pekka.paalanen@collabora.co.uk>
Thu, 12 Oct 2017 12:03:42 +0000 (15:03 +0300)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Tue, 17 Apr 2018 12:19:57 +0000 (15:19 +0300)
commite868c3fc152c791e35748bfdd4419b7b890ee3dc
treeca5a5ef35fdc84ad4f772c6ad897b9f74911b85d
parent1394ac303e4a7bd02085496645f3c599f349b562
libweston: change windowed_output_api output_create to create_head

Rename the function pointer to create_head() because that is what it
does on backends that are converted to the head-based API. Update the
documentation to match.

Surprisingly this is not an ABI break, as the function behaviour and
signature remain intact. Hence API_NAME is not bumped.

This is only an API break, and main.c is fixed accordingly.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: Ian Ray <ian.ray@ge.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Acked-by: Derek Foreman <derekf@osg.samsung.com>
compositor/main.c
libweston/windowed-output-api.h