From d37214cb1622458b4d2009a98279b67edcda15b5 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Sat, 12 Dec 2020 22:26:14 +0100 Subject: render/drm_format_set: add wlr_drm_format_{create,add} --- include/render/drm_format_set.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/render/drm_format_set.h b/include/render/drm_format_set.h index 78b70e9b..c438722b 100644 --- a/include/render/drm_format_set.h +++ b/include/render/drm_format_set.h @@ -3,6 +3,8 @@ #include +struct wlr_drm_format *wlr_drm_format_create(uint32_t format); +bool wlr_drm_format_add(struct wlr_drm_format **fmt_ptr, uint64_t modifier); struct wlr_drm_format *wlr_drm_format_dup(const struct wlr_drm_format *format); /** * Intersect modifiers for two DRM formats. -- cgit v1.2.3