mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-16 08:56:26 -05:00
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.
This commit is contained in:
parent
c045253927
commit
49115e9d5d
7 changed files with 23 additions and 19 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue