From 144189674edbf908d72467cd497a0250b3d80b8b Mon Sep 17 00:00:00 2001 From: Simon Zeni Date: Wed, 28 Apr 2021 10:09:33 -0400 Subject: backend: introduce backend_get_buffer_caps --- include/backend/backend.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 include/backend/backend.h (limited to 'include/backend') diff --git a/include/backend/backend.h b/include/backend/backend.h new file mode 100644 index 00000000..8c7440c3 --- /dev/null +++ b/include/backend/backend.h @@ -0,0 +1,13 @@ +#ifndef BACKEND_WLR_BACKEND_H +#define BACKEND_WLR_BACKEND_H + +#include + +/** + * Get the supported buffer capabilities. + * + * This functions returns a bitfield of supported wlr_buffer_cap. + */ +uint32_t backend_get_buffer_caps(struct wlr_backend *backend); + +#endif -- cgit v1.2.3