mesa/src/gbm
Jocelyn Falempe b24d4f0c86 gbm/dri: Fix color format for big endian.
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>
2024-10-25 14:18:24 +00:00
..
backends/dri gbm/dri: Fix color format for big endian. 2024-10-25 14:18:24 +00:00
main gbm: mark surface buffers as explicit flushed 2024-09-26 09:36:46 +00:00
gbm-symbols.txt gbm: add gbm_{bo,surface}_create_with_modifiers2 2021-10-01 00:02:32 +02:00
meson.build meson/gbm: clean up dependencies 2024-09-19 05:06:50 +00:00