[PATCH weston 03/12 v2] compositor: Implement output configuration using windowed_output_api
ppaalanen at gmail.com
Wed Aug 17 08:26:46 UTC 2016
On Sun, 14 Aug 2016 17:28:12 +0200
Armin Krezović <krezovic.armin at gmail.com> wrote:
> 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.
> - 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().
> Signed-off-by: Armin Krezović <krezovic.armin at gmail.com>
> compositor/main.c | 154 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 154 insertions(+)
Reviewed-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 811 bytes
Desc: OpenPGP digital signature
More information about the wayland-devel