aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/render
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2019-04-09 23:36:35 +0300
committerDrew DeVault <sir@cmpwn.com>2019-06-07 09:06:11 -0400
commite516ea4c798d4c02e77836d5e8196decb90a8774 (patch)
tree3fa5a19fdf2b79084a4c02a393794efe1ca0635e /include/wlr/render
parent96d6fde5dc7ed2e9897297ed459246cb4133a30f (diff)
backend/drm: check format when scanning out DMA-BUF
Diffstat (limited to 'include/wlr/render')
-rw-r--r--include/wlr/render/drm_format_set.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/wlr/render/drm_format_set.h b/include/wlr/render/drm_format_set.h
index 588914ae..15d4eea3 100644
--- a/include/wlr/render/drm_format_set.h
+++ b/include/wlr/render/drm_format_set.h
@@ -21,6 +21,9 @@ void wlr_drm_format_set_finish(struct wlr_drm_format_set *set);
const struct wlr_drm_format *wlr_drm_format_set_get(
const struct wlr_drm_format_set *set, uint32_t format);
+bool wlr_drm_format_set_has(const struct wlr_drm_format_set *set,
+ uint32_t format, uint64_t modifier);
+
bool wlr_drm_format_set_add(struct wlr_drm_format_set *set, uint32_t format,
uint64_t modifier);