mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-14 06:08:06 +02:00
This implements output configuration for outputs which use previously added weston_windowed_output_api. The function takes an output that's to be configured, default configuration that's to be set in case no configuration is specified in the config file or on command line and optional third argument, parsed_options, which will override defaults and options for configuration if they are present. This also introduces new compositor specific functions for setting output's scale and transform from either hardcoded default, config file option or command line option. Pending output handling helpers have also been introduced. v2: - Adapt to changes in previous patch. - Fix potential double free(). - Remove redundant variables for scale and transform setting. - Drop parsed_options helper and parameter and use it directly in wet_configure_windowed_output_from_config(). v3: - Remove unneeded checks for output->name == NULL as that has been disallowed. - Stop printing mode if it's invalid, as it can be NULL. Reviewed-by: Quentin Glidic <sardemff7+git@sardemff7.net> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Signed-off-by: Armin Krezović <krezovic.armin@gmail.com> |
||
|---|---|---|
| .. | ||
| cms-colord.c | ||
| cms-helper.c | ||
| cms-helper.h | ||
| cms-static.c | ||
| main.c | ||
| screen-share.c | ||
| systemd-notify.c | ||
| text-backend.c | ||
| weston-screenshooter.c | ||
| weston.desktop | ||
| weston.h | ||
| weston.pc.in | ||
| xwayland.c | ||