diff options
author | Simon Ser <contact@emersion.fr> | 2020-12-12 22:26:14 +0100 |
---|---|---|
committer | Ilia Bozhinov <ammen99@gmail.com> | 2020-12-18 09:41:12 +0100 |
commit | d37214cb1622458b4d2009a98279b67edcda15b5 (patch) | |
tree | f0ac957805e40c9e30da36afddda5094b11d8382 /include | |
parent | 253f447329550bdb97904fababde83d0d8d6ef3e (diff) |
render/drm_format_set: add wlr_drm_format_{create,add}
Diffstat (limited to 'include')
-rw-r--r-- | include/render/drm_format_set.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 <wlr/render/drm_format_set.h> +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. |