mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
wlr_texture: Introduce wlr_texture_read_pixels
This commit is contained in:
parent
a165261f7f
commit
4c6caa7c48
3 changed files with 28 additions and 0 deletions
|
|
@ -52,6 +52,8 @@ void wlr_renderer_init(struct wlr_renderer *renderer,
|
|||
struct wlr_texture_impl {
|
||||
bool (*update_from_buffer)(struct wlr_texture *texture,
|
||||
struct wlr_buffer *buffer, const pixman_region32_t *damage);
|
||||
bool (*read_pixels)(struct wlr_texture *texture,
|
||||
const struct wlr_texture_read_pixels_options *options);
|
||||
void (*destroy)(struct wlr_texture *texture);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue