aboutsummaryrefslogtreecommitdiff
path: root/xwayland/xwm.c
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-12-09 12:06:42 +0100
committerIlia Bozhinov <ammen99@gmail.com>2020-12-13 13:20:39 +0100
commit93cd3a79b26cb3a94094efd28ee55fb6db6e7347 (patch)
tree85887b33b8d3eddb0c6b1cc350a34f6996c8f686 /xwayland/xwm.c
parent525fa6ada067084bc63e3002ba12e07499623514 (diff)
backend/drm: stop using GBM flags
gbm_bo_create_with_modifiers doesn't take GBM flags, so our wlr_gbm_allocator interface doesn't either. We were still internally using GBM flags in the DRM backend, leading to awkward back-and-forth conversions. The only flag passed to drm_plane_init_surface was GBM_BO_USE_LINEAR, so turn that into a bool to make sure other flags can't be passed in. Move the "force linear" logic out of init_drm_surface, because the supplied wlr_drm_format should already contain that information.
Diffstat (limited to 'xwayland/xwm.c')
0 files changed, 0 insertions, 0 deletions