From c4915d149289683b6a3b8c836ba5591a8973baba Mon Sep 17 00:00:00 2001 From: emersion Date: Thu, 12 Jul 2018 23:35:33 +0100 Subject: render: add wlr_texture_is_opaque --- include/wlr/render/interface.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/wlr/render/interface.h') diff --git a/include/wlr/render/interface.h b/include/wlr/render/interface.h index 1b138ea3..f4565ad5 100644 --- a/include/wlr/render/interface.h +++ b/include/wlr/render/interface.h @@ -56,6 +56,7 @@ void wlr_renderer_init(struct wlr_renderer *renderer, struct wlr_texture_impl { void (*get_size)(struct wlr_texture *texture, int *width, int *height); + bool (*is_opaque)(struct wlr_texture *texture); bool (*write_pixels)(struct wlr_texture *texture, enum wl_shm_format wl_fmt, uint32_t stride, uint32_t width, uint32_t height, uint32_t src_x, uint32_t src_y, uint32_t dst_x, -- cgit v1.2.3