aboutsummaryrefslogtreecommitdiff
path: root/include/render
diff options
context:
space:
mode:
authorSimon Zeni <simon@bl4ckb0ne.ca>2021-04-23 13:51:05 -0400
committerSimon Ser <contact@emersion.fr>2021-04-28 20:55:57 +0200
commit982498fab3c4d0aee9b29312559cbdd317c563a1 (patch)
tree096ca681801764a47296a32712e17576d530beb1 /include/render
parent144189674edbf908d72467cd497a0250b3d80b8b (diff)
render: introduce renderer_get_render_buffer_caps
Diffstat (limited to 'include/render')
-rw-r--r--include/render/wlr_renderer.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/render/wlr_renderer.h b/include/render/wlr_renderer.h
index 8298bab7..d09c20b3 100644
--- a/include/render/wlr_renderer.h
+++ b/include/render/wlr_renderer.h
@@ -21,5 +21,11 @@ bool wlr_renderer_bind_buffer(struct wlr_renderer *r, struct wlr_buffer *buffer)
*/
const struct wlr_drm_format_set *wlr_renderer_get_render_formats(
struct wlr_renderer *renderer);
+/**
+ * Get the supported buffer capabilities.
+ *
+ * This functions returns a bitfield of supported wlr_buffer_cap.
+ */
+uint32_t renderer_get_render_buffer_caps(struct wlr_renderer *renderer);
#endif