diff options
Diffstat (limited to 'include/render/wlr_renderer.h')
-rw-r--r-- | include/render/wlr_renderer.h | 6 |
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 |