aboutsummaryrefslogtreecommitdiff
path: root/include
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
parent004cf887b70aace0e13db8e38a2c3d4df55852b3 (diff)
render: rename get_dmabuf_render_formats into get_render_formats
Diffstat (limited to 'include')
-rw-r--r--include/render/wlr_renderer.h6
-rw-r--r--include/wlr/render/interface.h2
2 files changed, 4 insertions, 4 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
diff --git a/include/wlr/render/interface.h b/include/wlr/render/interface.h
index 5159e83b..f11e0118 100644
--- a/include/wlr/render/interface.h
+++ b/include/wlr/render/interface.h
@@ -38,7 +38,7 @@ struct wlr_renderer_impl {
struct wl_resource *buffer, int *width, int *height);
const struct wlr_drm_format_set *(*get_dmabuf_texture_formats)(
struct wlr_renderer *renderer);
- const struct wlr_drm_format_set *(*get_dmabuf_render_formats)(
+ const struct wlr_drm_format_set *(*get_render_formats)(
struct wlr_renderer *renderer);
uint32_t (*preferred_read_format)(struct wlr_renderer *renderer);
bool (*read_pixels)(struct wlr_renderer *renderer, uint32_t fmt,