[PATCH v1 weston 04/11] compositor: Document options for headless compositor
Bryce Harrington
bryce at osg.samsung.com
Wed Nov 19 15:06:19 PST 2014
Signed-off-by: Bryce Harrington <bryce at osg.samsung.com>
---
src/compositor.c | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/src/compositor.c b/src/compositor.c
index 72fe384..a4726d5 100644
--- a/src/compositor.c
+++ b/src/compositor.c
@@ -4595,6 +4595,16 @@ usage(int error_code)
"\n");
#endif
+#if defined(BUILD_HEADLESS_COMPOSITOR)
+ fprintf(stderr,
+ "Options for headless-backend.so:\n\n"
+ " --width=WIDTH\t\tWidth of Wayland surface\n"
+ " --height=HEIGHT\tHeight of Wayland surface\n"
+ " --transform=TR\tThe output transformation, TR is one of:\n"
+ "\tnormal 90 180 270 flipped flipped-90 flipped-180 flipped-270\n"
+ " --use-pixman\t\tUse the pixman (CPU) renderer\n\n");
+#endif
+
exit(error_code);
}
--
1.9.1
More information about the wayland-devel
mailing list