render: rename get_dmabuf_render_formats into get_render_formats

This commit is contained in:
Simon Zeni 2021-04-15 10:22:06 -04:00 committed by Simon Ser
parent 004cf887b7
commit 84dea55b20
8 changed files with 13 additions and 13 deletions

View file

@ -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