wlroots-hyprland/backend/drm
Simon Ser 93cd3a79b2 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.
2020-12-13 13:20:39 +01:00
..
atomic.c backend/drm: make adaptive_sync atomic 2020-06-01 11:45:11 -06:00
backend.c backend/session: replace session_signal with events.active 2020-11-19 22:47:49 +01:00
cvt.c backend/drm: add support for custom modes 2019-10-27 10:46:47 -04:00
drm.c backend/drm: stop using GBM flags 2020-12-13 13:20:39 +01:00
legacy.c backend/drm: fix DPMS on legacy interface 2020-07-02 09:39:41 -06:00
meson.build meson: Various improvements 2019-12-23 07:48:29 -05:00
properties.c backend/drm: "scaling mode" is a connector property 2020-11-30 11:57:08 +01:00
renderer.c backend/drm: stop using GBM flags 2020-12-13 13:20:39 +01:00
util.c backend/drm: introduce wlr_drm_fb 2020-04-28 09:54:52 +02:00