render/drm_format_set: add wlr_drm_format_has

This commit is contained in:
Simon Ser 2021-03-31 16:50:17 +02:00 committed by Simon Zeni
parent 585a908a01
commit d78cb808b1
2 changed files with 13 additions and 11 deletions

View file

@ -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);
/**