[PATCH weston] desktop-shell: Stop asking for a RGB565 background

Quentin Glidic sardemff7+wayland at sardemff7.net
Sun Jan 15 18:07:25 UTC 2017


On 15/01/2017 18:54, Emmanuel Gil Peyrot wrote:
> This makes the background image look much nicer, at the expense of
> slightly more memory bandwidth used.
> 
> Signed-off-by: Emmanuel Gil Peyrot <linkmauve at linkmauve.fr>

I see no reason not to:
Reviewed-by: Quentin Glidic <sardemff7+git at sardemff7.net>

I’ll push it as soon as someone else agree there’s no harm.

Thanks,


> ---
>   clients/desktop-shell.c | 2 --
>   1 file changed, 2 deletions(-)
> 
> diff --git a/clients/desktop-shell.c b/clients/desktop-shell.c
> index a1cf51df..bd0032a7 100644
> --- a/clients/desktop-shell.c
> +++ b/clients/desktop-shell.c
> @@ -1101,8 +1101,6 @@ background_create(struct desktop *desktop)
>   	window_set_user_data(background->window, background);
>   	widget_set_redraw_handler(background->widget, background_draw);
>   	widget_set_transparent(background->widget, 0);
> -	window_set_preferred_format(background->window,
> -				    WINDOW_PREFERRED_FORMAT_RGB565);
>   
>   	s = weston_config_get_section(desktop->config, "shell", NULL, NULL);
>   	weston_config_section_get_string(s, "background-image",
> 


-- 

Quentin “Sardem FF7” Glidic


More information about the wayland-devel mailing list