diff options
Diffstat (limited to 'render')
-rw-r--r-- | render/wlr_renderer.c | 16 | ||||
-rw-r--r-- | render/wlr_texture.c | 8 |
2 files changed, 0 insertions, 24 deletions
diff --git a/render/wlr_renderer.c b/render/wlr_renderer.c index dc9c3a99..2fa79b27 100644 --- a/render/wlr_renderer.c +++ b/render/wlr_renderer.c @@ -159,22 +159,6 @@ const uint32_t *wlr_renderer_get_shm_texture_formats(struct wlr_renderer *r, return r->impl->get_shm_texture_formats(r, len); } -bool wlr_renderer_resource_is_wl_drm_buffer(struct wlr_renderer *r, - struct wl_resource *resource) { - if (!r->impl->resource_is_wl_drm_buffer) { - return false; - } - return r->impl->resource_is_wl_drm_buffer(r, resource); -} - -void wlr_renderer_wl_drm_buffer_get_size(struct wlr_renderer *r, - struct wl_resource *buffer, int *width, int *height) { - if (!r->impl->wl_drm_buffer_get_size) { - return; - } - return r->impl->wl_drm_buffer_get_size(r, buffer, width, height); -} - const struct wlr_drm_format_set *wlr_renderer_get_dmabuf_texture_formats( struct wlr_renderer *r) { if (!r->impl->get_dmabuf_texture_formats) { diff --git a/render/wlr_texture.c b/render/wlr_texture.c index a54d6af1..9e825449 100644 --- a/render/wlr_texture.c +++ b/render/wlr_texture.c @@ -45,14 +45,6 @@ struct wlr_texture *wlr_texture_from_pixels(struct wlr_renderer *renderer, return texture; } -struct wlr_texture *wlr_texture_from_wl_drm(struct wlr_renderer *renderer, - struct wl_resource *data) { - if (!renderer->impl->texture_from_wl_drm) { - return NULL; - } - return renderer->impl->texture_from_wl_drm(renderer, data); -} - struct wlr_texture *wlr_texture_from_dmabuf(struct wlr_renderer *renderer, struct wlr_dmabuf_attributes *attribs) { struct wlr_dmabuf_buffer *buffer = dmabuf_buffer_create(attribs); |