[PATCH weston v0 07/11] compositor: Document options for headless compositor
Bryce Harrington
bryce at osg.samsung.com
Sun Nov 9 13:41:23 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 cbc814b..019d256 100644
--- a/src/compositor.c
+++ b/src/compositor.c
@@ -4556,6 +4556,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