diff options
Diffstat (limited to 'include/wlr/render/interface.h')
-rw-r--r-- | include/wlr/render/interface.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/include/wlr/render/interface.h b/include/wlr/render/interface.h index bb96674c..1e355d43 100644 --- a/include/wlr/render/interface.h +++ b/include/wlr/render/interface.h @@ -30,12 +30,8 @@ struct wlr_renderer_impl { const float matrix[static 9], float alpha); void (*render_quad_with_matrix)(struct wlr_renderer *renderer, const float color[static 4], const float matrix[static 9]); - const uint32_t *(*get_shm_texture_formats)(struct wlr_renderer *renderer, - size_t *len); - bool (*resource_is_wl_drm_buffer)(struct wlr_renderer *renderer, - struct wl_resource *resource); - void (*wl_drm_buffer_get_size)(struct wlr_renderer *renderer, - struct wl_resource *buffer, int *width, int *height); + const uint32_t *(*get_shm_texture_formats)( + struct wlr_renderer *renderer, size_t *len); const struct wlr_drm_format_set *(*get_dmabuf_texture_formats)( struct wlr_renderer *renderer); const struct wlr_drm_format_set *(*get_render_formats)( @@ -45,8 +41,6 @@ struct wlr_renderer_impl { uint32_t *flags, uint32_t stride, uint32_t width, uint32_t height, uint32_t src_x, uint32_t src_y, uint32_t dst_x, uint32_t dst_y, void *data); - struct wlr_texture *(*texture_from_wl_drm)(struct wlr_renderer *renderer, - struct wl_resource *data); void (*destroy)(struct wlr_renderer *renderer); bool (*init_wl_display)(struct wlr_renderer *renderer, struct wl_display *wl_display); |