From: Emmanuel Gil Peyrot Date: Sun, 15 Jan 2017 17:54:56 +0000 (+0000) Subject: desktop-shell: Stop asking for a RGB565 background X-Git-Tag: upstream/5.0.0~694 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9cbe1c6ae09f187db76a5c89c78856395c9e321e;p=platform%2Fupstream%2Fweston.git desktop-shell: Stop asking for a RGB565 background This makes the background image look much nicer, at the expense of slightly more memory bandwidth used. Signed-off-by: Emmanuel Gil Peyrot Reviewed-by: Quentin Glidic Reviewed-by: Daniel Stone --- diff --git a/clients/desktop-shell.c b/clients/desktop-shell.c index a1cf51d..bd0032a 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",