diff options
Diffstat (limited to 'include/backend/drm')
-rw-r--r-- | include/backend/drm/drm.h | 1 | ||||
-rw-r--r-- | include/backend/drm/util.h | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h index 3821c358..99120852 100644 --- a/include/backend/drm/drm.h +++ b/include/backend/drm/drm.h @@ -72,6 +72,7 @@ struct wlr_drm_backend { struct wlr_drm_backend *parent; const struct wlr_drm_interface *iface; clockid_t clock; + bool addfb2_modifiers; int fd; diff --git a/include/backend/drm/util.h b/include/backend/drm/util.h index 2491e703..2d9d11f4 100644 --- a/include/backend/drm/util.h +++ b/include/backend/drm/util.h @@ -14,7 +14,8 @@ void parse_edid(struct wlr_output *restrict output, size_t len, // Returns the string representation of a DRM output type const char *conn_get_name(uint32_t type_id); // Returns the DRM framebuffer id for a gbm_bo -uint32_t get_fb_for_bo(struct gbm_bo *bo, uint32_t drm_format); +uint32_t get_fb_for_bo(struct gbm_bo *bo, uint32_t drm_format, + bool with_modifiers); // Part of match_obj enum { |