diff options
author | Simon Ser <contact@emersion.fr> | 2020-11-18 14:53:13 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-11-30 11:08:44 +0100 |
commit | 49115e9d5d1c9f9c61c4f05c8e7a16191426b21e (patch) | |
tree | 186adcaaceb608b9ea123576c310f417619504be /include/wlr/render/interface.h | |
parent | c0452539276983d93cfd8757f9159d726a2d6f3a (diff) |
render: rename wlr_renderer_get_dmabuf_formats
Rename wlr_renderer_get_dmabuf_formats to
wlr_renderer_get_dmabuf_texture_formats. This makes it clear the formats
are only suitable for creating wlr_textures.
Diffstat (limited to 'include/wlr/render/interface.h')
-rw-r--r-- | include/wlr/render/interface.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/wlr/render/interface.h b/include/wlr/render/interface.h index 44b5a48c..0b364995 100644 --- a/include/wlr/render/interface.h +++ b/include/wlr/render/interface.h @@ -50,7 +50,7 @@ struct wlr_renderer_impl { struct wl_resource *resource); void (*wl_drm_buffer_get_size)(struct wlr_renderer *renderer, struct wl_resource *buffer, int *width, int *height); - const struct wlr_drm_format_set *(*get_dmabuf_formats)( + const struct wlr_drm_format_set *(*get_dmabuf_texture_formats)( struct wlr_renderer *renderer); const struct wlr_drm_format_set *(*get_dmabuf_render_formats)( struct wlr_renderer *renderer); |