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