backend/x11: implement get_dmabuf_primary_formats

This commit is contained in:
Simon Ser 2020-12-19 15:30:25 +01:00
parent 44feb832f9
commit 68c4f15958
3 changed files with 39 additions and 0 deletions

View file

@ -91,6 +91,8 @@ struct wlr_x11_backend {
struct wlr_drm_format_set dri3_formats;
struct wlr_drm_format_set shm_formats;
const struct wlr_x11_format *x11_format;
struct wlr_drm_format_set primary_dri3_formats;
struct wlr_drm_format_set primary_shm_formats;
struct wlr_drm_format *drm_format;
struct wl_event_source *event_source;