[v1,weston,04/11] compositor: Document options for headless compositor

Submitted by Bryce Harrington on Nov. 19, 2014, 11:06 p.m.

Details

Message ID 1416438386-4783-5-git-send-email-bryce@osg.samsung.com
State Accepted
Headers show

Not browsing as part of any series.

Commit Message

Bryce Harrington Nov. 19, 2014, 11:06 p.m.
Signed-off-by: Bryce Harrington <bryce@osg.samsung.com>
---
 src/compositor.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

Patch hide | download patch | download mbox

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);
 }