b24d4f0c86
Using wayland on s390x has all the colors wrong. Mesa reports using GBM_FORMAT_XRGB8888 but inside the buffer, the colors are in GBM_FORMAT_BGRX8888 order. This patch fixes it for common formats, and also introduced BGRX8888 which is the default on big endian. Signed-off-by: Jocelyn Falempe <jfalempe@redhat.com> Cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31707>