backend/drm: use modifiers for our GBM buffers

This commit is contained in:
Simon Ser 2019-10-06 17:31:51 -04:00 committed by Scott Anderson
parent 11bf87d678
commit 2bdd1d0896
3 changed files with 24 additions and 11 deletions

View file

@ -40,7 +40,7 @@ void finish_drm_renderer(struct wlr_drm_renderer *renderer);
bool init_drm_surface(struct wlr_drm_surface *surf,
struct wlr_drm_renderer *renderer, uint32_t width, uint32_t height,
uint32_t format, uint32_t flags);
uint32_t format, struct wlr_drm_format_set *set, uint32_t flags);
bool init_drm_plane_surfaces(struct wlr_drm_plane *plane,
struct wlr_drm_backend *drm, int32_t width, uint32_t height,