aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-03-16 11:29:56 +0100
committerSimon Ser <contact@emersion.fr>2021-04-08 09:09:03 +0200
commit1cdef8da579f4a021935a0b93967aa7a90bf8859 (patch)
tree37a07542fa37d0190166cd0b7132723a9550cf59 /include/wlr
parent1c10079a67cad71c890a3c4e09df4d5a890315a5 (diff)
render: drop wlr_renderer_blit_dmabuf
It can be replaced with wlr_renderer_bind_buffer. blit_dmabuf is broken as-is (dies on an assertion).
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/render/interface.h3
-rw-r--r--include/wlr/render/wlr_renderer.h5
2 files changed, 0 insertions, 8 deletions
diff --git a/include/wlr/render/interface.h b/include/wlr/render/interface.h
index fbf17dea..88dc430b 100644
--- a/include/wlr/render/interface.h
+++ b/include/wlr/render/interface.h
@@ -57,9 +57,6 @@ struct wlr_renderer_impl {
void (*destroy)(struct wlr_renderer *renderer);
bool (*init_wl_display)(struct wlr_renderer *renderer,
struct wl_display *wl_display);
- bool (*blit_dmabuf)(struct wlr_renderer *renderer,
- struct wlr_dmabuf_attributes *dst,
- struct wlr_dmabuf_attributes *src);
int (*get_drm_fd)(struct wlr_renderer *renderer);
};
diff --git a/include/wlr/render/wlr_renderer.h b/include/wlr/render/wlr_renderer.h
index 96268e38..8369e0f2 100644
--- a/include/wlr/render/wlr_renderer.h
+++ b/include/wlr/render/wlr_renderer.h
@@ -115,11 +115,6 @@ bool wlr_renderer_read_pixels(struct wlr_renderer *r, uint32_t fmt,
uint32_t src_x, uint32_t src_y, uint32_t dst_x, uint32_t dst_y, void *data);
/**
- * Blits the dmabuf in src onto the one in dst.
- */
-bool wlr_renderer_blit_dmabuf(struct wlr_renderer *r,
- struct wlr_dmabuf_attributes *dst, struct wlr_dmabuf_attributes *src);
-/**
* Creates necessary shm and invokes the initialization of the implementation.
*
* Returns false on failure.