@ -235,20 +235,20 @@ usage(int error_code)
# if defined(BUILD_FBDEV_COMPOSITOR)
# if defined(BUILD_FBDEV_COMPOSITOR)
" \t \t \t \t fbdev-backend.so \n "
" \t \t \t \t fbdev-backend.so \n "
# endif
# endif
# if defined(BUILD_X11_COMPOSITOR)
# if defined(BUILD_HEADLESS_COMPOSITOR)
" \t \t \t \t x11-backend.so \n "
" \t \t \t \t headless-backend.so \n "
# endif
# if defined(BUILD_WAYLAND_COMPOSITOR)
" \t \t \t \t wayland-backend.so \n "
# endif
# endif
# if defined(BUILD_RDP_COMPOSITOR)
# if defined(BUILD_RDP_COMPOSITOR)
" \t \t \t \t rdp-backend.so \n "
" \t \t \t \t rdp-backend.so \n "
# endif
# endif
# if defined(BUILD_HEADLESS_COMPOSITOR)
" \t \t \t \t headless-backend.so \n "
# endif
# if defined(BUILD_RPI_COMPOSITOR) && defined(HAVE_BCM_HOST)
# if defined(BUILD_RPI_COMPOSITOR) && defined(HAVE_BCM_HOST)
" \t \t \t \t rpi-backend.so \n "
" \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
# endif
" --shell=MODULE \t Shell module, defaults to desktop-shell.so \n "
" --shell=MODULE \t Shell module, defaults to desktop-shell.so \n "
" -S, --socket=NAME \t Name of socket to listen on \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 " ) ;
" --use-gl \t \t Use the GL renderer \n \n " ) ;
# endif
# endif
# if defined(BUILD_X11_COMPOSITOR)
# if defined(BUILD_HEADLESS_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)
fprintf ( stderr ,
fprintf ( stderr ,
" Options for rpi -backend.so: \n \n "
" Options for headless-backend.so: \n \n "
" --tty=TTY \t \t The tty to us e \n "
" --width=WIDTH \t \t Width of memory surface \n "
" --single-buffer \t Use single-buffered Dispmanx elements. \n "
" --height=HEIGHT \t Height of memory surface \n "
" --transform=TR \t The output transformation, TR is one of: \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 "
" \t normal 90 180 270 flipped flipped-90 flipped-180 flipped-270 \n "
" --opaque-regions \t Enable support for opaque regions, can be "
" --use-pixman \t \t Use the pixman (CPU) renderer (default: no rendering) \n \n " ) ;
" very slow without support in the GPU firmware. \n "
" \n " ) ;
# endif
# endif
# if defined(BUILD_RDP_COMPOSITOR)
# if defined(BUILD_RDP_COMPOSITOR)
@ -329,14 +302,41 @@ usage(int error_code)
" \n " ) ;
" \n " ) ;
# endif
# endif
# if defined(BUILD_HEADLESS_COMPOSITOR )
# if defined(BUILD_RPI_COMPOSITOR) && defined(HAVE_BCM_HOST )
fprintf ( stderr ,
fprintf ( stderr ,
" Options for headless -backend.so: \n \n "
" Options for rpi -backend.so: \n \n "
" --width=WIDTH \t \t Width of memory surfac e \n "
" --tty=TTY \t \t The tty to us e \n "
" --height=HEIGHT \t Height of memory surface \n "
" --single-buffer \t Use single-buffered Dispmanx elements. \n "
" --transform=TR \t The output transformation, TR is one of: \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 "
" \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
# endif
exit ( error_code ) ;
exit ( error_code ) ;