libweston: Add transform to weston_head
Like physical size, subpixel arrangement, etc, transform advises of a
physical transform of a head, if present.
This commit adds the transform member and setter to weston_head, however
it is currently unused.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
[daniels: Extracted from one of Lucas's patches.]
Signed-off-by: Daniel Stone <daniels@collabora.com>
diff --git a/libweston/backend.h b/libweston/backend.h
index ff10b36..8e91746 100644
--- a/libweston/backend.h
+++ b/libweston/backend.h
@@ -138,6 +138,10 @@
void
weston_head_set_subpixel(struct weston_head *head,
enum wl_output_subpixel sp);
+
+void
+weston_head_set_transform(struct weston_head *head, uint32_t transform);
+
/* weston_output */
void