wlroots/backend/drm
emersion ee293fab58
backend/drm: fix GBM format mismatch
We create the EGL config with GBM_FORMAT_ARGB8888, but then initialize GBM BOs
with GBM_FORMAT_XRGB8888. This mismatch confuses Mesa.

Instead, we can always use GBM_FORMAT_ARGB8888, and use DRM_FORMAT_XRGB8888
when calling drmModeAddFB2.

Fixes https://github.com/swaywm/wlroots/issues/1438
2019-01-29 12:04:12 +01:00
..
atomic.c backend/drm: fix GBM format mismatch 2019-01-29 12:04:12 +01:00
backend.c Rename get_present_clock to get_presentation clock, use it 2018-10-04 22:00:22 +02:00
drm.c backend/drm: fix GBM format mismatch 2019-01-29 12:04:12 +01:00
legacy.c output: make gamma size a size_t and gamma table const 2018-10-03 10:36:33 +02:00
properties.c backend/drm: Improve encoder logic 2018-12-09 22:48:00 +13:00
renderer.c backend/drm: fix GBM format mismatch 2019-01-29 12:04:12 +01:00
util.c backend/drm: fix GBM format mismatch 2019-01-29 12:04:12 +01:00