aboutsummaryrefslogtreecommitdiff
path: root/include/render
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-03-31 16:50:17 +0200
committerSimon Zeni <simon@bl4ckb0ne.ca>2021-11-26 16:40:53 +0000
commitd78cb808b1b051eae443e368c0b88bc90258fd02 (patch)
treea1772db525fc232389f2a5ce7428d1acc4686ad5 /include/render
parent585a908a014a49a718771375264ed284d4599d59 (diff)
render/drm_format_set: add wlr_drm_format_has
Diffstat (limited to 'include/render')
-rw-r--r--include/render/drm_format_set.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/render/drm_format_set.h b/include/render/drm_format_set.h
index c438722b..c94c2af2 100644
--- a/include/render/drm_format_set.h
+++ b/include/render/drm_format_set.h
@@ -4,6 +4,7 @@
#include <wlr/render/drm_format_set.h>
struct wlr_drm_format *wlr_drm_format_create(uint32_t format);
+bool wlr_drm_format_has(const struct wlr_drm_format *fmt, uint64_t modifier);
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);
/**