@ -687,6 +687,7 @@ usage(int error_code)
" Options for headless-backend.so: \n \n "
" --width=WIDTH \t \t Width of memory surface \n "
" --height=HEIGHT \t Height of memory surface \n "
" --scale=SCALE \t \t Scale factor of output \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 "
@ -2567,6 +2568,7 @@ load_headless_backend(struct weston_compositor *c,
const struct weston_option options [ ] = {
{ WESTON_OPTION_INTEGER , " width " , 0 , & parsed_options - > width } ,
{ WESTON_OPTION_INTEGER , " height " , 0 , & parsed_options - > height } ,
{ WESTON_OPTION_INTEGER , " scale " , 0 , & parsed_options - > scale } ,
{ WESTON_OPTION_BOOLEAN , " use-pixman " , 0 , & config . use_pixman } ,
{ WESTON_OPTION_BOOLEAN , " use-gl " , 0 , & config . use_gl } ,
{ WESTON_OPTION_STRING , " transform " , 0 , & transform } ,