weston/compositor
Armin Krezović a3666d214f compositor: Implement output configuration using windowed_output_api
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>
2016-10-03 13:51:24 +03:00
..
cms-colord.c include stdint.h for int32_t/uint32_t 2016-07-26 16:26:08 -07:00
cms-helper.c include stdint.h for int32_t/uint32_t 2016-07-26 16:26:08 -07:00
cms-helper.h Move weston source to compositor/ 2016-06-23 17:44:54 +03:00
cms-static.c Move weston source to compositor/ 2016-06-23 17:44:54 +03:00
main.c compositor: Implement output configuration using windowed_output_api 2016-10-03 13:51:24 +03:00
screen-share.c include stdint.h for int32_t/uint32_t 2016-07-26 16:26:08 -07:00
systemd-notify.c Switch to use safe_strtoint instead of strtol 2016-08-06 18:19:22 -07:00
text-backend.c include stdint.h for int32_t/uint32_t 2016-07-26 16:26:08 -07:00
weston-screenshooter.c include stdint.h for int32_t/uint32_t 2016-07-26 16:26:08 -07:00
weston.desktop Move weston source to compositor/ 2016-06-23 17:44:54 +03:00
weston.h xwayland: make the plugin usable by libweston compositors 2016-07-01 14:34:33 +03:00
weston.pc.in libweston: use new versioning scheme 2016-08-02 13:52:58 +03:00
xwayland.c xwayland: Cleanup error message on spawn failure Signed-off-by: Bryce Harrington <bryce@osg.samsung.com> 2016-07-07 10:48:34 -07:00