mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-16 08:56:26 -05:00
render: add wlr_texture_is_opaque
This commit is contained in:
parent
d8bbdf3bd5
commit
c4915d1492
4 changed files with 19 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue