diff options
author | Simon Zeni <simon@bl4ckb0ne.ca> | 2021-04-28 10:09:33 -0400 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-04-28 20:55:57 +0200 |
commit | 144189674edbf908d72467cd497a0250b3d80b8b (patch) | |
tree | c71455402e227053381aaed7038ba3a477a6079b /include/backend | |
parent | 6ec652785587b9027512f1a1bc141c5ed27c3ddb (diff) | |
download | wlroots-144189674edbf908d72467cd497a0250b3d80b8b.tar.xz |
backend: introduce backend_get_buffer_caps
Diffstat (limited to 'include/backend')
-rw-r--r-- | include/backend/backend.h | 13 |
1 files changed, 13 insertions, 0 deletions
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 <wlr/backend.h> + +/** + * 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 |