aboutsummaryrefslogtreecommitdiff
path: root/include/render
diff options
context:
space:
mode:
authorSimon Zeni <simon@bl4ckb0ne.ca>2021-04-15 10:22:06 -0400
committerSimon Ser <contact@emersion.fr>2021-04-15 17:10:06 +0200
commit84dea55b20b60c229a5e31ccd37b58c96cba611a (patch)
treeb1b5aa818919249dd4e703027052a68c797750a1 /include/render
parent004cf887b70aace0e13db8e38a2c3d4df55852b3 (diff)
render: rename get_dmabuf_render_formats into get_render_formats
Diffstat (limited to 'include/render')
-rw-r--r--include/render/wlr_renderer.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/render/wlr_renderer.h b/include/render/wlr_renderer.h
index dab9fd12..8298bab7 100644
--- a/include/render/wlr_renderer.h
+++ b/include/render/wlr_renderer.h
@@ -16,10 +16,10 @@ struct wlr_renderer *wlr_renderer_autocreate_with_drm_fd(int drm_fd);
*/
bool wlr_renderer_bind_buffer(struct wlr_renderer *r, struct wlr_buffer *buffer);
/**
- * Get the DMA-BUF formats supporting rendering usage. Buffers allocated with
- * a format from this list may be attached via wlr_renderer_bind_buffer.
+ * Get the supported render formats. Buffers allocated with a format from this
+ * list may be attached via wlr_renderer_bind_buffer.
*/
-const struct wlr_drm_format_set *wlr_renderer_get_dmabuf_render_formats(
+const struct wlr_drm_format_set *wlr_renderer_get_render_formats(
struct wlr_renderer *renderer);
#endif