Skip to content
Commit cd7801aa authored by Maciej Pijanowski's avatar Maciej Pijanowski Committed by Daniel Stone
Browse files

screen-share: use compositor->read_format with renderer->read_pixels()

The pixel format was hardcoded to PIXMAN_a8r8g8b8. All other
renderer->read_pixels() calls in weston use dynamic format selection via
the compositor->read_format instead.

The problem was spotted on the ARM devices with Mali-400 GPU. The visual
effect of the problem was black screen on the remote display, when using
screen-share with the VNC or RDP backends. Related wayland-devel thread:
https://lists.freedesktop.org/archives/wayland-devel/2020-September/041624.html



Signed-off-by: default avatarMaciej Pijanowski <maciej.pijanowski@3mdeb.com>
parent f2d6d21e
Loading
Loading
Loading
Pipeline #559618 passed with stages
in 3 minutes
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment