@ -235,20 +235,20 @@ usage(int error_code)
# if defined(BUILD_FBDEV_COMPOSITOR)
" \t \t \t \t fbdev-backend.so \n "
# endif
# if defined(BUILD_X11_COMPOSITOR)
" \t \t \t \t x11-backend.so \n "
# endif
# if defined(BUILD_WAYLAND_COMPOSITOR)
" \t \t \t \t wayland-backend.so \n "
# if defined(BUILD_HEADLESS_COMPOSITOR)
" \t \t \t \t headless-backend.so \n "
# endif
# if defined(BUILD_RDP_COMPOSITOR)
" \t \t \t \t rdp-backend.so \n "
# endif
# if defined(BUILD_HEADLESS_COMPOSITOR)
" \t \t \t \t headless-backend.so \n "
# endif
# if defined(BUILD_RPI_COMPOSITOR) && defined(HAVE_BCM_HOST)
" \t \t \t \t rpi-backend.so \n "
# endif
# if defined(BUILD_WAYLAND_COMPOSITOR)
" \t \t \t \t wayland-backend.so \n "
# endif
# if defined(BUILD_X11_COMPOSITOR)
" \t \t \t \t x11-backend.so \n "
# endif
" --shell=MODULE \t Shell module, defaults to desktop-shell.so \n "
" -S, --socket=NAME \t Name of socket to listen on \n "
@ -277,41 +277,14 @@ usage(int error_code)
" --use-gl \t \t Use the GL renderer \n \n " ) ;
# endif
# if defined(BUILD_X11_COMPOSITOR)
fprintf ( stderr ,
" Options for x11-backend.so: \n \n "
" --width=WIDTH \t \t Width of X window \n "
" --height=HEIGHT \t Height of X window \n "
" --scale=SCALE \t \t Scale factor of output \n "
" --fullscreen \t \t Run in fullscreen mode \n "
" --use-pixman \t \t Use the pixman (CPU) renderer \n "
" --output-count=COUNT \t Create multiple outputs \n "
" --no-input \t \t Dont create input devices \n \n " ) ;
# endif
# if defined(BUILD_WAYLAND_COMPOSITOR)
fprintf ( stderr ,
" Options for wayland-backend.so: \n \n "
" --width=WIDTH \t \t Width of Wayland surface \n "
" --height=HEIGHT \t Height of Wayland surface \n "
" --scale=SCALE \t \t Scale factor of output \n "
" --fullscreen \t \t Run in fullscreen mode \n "
" --use-pixman \t \t Use the pixman (CPU) renderer \n "
" --output-count=COUNT \t Create multiple outputs \n "
" --sprawl \t \t Create one fullscreen output for every parent output \n "
" --display=DISPLAY \t Wayland display to connect to \n \n " ) ;
# endif
# if defined(BUILD_RPI_COMPOSITOR) && defined(HAVE_BCM_HOST)
# if defined(BUILD_HEADLESS_COMPOSITOR)
fprintf ( stderr ,
" Options for rpi -backend.so: \n \n "
" --tty=TTY \t \t The tty to us e \n "
" --single-buffer \t Use single-buffered Dispmanx elements. \n "
" Options for headless-backend.so: \n \n "
" --width=WIDTH \t \t Width of memory surface \n "
" --height=HEIGHT \t Height of memory surface \n "
" --transform=TR \t The output transformation, TR is one of: \n "
" \t normal 90 180 270 flipped flipped-90 flipped-180 flipped-270 \n "
" --opaque-regions \t Enable support for opaque regions, can be "
" very slow without support in the GPU firmware. \n "
" \n " ) ;
" --use-pixman \t \t Use the pixman (CPU) renderer (default: no rendering) \n \n " ) ;
# endif
# if defined(BUILD_RDP_COMPOSITOR)
@ -329,14 +302,41 @@ usage(int error_code)
" \n " ) ;
# endif
# if defined(BUILD_HEADLESS_COMPOSITOR )
# if defined(BUILD_RPI_COMPOSITOR) && defined(HAVE_BCM_HOST )
fprintf ( stderr ,
" Options for headless -backend.so: \n \n "
" --width=WIDTH \t \t Width of memory surfac e \n "
" --height=HEIGHT \t Height of memory surface \n "
" Options for rpi -backend.so: \n \n "
" --tty=TTY \t \t The tty to us e \n "
" --single-buffer \t Use single-buffered Dispmanx elements. \n "
" --transform=TR \t The output transformation, TR is one of: \n "
" \t normal 90 180 270 flipped flipped-90 flipped-180 flipped-270 \n "
" --use-pixman \t \t Use the pixman (CPU) renderer (default: no rendering) \n \n " ) ;
" --opaque-regions \t Enable support for opaque regions, can be "
" very slow without support in the GPU firmware. \n "
" \n " ) ;
# endif
# if defined(BUILD_WAYLAND_COMPOSITOR)
fprintf ( stderr ,
" Options for wayland-backend.so: \n \n "
" --width=WIDTH \t \t Width of Wayland surface \n "
" --height=HEIGHT \t Height of Wayland surface \n "
" --scale=SCALE \t \t Scale factor of output \n "
" --fullscreen \t \t Run in fullscreen mode \n "
" --use-pixman \t \t Use the pixman (CPU) renderer \n "
" --output-count=COUNT \t Create multiple outputs \n "
" --sprawl \t \t Create one fullscreen output for every parent output \n "
" --display=DISPLAY \t Wayland display to connect to \n \n " ) ;
# endif
# if defined(BUILD_X11_COMPOSITOR)
fprintf ( stderr ,
" Options for x11-backend.so: \n \n "
" --width=WIDTH \t \t Width of X window \n "
" --height=HEIGHT \t Height of X window \n "
" --scale=SCALE \t \t Scale factor of output \n "
" --fullscreen \t \t Run in fullscreen mode \n "
" --use-pixman \t \t Use the pixman (CPU) renderer \n "
" --output-count=COUNT \t Create multiple outputs \n "
" --no-input \t \t Dont create input devices \n \n " ) ;
# endif
exit ( error_code ) ;