mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-04 13:29:45 -05:00
render/texture: introduce wlr_texture_invalidate
This commit is contained in:
parent
5c699f09cb
commit
a3a85a9aed
3 changed files with 30 additions and 0 deletions
|
|
@ -67,6 +67,7 @@ struct wlr_texture_impl {
|
|||
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,
|
||||
const void *data);
|
||||
bool (*invalidate)(struct wlr_texture *texture);
|
||||
void (*destroy)(struct wlr_texture *texture);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue