mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-17 06:59:43 -05:00
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).
This commit is contained in:
parent
1c10079a67
commit
1cdef8da57
4 changed files with 0 additions and 100 deletions
|
|
@ -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);
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -114,11 +114,6 @@ bool wlr_renderer_read_pixels(struct wlr_renderer *r, uint32_t fmt,
|
|||
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);
|
||||
|
||||
/**
|
||||
* 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.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue