[Wayland-bugs] [Bug 90525] When weston is compiled with --with-cairo=image the desktop wallpaper is shown in 16 bit color

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue May 19 23:18:20 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=90525

--- Comment #1 from Pekka Paalanen <ppaalanen at gmail.com> ---
Yes, weston-desktop-shell explicitly tries to get 16 bitpp color for the
wallpapers only. This was mainly added to reduce memory usage on RPi.

It is gated by the compositor advertising RGB565 support, but since all
renderers nowadays support it, you get it always.

I'm not sure there is anything we could use to auto-detect whether 16 bit would
be appropriate, so I suppose this should become a weston.ini option
"preferred-background-depth" for weston-desktop-shell, defaulting to 32 bit.

It should have worked the same way also with cairo-gl, but I suppose that was
buggy for some reason... or didn't care to choose the depth well enough. OTOH,
on rpi you never wanted use cairo-glesv2, so it went unnoticed.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20150520/79afbcbe/attachment.html>


More information about the wayland-bugs mailing list